Hi Armin,
On 27/02/2020 05.26, Armin Kuster wrote:
This option allows for the inclusion of a single directory
for a partition.
I am unsure how this is used in a .wks file.
From the code it looks similar to the include-path option, but relative
to the rootfs source dir instead of the wic work
Hi,
On 19/02/2020 16.23, Richard Purdie wrote:
Add an option to avoid builds depending on the presence of setcap
from the host system.
Signed-off-by: Richard Purdie
---
.../gstreamer/gstreamer1.0/capfix.patch | 37 +++
.../gstreamer/gstreamer1.0_1.16.1.bb | 2
On 06/02/2020 01.57, Jaewon Lee wrote:
When moving to python3, divison using '/' now returns float instead of
an integer. In upstream commit b8025e972081b70960ffcbcbe43a7118041556a1
sstate filenames longer than the limit are changed to just include
necessary info + 3 fields just for informatio
n run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['file', '-b',
'build/tmp-glibc/work/iwg26-oe-linux-gnueabi/base-files/3.0.14-r89/package/etc/skel/.bashrc']'
died with .
Signed-off-by: Martin Hundebøll
On 18/10/2019 23.28, Richard Purdie wrote:
On Fri, 2019-10-18 at 18:03 +0530, Khem Raj wrote:
On Fri, Oct 18, 2019 at 4:58 PM Ross Burton
wrote:
file will automatically enable seccomp if the seccomp headers are
available, but
the build will fail on Opensuse Tumbleweed because the include
pat
On 10/07/2019 16.28, Richard Purdie wrote:
On Wed, 2019-07-10 at 15:27 +0100, richard.pur...@linuxfoundation.org
wrote:
On Wed, 2019-07-10 at 10:21 -0400, Bruce Ashfield wrote:
On Wed, Jul 10, 2019 at 10:15 AM Martin Hundebøll <
mar...@geanix.com>
Nope, I haven't seen that. But
Hi Bruce,
On 30/05/2019 14.44, bruce.ashfi...@gmail.com wrote:
From: Bruce Ashfield
Signed-off-by: Bruce Ashfield
---
meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb
b/meta/recipe
Hi,
On 02/07/2019 16.13, Joshua Watt wrote:
For detecting malicous binaries not built from the claimed sources 1. is
sufficient. For distributions like Debian that build natively this is
even the only option available since the host compiler is used.
Doing 2. would of course be more desirable,
Hi,
On 15/05/2019 08.42, Haiqing Bai wrote:
If 'cron' is added into PACKAGECONFIG, for sysvinit, the related
cron scripts will be installed; for systemd, the services of
data collect and summary will be installed.
Signed-off-by: Haiqing Bai
---
meta/recipes-extended/sysstat/sysstat.inc | 4 +
he email address seen by patchwork is the same for everyone with
either "reject" or "quarantine" as DMARC policy. I guess patchwork has
that address associated with Andrii (maybe he came first).
More info from mailman: https://wiki.list.org/DEV/DMARC
--
Kind regards,
Martin
Hi Luca,
On 10/05/2019 12.45, Luca Boccassi wrote:
On Fri, 2019-05-10 at 07:23 +0200, Martin Hundebøll wrote:
Hi Luca,
On 09/05/2019 23.40,
luca.bocca...@gmail.com
wrote:
From: Luca Boccassi <
luca.bocca...@microsoft.com
portable services have been declared production ready with v
g.freedesktop.portable1.policy \
"
RRECOMMENDS_${PN}-container += "\
--
Kind regards,
Martin Hundebøll
Embedded Linux Consultant
+45 61 65 54 61
mar...@geanix.com
Geanix ApS
https://geanix.com
DK39600706
--
___
Ope
"19d8bcf49ef530cd4e364a45b4a22fa70714b70349c8100e7308488e26f1eaf1"
--
2.7.4
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
<mailto:Openembedded-core@lists.openembedded.or
nc
b/meta/recipes-devtools/ccache/ccache.inc
index 6566328..259c196 100644
--- a/meta/recipes-devtools/ccache/ccache.inc
+++ b/meta/recipes-devtools/ccache/ccache.inc
@@ -9,6 +9,8 @@ LICENSE = "GPLv3+"
DEPENDS = "zlib"
+DEPENDS_class-native = "${CCACHE_NATIVE_DEPENDS}"
+
cflags lines, and use
those when generating buildinfo.h.
This is based on a similar patch for older openssl versions:
https://patchwork.openembedded.org/patch/147229/
Signed-off-by: Martin Hundebøll
Signed-off-by: Richard Purdie
---
...sysroot-and-debug-prefix-map-from-co.patch | 70
The busybox.link.* files are generated from autoconf.h and applets.h,
which are both auto-generated by the build system. The contents of the
two files might be in different order, and so the link files are not
reproducble as is.
Fix this by sorting the lists using `sort`.
Signed-off-by: Martin
rough config.h, the build becomes
inreproducible.
Fix reproducibility by hard-coding the shell to be /bin/sh
Signed-off-by: Martin Hundebøll
Signed-off-by: Richard Purdie
---
meta/recipes-extended/shadow/shadow.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-extended/s
/recipes-navigation/gpsd/gpsd_3.17.bb
Mixxx (has QA issues I am trying to fix) is the one on which I found
out that rebuild is not performed in case recipes are changed on which
mixxx depends on.
So yes I consider this class useful :)
[1]
https://github.com/schnitzeltony/meta-mortsgna/blob/master/recip
The busybox.link.* files are generated from autoconf.h and applets.h,
which are both auto-generated by the build system. The contents of the
two files might be in different order, and so the link files are not
reproducble as is.
Fix this by sorting the lists using `sort`.
Signed-off-by: Martin
cflags lines, and use
those when generating buildinfo.h.
This is based on a similar patch for older openssl versions:
https://patchwork.openembedded.org/patch/147229/
Signed-off-by: Martin Hundebøll
---
Changes since v1:
- rebased on current master
...sysroot-and-debug-prefix-map-from-co.patch
rough config.h, the build becomes
inreproducible.
Fix reproducibility by hard-coding the shell to be /bin/sh
Signed-off-by: Martin Hundebøll
---
Changes since v1:
- changed hard-coded path from /bin/bash to /bin/sh
meta/recipes-extended/shadow/shadow.inc | 2 ++
1 file changed, 2 insertions(+)
cflags lines, and use
those when generating buildinfo.h.
This is based on a similar patch for older openssl versions:
https://patchwork.openembedded.org/patch/147229/
Signed-off-by: Martin Hundebøll
---
...sysroot-and-debug-prefix-map-from-co.patch | 70 +++
.../openssl/openssl_1.1.1
rough config.h, the build becomes
inreproducible.
Fix reproducibility by hard-coding the shell to be /bin/bash
Signed-off-by: Martin Hundebøll
---
I wasn't whether to use /bin/bash or /bin/sh; comments are welcome...
meta/recipes-extended/shadow/shadow.inc | 2 ++
1 file changed, 2 insertion
Hi Armin,
On 06/11/2018 20.41, akuster808 wrote:
Martin,
On 11/6/18 2:04 AM, Martin Hundebøll wrote:
Play the whack-a-mole game and add the .file directive to another
assembly file that otherwise shows itself in ld-2.28.so debug file,
which in turns alters the build-id of ld-2.28.so on
Play the whack-a-mole game and add the .file directive to another
assembly file that otherwise shows itself in ld-2.28.so debug file,
which in turns alters the build-id of ld-2.28.so on target.
Signed-off-by: Martin Hundebøll
---
Changes since v1:
- Added signed-of-by tag
.../0034-inject
Play the whack-a-mole game and add the .file directive to another
assembly file that otherwise shows itself in ld-2.28.so debug file,
which in turns alters the build-id of ld-2.28.so on target.
---
.../0034-inject-file-assembly-directives.patch | 13 +
1 file changed, 13 insertion
`dirname ${D}${systemd_unitdir}`
+ rmdir ${D}${prefix}/lib --ignore-fail-on-non-empty
+
+ # Ensure correct ownership for files copied in
+ chown root.root ${D}${sysconfdir}/stap-exporter/* -R
root:root ?
}
BBCLASSEXTEND = "nativesdk"
--
Kind regards,
Martin Hundebøll
Embedd
) {
+ ( ln -sf ${PWD}/brcmfmac43430-sdio.MUR1DX.txt
${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.txt)
... assuming PWD is available to the recipe. There will be a proper
Yocto variable I can use, of course, but I c
rlf_to_lf after do_unpack before do_patch
--
Kind regards,
Martin Hundebøll
Embedded Linux Consultant
+45 61 65 54 61
mar...@geanix.com
Geanix IVS
https://geanix.com
DK39600706
--
___
Openembedded-core mailing list
Openembedded-core@lists.openem
Hi Andre,
On 15/08/2018 21.47, Andre McCurdy wrote:
On Wed, Aug 15, 2018 at 4:59 AM, Martin Hundebøll wrote:
When the read-only-rootfs image feature is enabled, and openssh is
installed into an image, the ssh daemon is reconfigured to use
/var/run/ssh when generating host keys.
Fix up the
When the read-only-rootfs image feature is enabled, and openssh is
installed into an image, the ssh daemon is reconfigured to use
/var/run/ssh when generating host keys.
Fix up the creation of the volatile dir to actually match what sshd is
configured to.
Signed-off-by: Martin Hundebøll
Hi Hongzhi,
I think duplicating all of 'automount' when the only difference is the
call to 'mount' is unnecessary.
It should be possible to check for system inside the existing
'automount' (see diff below).
When reading the script I couldn't help cleaning up the special
treatment of mount
From: Ross Burton
(From OE-Core rev: 910f68c9c8dc26e12d28ef29e956af63d100f121)
Signed-off-by: Ross Burton
Signed-off-by: Khem Raj
Signed-off-by: Ross Burton
Signed-off-by: Richard Purdie
Signed-off-by: Martin Hundebøll
---
.../python/python-native_2.7.14.bb| 1 +
.../python
/var/tmp -> /var/volatile/tmp
> /etc/resolv.conf -> /var/run/resolv.conf -> /run/resolv.conf
Fix the warnings by removing the '-f' option, so that the test matches
the configuration.
Signed-off-by: Martin Hundebøll
---
.../initscripts/initscripts-1.0/populate-volatile.sh
/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz
file://remove-srcdir-from-configure-in.patch \
file://0002-Add-nios2-support.patch \
file://0001-md-Fix-build-with-musl.patch \
+ file://0003-Add-type-definitions-for-the-RISC-V-architecture.patch \
On 2018-03-22 14:44, Rasmus Villemoes wrote:
image_types_wic.bbclass has a mechanism for doing variable substitution
on .wks files by simply letting the input file be called
.wks.in. However, that doesn't allow using variables in files included
via the include directive.
This adds (somewhat naiv
;
arch = "${UBOOT_ARCH}";
compression = "none";
+ ${dtb_loadline}
hash@1 {
algo = "${dtb_csum}";
};
--
Kind rega
dnssec-coverage ${D}${sbindir}/dnssec-checkds
+ sed -i -e '1s,#!.*python,#! /usr/bin/python3,'
${D}${sbindir}/dnssec-coverage ${D}${sbindir}/dnssec-checkds
# Install systemd related files
install -d ${D}${sbindir}
@@ -120,4 +120,3 @@ CONFFILES_${PN} = " \
.
Because of the newly added dependency on meta-python, the python(3)
packageconfig is no longer "default-on".
Signed-off-by: Martin Hundebøll
LIC_FILES_CHKSUM changed do to updated year
Requires python-ply package in core
removed:
dont-test-on-host.patch, no longer impliemented
drop u
g list
Openembedded-core@lists.openembedded.org
<mailto:Openembedded-core@lists.openembedded.org>
http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
MARTIN HUNDEBØLL, Prevas A/S
Software Developer
Hedeager 3, DK-8200 Aarhus N
Phone +45 87438070
Mobi
On April 30, 2018 7:25:10 PM GMT+02:00, Marek Vasut wrote:
>On 04/30/2018 02:17 PM, Alexander Kanavin wrote:
>> On 04/16/2018 11:40 AM, Marek Vasut wrote:
Isn't it possible to solve your issue in the OE side?
>>>
>>> Can we NOT compile DTC alongside U-Boot somehow ? :)
>>> That'd be th
Hi Lukasz,
On 2018-04-27 16:51, Lukasz Majewski wrote:
This commit provides the ability to generate u-boot environment(s) as
images, which afterwards can be used to produce image (with wic) for
flashing (eMMC or SPI-NOR).
This change removes the need to run "env default" during production phase
on the host, as the makerule
checked if python could already import pylibfdt. This check is now removed.
Or am I missing something?
// Martin
-Original Message-
From: Marek Vasut [mailto:ma...@denx.de]
Sent: Tuesday, April 10, 2018 6:55 PM
To: Martin Hundebøll ; Khem Raj
Cc:
Hi,
I had to patch up our own u-boot recipe as shown in the attached patch
to make v2018.03 compile for qemu-x86.
The thing is that the build of pylibfdt became unconditional since
15b97f5c5e ('pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and
refactor makefile')
In my case u-boot/pylibf
Acked-by: Martin Hundebøll
Thanks Nathan; this could be very useful for us.
// Martin
On 2018-04-05 12:48, Nathan Rossi wrote:
This bbclass implements the device tree compilation for user provided
device trees. In order to use this class, it should be inherited in a
BSP recipe which provides
Hi Andre,
On 2018-03-13 00:19, Andre McCurdy wrote:
Currently if KERNEL_IMAGETYPES contains both vmlinux and vmlinux.gz,
KERNEL_IMAGETYPE_FOR_MAKE will end up containing two copies of
vmlinux, which will result in two calls to "make vmlinux" from
kernel_do_compile().
Avoid duplicating vmlinux i
Hi Vineeth,
On 2018-03-07 15:41, Vineeth Chowdary Karumanchi wrote:
This patch deploys fitImage (linux.bin + dtb ).
The use case is to have 2 partioned sd card, with
FAT partition having bootloader + fitImage and
ext4 partion having rootfs.
Signen-off-by: Vineeth Chowdary Karumanchi
---
meta
From: Martin Hundeboll
Break the hard runtime dependency on python3-core by adding a
(default-on) packageconfig option for python.
Signed-off-by: Martin Hundebøll
---
Changes in v2:
- Remove broken and unneeded build-dependency on python3(-core)
meta/recipes-connectivity/bind/bind_9.10.6
Ping
On 2018-02-05 13:25, Martin Hundebøll wrote:
Break the hard runtime dependency on python3-core by adding a
(default-on) packageconfig option for python.
Signed-off-by: Martin Hundebøll
---
meta/recipes-connectivity/bind/bind_9.10.6.bb | 14 ++
1 file changed, 10 insertions
On 2018-02-05 13:49, Richard Purdie wrote:
On Mon, 2018-02-05 at 13:25 +0100, Martin Hundebøll wrote:
Break the hard runtime dependency on python3-core by adding a
(default-on) packageconfig option for python.
Signed-off-by: Martin Hundebøll
---
meta/recipes-connectivity/bind/bind_9.10.6
on package, and make it
runtime depend on python3-core.
Make the script usable by replacing the shebang with a direct call to
${bindir}/python3.
Signed-off-by: Martin Hundebøll
---
meta/recipes-bsp/usbutils/usbutils_009.bb | 8
1 file changed, 8 insertions(+)
diff --git a/meta/recip
Break the hard runtime dependency on python3-core by adding a
(default-on) packageconfig option for python.
Signed-off-by: Martin Hundebøll
---
meta/recipes-connectivity/bind/bind_9.10.6.bb | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/meta/recipes
Acked-by: Martin Hundebøll
On 2018-01-26 10:56, Kristian Amlie wrote:
This is a direct followup from the earlier 6602392db3d39 commit in
wic. It works more or less the same way: The variable specifies a list
of directories relative to the root of the rootfs, and these
directories will be
_orig".
+
#
# Compute the rootfs size
#
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index c736f92..8cd8fd5 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@
The order of '_append' and '_' matters: '_append' must be
before overrides to have any effect.
Fix this in glib-2.0, so that EXTRA_OECONF is appended instead of
overwritten.
Signed-off-by: Martin Hundebøll
---
meta/recipes-core/glib-2.0/glib.inc | 2 +-
1 f
Hi Armin,
Any idea about when this will land in the rocko branch?
Thanks,
Martin
On 2017-12-11 08:12, Martin Hundebøll wrote:
The '--label' argument should work for '--source rawcopy' as it does for
'--source rootfs', so add a method in RawCopyPlugin to upd
uuid(d)
+ uuid = d.getVar('DISK_SIGNATURE_UUID', True)
string = string.replace(UUID_PLACEHOLDER, uuid)
return string
+
+DISK_SIGNATURE_UUID ?= "${@get_rootfs_uuid(d)}"
--
MARTIN HUNDEBØLL, Prevas A/S
Software Developer
Hedeager 3, DK-8200 Aarhus N
P
On 2017-12-11 12:45, Otavio Salvador wrote:
On Mon, Dec 11, 2017 at 3:30 AM, Kevin Hao wrote:
On Sun, Dec 10, 2017 at 10:53:43PM -0200, Otavio Salvador wrote:
On Sat, Dec 9, 2017 at 12:45 AM, Kevin Hao wrote:
Some firmwares are critical for the basic functions of the board, and may
be used
The '--label' argument should work for '--source rawcopy' as it does for
'--source rootfs', so add a method in RawCopyPlugin to update the label
on the temporary filesystem images.
Signed-off-by: Martin Hundebøll
Signed-off-by: Ross Burton
---
Hi Armin,
Please co
The '--label' argument should work for '--source rawcopy' as it does for
'--source rootfs', so add a method in RawCopyPlugin to update the label
on the temporary filesystem images.
Signed-off-by: Martin Hundebøll
---
scripts/lib/wic/plugins/source/rawcopy.py | 22
ervice
name, so that parts before '@' and after teh last '.' are used as base
name.
Signed-off-by: Martin Hundebøll
---
meta/classes/systemd.bbclass | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbc
On 2017-11-16 12:49, Dogukan Ergun wrote:
Docker's aufs filesystem doesn't support file ioctl operations like FIGETBSZ
or FIEMAP.
Sparse_copy operation will fail if those ioctls are not supported.
If sparse_copy fails while generating wic images, fallback to dd for copying
filesystems on final
Hi,
On 2017-11-15 12:08, Alexander Kanavin wrote:
The original recipe has been provided and improved by:
Ross Burton
Ricardo Ribalda Delgado
Adam C. Foltzer
Peter Kjellerstedt
Linus Svensson
I have added a couple patches to fix up gtk-doc and
gobject-introspection in cross-compilation env
id = True
if d.getVar('MACHINE'):
+status.addresult(check_name_uppercase('MACHINE', d.getVar('MACHINE')))
if not check_conf_exists("conf/machine/${MACHINE}.conf", d):
status.addresult('MACHINE=%s is invalid. Please set a
From: Gerson Fernando Budke
When selected multiple subimages a similar error could happend:
Variable do_image_cpio[subimages] value changed \
from 'cpio.gz.u-boot cpio.gz' to 'cpio.gz cpio.gz.u-boot'
To avoid this, 'ctypes' should be sorted at 'gen_conversion_cmds'.
This garantee that 'CON
sorted at 'gen_conversion_cmds'.
This garantee that 'CONVERSION_CMD_xxx' are always written in tha same
order and consequently 'do_image_cpio' have the same hash.
Signed-off-by: Gerson Fernando Budke
Tested-by: Martin Hundebøll
---
meta/classes/image.bbclass
Hi Tom,
On 2017-07-22 00:06, Tom Rini wrote:
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index de535ce6fcff..bd6a5b7b810a 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -453,7 +453,7 @@ python () {
rm_tmp_images = set()
de
On 2017-09-15 20:20, Martin Hundebøll wrote:
On 2017-09-15 14:16, Tom Rini wrote:
This commit has resulted in more or less persistent basehash issues
for my cpio.gz.u-boot image:
ERROR: When reparsing
/home/mnhu/projects/pil/yocto/meta-pil/recipes-filesystems/rescue-rootfs.bb.do_image_cpio
duce with the following:
- Ubuntu 16.04 based on the attached Dockerfile
- A clean clone of poky (commit 072430b9b3)
- meta, meta-poky, and meta-yocto-bsp (see build-config.log)
- beaglebone machine and gpio.gz.u-boot image type (see local.conf)
// Martin
FROM ubuntu:16.04
MAINTAINER Mar
by setting RDEPEND_kernel-base = "".
Revert the patch, as the existing way of omitting kernel-image in images
works just fine.
Signed-off-by: Martin Hundebøll
---
Changes in v2:
* Added signed-of-by line
---
meta/classes/kernel-module-split.bbclass | 7 +--
1 file changed, 1 inser
On 2017-09-11 11:26, Richard Purdie wrote:
On Mon, 2017-09-11 at 09:02 +0200, Martin Hundebøll wrote:
On 2017-09-08 23:29, Paul Barker wrote:
On Fri, Sep 8, 2017 at 10:07 PM, Martin Hundebøll
wrote:
No, you'd need it to be set in a conf file so it takes effect when
the
kernel
This reverts commit e0ed52c51464855e9a6a37ea49df7efde7e91076.
Commit e0ed52c514 ('kernel-module-split: rrecommend kernel-image instead
of rdepend') changed kernel modules to rrecommend kernel-image instead
of rdepend on kernel. This broke existing setups, where the kernel is
omitted by setting RDE
On 2017-09-08 23:29, Paul Barker wrote:
On Fri, Sep 8, 2017 at 10:07 PM, Martin Hundebøll
wrote:
On September 8, 2017 10:37:26 PM GMT+02:00, Denys Dmytriyenko
wrote:
On Fri, Sep 08, 2017 at 09:06:17PM +0100, Paul Barker wrote:
This breaks the method described in the kernel dev FAQ to
on it, makes it possible to install kernel modules without
the kernel image by setting "kernel-image" in BAD_RECOMMENDATIONS.
Signed-off-by: Martin Hundebøll
---
meta/classes/kernel-module-split.bbclass | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/meta/clas
on it, makes it possible to install kernel modules without
the kernel image by setting "kernel-image" in BAD_RECOMMENDATIONS.
Signed-off-by: Martin Hundebøll
---
meta/classes/kernel-module-split.bbclass | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/meta/clas
this oneliner:
git grep -lE '^#!/usr/bin/python' | xargs \
sed -i 's|/usr/bin/python|/usr/bin/env python|'
Signed-off-by: Martin Hundebøll
---
bitbake/lib/progressbar.py| 2 +-
scripts/lib/wic/conf.py
l we would like to make the lifes easier for those unfortunate souls
that live in a python3-first world/distro :)
Thanks for the previous comments!
Martin Hundebøll (1):
scripts: use '/usr/bin/env' in shebangs with python
bitbake/lib/progressbar.py| 2
this oneliner:
git grep -lE '^#!/usr/bin/python' | xargs \
sed -i 's|/usr/bin/python|/usr/bin/env python|'
Signed-off-by: Martin Hundebøll
---
bitbake/lib/progressbar.py| 2 +-
scripts/lib/wic/conf.py
, if a
compatible version is found, creates a symlink in ./bitbate/bin/python
Comments/suggestions are welcome!
Martin Hundebøll (2):
scripts: use '/usr/bin/env' in shebangs with python
scripts: modify environment to use python2 instead
bitbake/lib/progressbar.py
compatible version is found, an error is printed and
oe-init-build-env fails.
Signed-off-by: Martin Hundebøll
---
scripts/oe-buildenv-internal | 30 ++---
scripts/python-env.sh| 46
2 files changed, 56 insertions(+), 20
Hi Paul,
On 2014-10-29 14:05, Paul Barker wrote:
On 29 October 2014 11:18, Martin Hundebøll wrote:
As distributions start moving to python3, scripts should explicity
request python2 in the shebang. This patch changes all occurences of
#!/usr/bin/python and #!/usr/bin/env python
to
especially expect problems on older Ubuntu/Debian
releases, which didn't ship with the /usr/bin/python2 symlink by default.
// Martin
Martin Hundebøll (2):
scripts: use python2 explicitly in shebangs
meta: rm __pycache__ in glib.inc::do_install_append()
bitbake/bin/bi
ython3/!s/\/usr\/bin\/env \
python(.*)/\/usr\/bin\/env \
python2\1/;/python3/!s/\/usr\/bin\/python(.*)/\
\/usr\/bin\/env python2\1/'
[2] https://wiki.ubuntu.com/Python/3
Signed-off-by: Martin Hundebøll
---
bitbake/bin/bitbake | 2 +-
bit
Fix this by removing the
__pycache__ folder during do_install_append(), as is done with *.pyc and
*.pyo.
Signed-off-by: Martin Hundebøll
---
meta/recipes-core/glib-2.0/glib.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/glib-2.0/glib.inc
b/meta/recipes-core/glib-2.0/glib.
84 matches
Mail list logo