[OE-core] [RFC 2/2] meta: rm __pycache__ in glib.inc::do_install_append()

2014-10-29 Thread Martin Hundebøll
this by removing the __pycache__ folder during do_install_append(), as is done with *.pyc and *.pyo. Signed-off-by: Martin Hundebøll mar...@hundeboll.net --- 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

[OE-core] [RFC 0/2] Explicit use of python 2

2014-10-29 Thread Martin Hundebøll
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/bitbake

[OE-core] [RFC 1/2] scripts: use python2 explicitly in shebangs

2014-10-29 Thread Martin Hundebøll
\ 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 mar...@hundeboll.net --- bitbake/bin/bitbake | 2 +- bitbake/bin

Re: [OE-core] [RFC 1/2] scripts: use python2 explicitly in shebangs

2014-10-29 Thread Martin Hundebøll
Hi Paul, On 2014-10-29 14:05, Paul Barker wrote: On 29 October 2014 11:18, Martin Hundebøll mar...@hundeboll.net 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

[OE-core] [RFCv2 2/2] scripts: modify environment to use python2 instead

2014-10-30 Thread Martin Hundebøll
. If no compatible version is found, an error is printed and oe-init-build-env fails. Signed-off-by: Martin Hundebøll mar...@hundeboll.net --- scripts/oe-buildenv-internal | 30 ++--- scripts/python-env.sh| 46 2 files changed

[OE-core] [RFCv2 0/2] Support systems with python3 as default

2014-10-30 Thread Martin Hundebøll
and, 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 | 2

[OE-core] [RFCv2 1/2] scripts: use '/usr/bin/env' in shebangs with python

2014-10-30 Thread Martin Hundebøll
with 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 mar...@hundeboll.net --- bitbake/lib/progressbar.py| 2 +- scripts/lib/wic/conf.py

[OE-core] [PATCH] Use env in python-shebangs

2014-10-31 Thread Martin Hundebøll
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 +- scripts/lib/wic

[OE-core] [PATCH] scripts: use '/usr/bin/env' in shebangs with python

2014-10-31 Thread Martin Hundebøll
with 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 mar...@hundeboll.net --- bitbake/lib/progressbar.py| 2 +- scripts/lib/wic/conf.py

Re: [OE-core] [PATCH] image: Fix "metadata is not deterministic" when chaining 2+ CONVERSION_CMDs

2017-09-15 Thread Martin Hundebøll
eproduce 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 Martin Hund

Re: [OE-core] [PATCH] image: Fix "metadata is not deterministic" when chaining 2+ CONVERSION_CMDs

2017-09-19 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH 1/2] image.bbclass: Correct chaining compression support

2017-09-19 Thread Martin Hundebøll
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()

Re: [OE-core] [PATCH] image.bbclass: Sorted ctypes to avoid basehash error

2017-09-20 Thread Martin Hundebøll
'. 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 <nando...@gmail.com> Tested-by: Martin Hundebøll <m...@prevas.dk> --- meta/classes/image.bbclass | 2 +- 1

[OE-core] [pyro][PATCH] image.bbclass: Sorted ctypes to avoid basehash error

2017-09-21 Thread Martin Hundebøll
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'.

Re: [OE-core] [PATCH v2] kernel-module-split: rrecommend kernel-image instead of rdepend

2017-09-11 Thread Martin Hundebøll
On 2017-09-08 23:29, Paul Barker wrote: On Fri, Sep 8, 2017 at 10:07 PM, Martin Hundebøll <martin.hundeb...@prevas.dk> wrote: On September 8, 2017 10:37:26 PM GMT+02:00, Denys Dmytriyenko <de...@denix.org> wrote: On Fri, Sep 08, 2017 at 09:06:17PM +0100, Paul Barker wrote:

Re: [OE-core] [PATCH v2] kernel-module-split: rrecommend kernel-image instead of rdepend

2017-09-11 Thread Martin Hundebøll
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 <martin.hundeb...@prevas.dk> wrote: No, you'd need it to be set in a conf file so it

[OE-core] [PATCHv2] Revert "kernel-module-split: rrecommend kernel-image instead of rdepend"

2017-09-11 Thread Martin Hundebøll
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 <m...@prevas.dk> --- Changes in v2: * Added signed-of-by line --- meta/classes/kernel-module-split.bbclass | 7 +-- 1 file chan

[OE-core] [PATCH] Revert "kernel-module-split: rrecommend kernel-image instead of rdepend"

2017-09-11 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH] sanity.bbclass: uppercase check for machine and distro

2017-09-24 Thread Martin Hundebøll
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 valid MACHINE in your local.conf, environment or other configuratio

[OE-core] [PATCH v2] kernel-module-split: rrecommend kernel-image instead of rdepend

2017-08-21 Thread Martin Hundebøll
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 <m...@prevas.dk> --- meta/classes/kernel-module-split.bbclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) d

[OE-core] [PATCH] kernel-module-split: rrecommend kernel-image instead of rdepend

2017-08-21 Thread Martin Hundebøll
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 <m...@prevas.dk> --- meta/classes/kernel-module-split.bbclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) d

[OE-core] [PATCH] wic: support filesystem label for rawcopy

2017-11-28 Thread Martin Hundebøll
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 <m...@prevas.dk> --- scripts/lib/wic/plugins/source/rawcopy.p

[OE-core] [PATCH] systemd: allow dots in arguments to template units

2017-11-23 Thread Martin Hundebøll
parts before '@' and after teh last '.' are used as base name. Signed-off-by: Martin Hundebøll <m...@prevas.dk> --- meta/classes/systemd.bbclass | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass inde

Re: [OE-core] [PATCH RFC 01/18] fs-uuid.bbclass: rewrite get_fs_uuid function

2017-12-20 Thread Martin Hundebøll
ring = 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 Phone +45 87438070 Mobile +45 25562438 martin.hundeb...@prevas.dk www.prevas.com -

Re: [OE-core] [PATCH] wic: fallback to dd, if sparse_copy does not work

2017-11-16 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH 1/7] meson: add a recipe and class from meta-oe

2017-11-15 Thread Martin Hundebøll
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

[OE-core] [PATCH][rocko] wic: support filesystem label for rawcopy

2017-12-10 Thread Martin Hundebøll
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 <m...@prevas.dk> Signed-off-by: Ross Burton <ross.bur...@intel.com> -

Re: [OE-core] [PATCH 2/2] wic: plugins: rawcopy: Add support to download the raw image from a http server

2017-12-11 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH 0/2] bind update req. new pkg in core

2018-05-22 Thread Martin Hundebøll
Openembedded-core mailing 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 M

Re: [OE-core] [v2][PATCH] bind: update to 9.12.1

2018-05-23 Thread Martin Hundebøll
. Because of the newly added dependency on meta-python, the python(3) packageconfig is no longer "default-on". Signed-off-by: Martin Hundebøll <m...@prevas.dk> LIC_FILES_CHKSUM changed do to updated year Requires python-ply package in core removed: dont-test-on-host.patch, no lon

Re: [OE-core] [OE-Core][PATCH 1/2] kernel-fitimage: Allow setting of DTB/DTBO relocation address

2018-06-18 Thread Martin Hundebøll
arch = "${UBOOT_ARCH}"; compression = "none"; +${dtb_loadline} hash@1 { algo = "${dtb_csum}"; }; -- Kind regards, Martin Hun

Re: [OE-core] [PATCH] [PATCH] [PATCH] bind:9.10.6 -> 9.10.7

2018-06-06 Thread Martin Hundebøll
${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} = " \ ${sysconfdir}/bind/db.loca

Re: [OE-core] [PATCH] u-boot: Upgrade to 2018.03 release

2018-04-30 Thread Martin Hundebøll
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 ? :)

Re: [OE-core] [PATCH] u-boot: Add {gen|deploy}_default_envs tasks to generate environment images

2018-04-30 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH v8] do_image: Implement IMAGE_ROOTFS_EXCLUDE_PATH feature.

2018-01-26 Thread Martin Hundebøll
Acked-by: Martin Hundebøll <m...@prevas.dk> 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

[OE-core] [PATCH] glib-2.0: fix EXTRA_OECONF append for PTEST

2018-01-17 Thread Martin Hundebøll
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 <m...@prevas.dk> --- meta/recipes-core/glib-2.0/glib.inc | 2 +- 1 file chan

Re: [OE-core] [PATCH v7] do_image: Implement IMAGE_ROOTFS_EXCLUDE_PATH feature.

2018-01-25 Thread Martin Hundebøll
wic.bbclass @@ -34,6 +34,7 @@ IMAGE_CMD_wic () { rm -rf "$out/" } IMAGE_CMD_wic[vardepsexclude] = "WKS_FULL_PATH WKS_FILES TOPDIR" +do_image_wic[respect_exclude_path] = "0" # Rebuild when the wks file or vars in WICVARS change USING_WIC = "$

[OE-core] [PATCH] usbutils: Split out lsusb.py

2018-02-05 Thread Martin Hundebøll
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 <m...@prevas.dk> --- meta/recipes-bsp/usbutils/usbutils_009.bb | 8 1 file changed, 8 insertions(+) diff --gi

[OE-core] [PATCH] bind: add packageconfig for python-support

2018-02-05 Thread Martin Hundebøll
Break the hard runtime dependency on python3-core by adding a (default-on) packageconfig option for python. Signed-off-by: Martin Hundebøll <m...@prevas.dk> --- meta/recipes-connectivity/bind/bind_9.10.6.bb | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git

Re: [OE-core] [PATCH] bind: add packageconfig for python-support

2018-02-05 Thread Martin Hundebøll
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 <m...@prevas.dk> ---  meta/recipes-connec

Re: [OE-core] [PATCH] bind: add packageconfig for python-support

2018-02-13 Thread Martin Hundebøll
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 <m...@prevas.dk> --- meta/recipes-connectivity/bind/bind_9.10.6.bb | 14 ++

[OE-core] [PATCH v2] bind: add packageconfig for python-support

2018-02-22 Thread Martin Hundebøll
From: Martin Hundeboll <m...@prevas.dk> Break the hard runtime dependency on python3-core by adding a (default-on) packageconfig option for python. Signed-off-by: Martin Hundebøll <m...@prevas.dk> --- Changes in v2: - Remove broken and unneeded build-dependency on python3(-core)

Re: [OE-core] [PATCH][rocko] wic: support filesystem label for rawcopy

2018-01-02 Thread Martin Hundebøll
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 update the label on the temporary

Re: [OE-core] [PATCH] wic: allow bitbake variables in kickstarter files

2018-06-21 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH v2 2/2] recipes-support/nspr: Add RISC-V support

2018-06-21 Thread Martin Hundebøll
/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 \

Re: [OE-core] [oe-core][PATCH v4 1/3] udev-extraconf/mount.sh: add support to systemd

2018-08-02 Thread 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

[OE-core] [PATCH][sumo] python2: Fix build with gcc8

2018-07-30 Thread Martin Hundebøll
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

[OE-core] [PATCH] openssh: fix wrong volatile dir for sshd host keys on read-only rootfs

2018-08-15 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH] openssh: fix wrong volatile dir for sshd host keys on read-only rootfs

2018-08-16 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH 4/9] dos2unix.bbclass: Move to oe-core

2018-08-20 Thread Martin Hundebøll
o_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.openembedde

Re: [OE-core] [RFC 3/3] linux-firmware: MACHINEOVERRIDES for BCM43430 NVRAM

2018-08-23 Thread Martin Hundebøll
dir}/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 can't think of it right now. Either way, Martin's example doesn't work for me. And a

[OE-core] [PATCH] initscripts: remove warnings on read-only-rootfs (again)

2018-07-13 Thread Martin Hundebøll
/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| 2 +- 1 file cha

Re: [OE-core] [PATCH] kernel-fitimage.bbclass: Deploy fitImage without Initramfs

2018-03-07 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH] kernel.bbclass: avoid duplicates in KERNEL_IMAGETYPE_FOR_MAKE

2018-03-13 Thread Martin Hundebøll
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

Re: [OE-core] [RFC PATCH] devicetree.bbclass: User/BSP device tree source compilation class

2018-04-06 Thread Martin Hundebøll
Acked-by: Martin Hundebøll <m...@prevas.dk> 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

Re: [OE-core] [PATCH] u-boot: Upgrade to 2018.03 release

2018-04-10 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH] u-boot: Upgrade to 2018.03 release

2018-04-11 Thread Martin Hundebøll
, 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 <m...@prevas.dk>; Khem Raj

Re: [OE-core] [PATCH] systemtap: Fix issues from 4.0 upgrade

2018-10-17 Thread Martin Hundebøll
`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

[OE-core] [PATCHv2] openssl-1.1.1: remove build path from version info

2018-11-08 Thread Martin Hundebøll
and 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

[OE-core] [PATCH] busybox: make busybox.links.{suid, nosuid} reproducible

2018-11-08 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH 1/2] scons.bbclass: Force rebuild if necessary

2018-11-13 Thread Martin Hundebøll
A 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/recipes-image/allgui/allgui-full-image.bb Andreas -- Kin

[OE-core] [PATCHv2] shadow: improve reproducibility by hard-coding shell path

2018-11-07 Thread Martin Hundebøll
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(+) diff

Re: [OE-core] [PATCHv2] glibc: make ld-2.28.so reproducible on arm

2018-11-06 Thread Martin Hundebøll
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

[OE-core] [PATCH] openssl-1.1.1: remove build path from version info

2018-11-07 Thread Martin Hundebøll
and 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

[OE-core] [PATCH] shadow: improve reproducibility by hard-coding shell path

2018-11-07 Thread Martin Hundebøll
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 insertions(+) diff

[OE-core] [PATCHv2] glibc: make ld-2.28.so reproducible on arm

2018-11-06 Thread Martin Hundebøll
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

[OE-core] [PATCH] glibc: make ld-2.28.so reproducible on arm

2018-11-06 Thread Martin Hundebøll
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

[OE-core] [PATCH][thud 3/3] openssl-1.1.1: remove build path from version info

2018-11-15 Thread Martin Hundebøll
and 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

[OE-core] [PATCH][thud 2/3] busybox: make busybox.links.{suid, nosuid} reproducible

2018-11-15 Thread Martin Hundebøll
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

[OE-core] [PATCH][thud 1/3] shadow: improve reproducibility by hard-coding shell path

2018-11-15 Thread Martin Hundebøll
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/shadow

Re: [OE-core] [PATCH v4] linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe

2018-12-11 Thread Martin Hundebøll
- 2.7.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org <mailto:Openembedded-core@lists.openembedded.org> http://lists.openembedded.org/mailman/listinfo/openembedded-core -- - T

Re: [OE-core] [PATCH 2/4] ccache.bbclass: Refactor it to make it more reliable

2018-12-10 Thread Martin Hundebøll
/ccache.inc +++ b/meta/recipes-devtools/ccache/ccache.inc @@ -9,6 +9,8 @@ LICENSE = "GPLv3+" DEPENDS = "zlib" +DEPENDS_class-native = "${CCACHE_NATIVE_DEPENDS}" + SRC_URI = "https://download.samba.org/pub/${BPN}/${BP}.tar.xz; inherit autotools -- Kind reg

Re: [OE-core] [PATCH] distutils: Tidy and simplify for readability

2019-05-14 Thread Martin Hundebøll
il 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 Hundebøll

Re: [OE-core] [V3][Oe-core][PATCH] sysstat: Add PACKAGECONFIG[cron] for '--enable-install-cron' option

2019-05-15 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH] systemd: enable portabled by default and install utilities in systemd-container

2019-05-09 Thread Martin Hundebøll
edesktop.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 -- ___ Openembe

Re: [OE-core] [PATCH] systemd: enable portabled by default and install utilities in systemd-container

2019-05-10 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH 6/9] linux-yocto-dev: bump to v5.2-rc

2019-07-10 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH 6/9] linux-yocto-dev: bump to v5.2-rc

2019-07-10 Thread Martin Hundebøll
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 then

Re: [OE-core] The state of reproducible Builds

2019-07-02 Thread Martin Hundebøll
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,

Re: [OE-core] [PATCH] wic: Add include-dir option

2020-02-27 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH] sstate.bbclass: fix issue while handling long sstate filenames

2020-02-05 Thread Martin Hundebøll
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

Re: [OE-core] [PATCH] gstreamer: Fix reproducibility issue around libcap

2020-02-20 Thread Martin Hundebøll
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 |

Re: [OE-core] [PATCH] file: explicitly disable seccomp

2020-01-20 Thread 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

[OE-core] [PATCH] package: disable libseccomp for find

2020-01-20 Thread Martin Hundebøll
de, 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 --- meta/lib/oe/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(