Re: [OE-core] [PATCH v2] classes: Add a new bbclass that abstracts the generation of FIT blobs

2020-03-27 Thread Alex Kiernan
3. Verify that `image-fit.itb` is present in the build directory: PASS > 4. Disassemble the image using the command: `dtc -I dtb -O dts > image-fit.itb` > 5. Verify that the FIT source contains the expected configuration: PASS > Whilst I'm definitely interested in this, bui

Re: [OE-Core][RFC PATCH 06/13] systemd: Add PACKAGECONFIG for sysvinit

2020-03-26 Thread Alex Kiernan
On Thu, Mar 26, 2020 at 5:33 PM Adrian Bunk wrote: > > On Thu, Mar 26, 2020 at 03:54:55PM +, Alex Kiernan wrote: > > On Thu, Mar 26, 2020 at 2:56 PM Adrian Bunk wrote: > > > On Thu, Mar 26, 2020 at 08:54:19AM +, Alex Kiernan wrote: > > > > Add sysv

Re: [OE-Core][RFC PATCH 06/13] systemd: Add PACKAGECONFIG for sysvinit

2020-03-26 Thread Alex Kiernan
On Thu, Mar 26, 2020 at 2:56 PM Adrian Bunk wrote: > > On Thu, Mar 26, 2020 at 08:54:19AM +, Alex Kiernan wrote: > > Add sysvinit PACKAGECONFIG which is bound to DISTRO_FEATURES, this > > then disables all sysvinit handling in systemd if it isn't present. > > > >

[OE-Core][RFC PATCH 10/13] systemd: Enable acl based on DISTRO_FEATURES

2020-03-26 Thread Alex Kiernan
Signed-off-by: Alex Kiernan Acked-by: Otavio Salvador --- Changes in v2: None meta/recipes-core/systemd/systemd_244.3.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_244.3.bb b/meta/recipes-core/systemd/systemd_244.3.bb index

[OE-Core][RFC PATCH 01/13] systemd: Use PACKAGE_BEFORE_PN, not =+

2020-03-26 Thread Alex Kiernan
By using PACKAGE_BEFORE_PN rather than =+ it's clearer how we expect the package ordering to work. It also avoids the possibilty that dev/dbg/etc. artefacts attempt to package as part of these packages. Signed-off-by: Alex Kiernan --- Changes in v2: - new (use PACKAGE_BEFORE_PN) meta/recipes

[OE-Core][RFC PATCH 13/13] systemd: upgrade v244.3 -> v245.2

2020-03-26 Thread Alex Kiernan
Refresh patches for v245, enable userdb by default. Update musl patches for additional missing stdlib headers. Add musl patch to avoid gshadow. Commits: d1d3f2aa1561 docs: Add syntax for templated units to systemd.preset man page 3c69813c69af man: add a tiny bit of markup bf595e788c56

[OE-Core][RFC PATCH 08/13] systemd: Enable smack based on DISTRO_FEATURES

2020-03-26 Thread Alex Kiernan
Signed-off-by: Alex Kiernan Acked-by: Otavio Salvador --- Changes in v2: None meta/recipes-core/systemd/systemd_244.3.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_244.3.bb b/meta/recipes-core/systemd/systemd_244.3.bb index

[OE-Core][RFC PATCH 09/13] systemd: Enable audit based on DISTRO_FEATURES

2020-03-26 Thread Alex Kiernan
Signed-off-by: Alex Kiernan Acked-by: Otavio Salvador --- Changes in v2: None meta/recipes-core/systemd/systemd_244.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_244.3.bb b/meta/recipes-core/systemd/systemd_244.3.bb index

[OE-Core][RFC PATCH 07/13] systemd: Remove X11 related files when disabled

2020-03-26 Thread Alex Kiernan
When X11 isn't in DISTRO_FEATURES, remove X11 related files. Signed-off-by: Alex Kiernan Acked-by: Otavio Salvador --- Changes in v2: None meta/recipes-core/systemd/systemd_244.3.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_244.3.bb b/meta

[OE-Core][RFC PATCH 11/13] psplash: Set RemainAfterExit on systemd units

2020-03-26 Thread Alex Kiernan
the unit. Signed-off-by: Alex Kiernan Acked-by: Otavio Salvador --- Changes in v2: None meta/recipes-core/psplash/files/psplash-start.service | 1 + meta/recipes-core/psplash/files/psplash-systemd.service | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core

[OE-Core][RFC PATCH 00/13] Systemd 245 and related updates

2020-03-26 Thread Alex Kiernan
/nonarch_base_libdir/rootlibexecdir/) - sysvinit: moved update-rc.d RDEPENDS to PACKAGECONFIG - move systemd 245 upgrade to last in series - update to systemd 245.2 Alex Kiernan (13): systemd: Use PACKAGE_BEFORE_PN, not =+ systemd: Package udev rules explicitly systemd: Replace nonarch_base_libdir

[OE-Core][RFC PATCH 05/13] systemd: Add sch-fq-codel to RRECOMMENDS

2020-03-26 Thread Alex Kiernan
systemd sets net.core.default_qdisc = fq_codel, include kernel-module-sch-fq-codel in RRECOMMENDS to satify this Signed-off-by: Alex Kiernan Acked-by: Otavio Salvador --- Changes in v2: None meta/recipes-core/systemd/systemd_244.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[OE-Core][RFC PATCH 04/13] systemd: Reinstate systemd-hwdb-update.service

2020-03-26 Thread Alex Kiernan
/hwdb.bin was not met `- ConditionDirectoryNotEmpty=|/etc/udev/hwdb.d was not met Docs: man:hwdb(7) man:systemd-hwdb(8) Signed-off-by: Alex Kiernan Acked-by: Otavio Salvador --- Changes in v2: None meta/recipes-core/systemd/systemd_244.3.bb | 10

[OE-Core][RFC PATCH 02/13] systemd: Package udev rules explicitly

2020-03-26 Thread Alex Kiernan
udev is packaged before systemd so any wildcard inclusions in FILES will override later specifics. List all udev rules explicitly so that the systemd specific rules, packaged alongside systemd, appear in the correct package. Signed-off-by: Alex Kiernan --- Changes in v2: None meta/recipes

[OE-Core][RFC PATCH 06/13] systemd: Add PACKAGECONFIG for sysvinit

2020-03-26 Thread Alex Kiernan
Add sysvinit PACKAGECONFIG which is bound to DISTRO_FEATURES, this then disables all sysvinit handling in systemd if it isn't present. Consolidate sysvinit handling so that when it's disabled we exclude all sysvinit features. Signed-off-by: Alex Kiernan --- Changes in v2: - sysvinit: moved

[OE-Core][RFC PATCH 03/13] systemd: Replace nonarch_base_libdir with rootlibexecdir

2020-03-26 Thread Alex Kiernan
Use rootlibexecdir consistently rather than nonarch_base_libdir for udev rules. Signed-off-by: Alex Kiernan --- Changes in v2: - new (s/nonarch_base_libdir/rootlibexecdir/) meta/recipes-core/systemd/systemd_244.3.bb | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[OE-Core][RFC PATCH 12/13] oeqa/runtime/cases: Disable and stop systemd-timesyncd

2020-03-26 Thread Alex Kiernan
Stopping systemd-timesyncd doesn't prevent it being restarted by a different transaction within systemd. Disable the service instead during the date test to ensure it can't be restarted. Signed-off-by: Alex Kiernan Acked-by: Otavio Salvador --- Changes in v2: None meta/lib/oeqa/runtime/cases

Re: [OE-core] [OE-Core][RFC PATCH 01/11] systemd: Package udev rules explicitly

2020-03-18 Thread Alex Kiernan
On Wed, Mar 18, 2020 at 3:02 AM Otavio Salvador wrote: > > On Tue, Mar 17, 2020 at 12:29 PM Alex Kiernan wrote: > > udev is packaged before systemd so any wildcard inclusions in FILES will > > override later specifics. List all udev rules explicitly so that the > >

[OE-core] [OE-Core][RFC PATCH 11/11] systemd: Enable acl based on DISTRO_FEATURES

2020-03-17 Thread Alex Kiernan
Signed-off-by: Alex Kiernan --- meta/recipes-core/systemd/systemd_245.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_245.bb b/meta/recipes-core/systemd/systemd_245.bb index 72021a0991ae..09ea07833d71 100644 --- a/meta/recipes-core

[OE-core] [OE-Core][RFC PATCH 09/11] systemd: Enable smack based on DISTRO_FEATURES

2020-03-17 Thread Alex Kiernan
Signed-off-by: Alex Kiernan --- meta/recipes-core/systemd/systemd_245.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_245.bb b/meta/recipes-core/systemd/systemd_245.bb index 19a8f0cb18af..a7fae930f770 100644 --- a/meta/recipes-core

[OE-core] [OE-Core][RFC PATCH 06/11] psplash: Set RemainAfterExit on systemd units

2020-03-17 Thread Alex Kiernan
the unit. Signed-off-by: Alex Kiernan --- meta/recipes-core/psplash/files/psplash-start.service | 1 + meta/recipes-core/psplash/files/psplash-systemd.service | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/psplash/files/psplash-start.service b/meta

[OE-core] [OE-Core][RFC PATCH 07/11] oeqa/runtime/cases: Disable and stop systemd-timesyncd

2020-03-17 Thread Alex Kiernan
Stopping systemd-timesyncd doesn't prevent it being restarted by a different transaction within systemd. Disable the service instead during the date test to ensure it can't be restarted. Signed-off-by: Alex Kiernan --- meta/lib/oeqa/runtime/cases/date.py | 4 ++-- 1 file changed, 2 insertions

[OE-core] [OE-Core][RFC PATCH 04/11] systemd: Add PACKAGECONFIG for sysvinit

2020-03-17 Thread Alex Kiernan
Add sysvinit PACKAGECONFIG which is bound to DISTRO_FEATURES, this then disables all sysvinit handling in systemd if it isn't present. Consolidate sysvinit handling so that when it's disabled we exclude all sysvinit features. Signed-off-by: Alex Kiernan --- meta/recipes-core/systemd

[OE-core] [OE-Core][RFC PATCH 10/11] systemd: Enable audit based on DISTRO_FEATURES

2020-03-17 Thread Alex Kiernan
Signed-off-by: Alex Kiernan --- meta/recipes-core/systemd/systemd_245.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_245.bb b/meta/recipes-core/systemd/systemd_245.bb index a7fae930f770..72021a0991ae 100644 --- a/meta/recipes-core

[OE-core] [OE-Core][RFC PATCH 05/11] systemd: Remove X11 related files when disabled

2020-03-17 Thread Alex Kiernan
When X11 isn't in DISTRO_FEATURES, remove X11 related files. Signed-off-by: Alex Kiernan --- meta/recipes-core/systemd/systemd_244.3.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_244.3.bb b/meta/recipes-core/systemd/systemd_244.3.bb index

[OE-core] [OE-Core][RFC PATCH 00/11] Systemd 245 and related updates

2020-03-17 Thread Alex Kiernan
Throwing these out there, so that anyone else who's looking at systemd 245 doesn't have to repeat the work, equally now is clearly not the time to be applying these to master! Not all of these are stricly related to systemd 245. Alex Kiernan (11): systemd: Package udev rules explicitly

[OE-core] [OE-Core][RFC PATCH 01/11] systemd: Package udev rules explicitly

2020-03-17 Thread Alex Kiernan
udev is packaged before systemd so any wildcard inclusions in FILES will override later specifics. List all udev rules explicitly so that the systemd specific rules, packaged alongside systemd, appear in the correct package. Signed-off-by: Alex Kiernan --- meta/recipes-core/systemd

[OE-core] [OE-Core][RFC PATCH 02/11] systemd: Reinstate systemd-hwdb-update.service

2020-03-17 Thread Alex Kiernan
/hwdb.bin was not met `- ConditionDirectoryNotEmpty=|/etc/udev/hwdb.d was not met Docs: man:hwdb(7) man:systemd-hwdb(8) Signed-off-by: Alex Kiernan --- meta/recipes-core/systemd/systemd_244.3.bb | 10 -- scripts/postinst-intercepts/update_udev_hwdb | 16

[OE-core] [OE-Core][RFC PATCH 03/11] systemd: Add sch-fq-codel to RRECOMMENDS

2020-03-17 Thread Alex Kiernan
systemd sets net.core.default_qdisc = fq_codel, include kernel-module-sch-fq-codel in RRECOMMENDS to satify this Signed-off-by: Alex Kiernan --- meta/recipes-core/systemd/systemd_244.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd

Re: [OE-core] psplash activation state w/ systemd

2020-03-12 Thread Alex Kiernan
On Wed, Mar 11, 2020 at 5:27 PM Alex Kiernan wrote: > > On Wed, Mar 11, 2020 at 5:20 PM Richard Purdie > wrote: > > > > On Mon, 2020-03-09 at 15:18 +, Alex Kiernan wrote: > > > I've a branch with systemd 245 on it which fails testing because > > &

Re: [OE-core] psplash activation state w/ systemd

2020-03-11 Thread Alex Kiernan
On Wed, Mar 11, 2020 at 5:20 PM Richard Purdie wrote: > > On Mon, 2020-03-09 at 15:18 +, Alex Kiernan wrote: > > I've a branch with systemd 245 on it which fails testing because > > psplash gets restarted all the time. > > > > But ignoring the systemd 245 piec

[OE-core] psplash activation state w/ systemd

2020-03-09 Thread Alex Kiernan
dunfell ships and then do it as part of the whole 245 upgrade? Equally if you see psplash flapping during tests, it's almost certainly this problem. -- Alex Kiernan -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http

Re: [OE-core] [PATCH] kernel.bbclass: fix SOURCE_DATE_EPOCH for non-git kernel builds

2020-03-07 Thread Alex Kiernan
OURCE_DATE_EPOCH=`git --git-dir="${S}/.git}" log -1 --pretty=%ct` # git repo not guaranteed, so fall back to REPRODUCIBLE_TIMESTAMP_ROOTFS if [ $? -ne 0 ]; then SOURCE_DATE_EPOCH=${REPRODUCIBLE_TIMESTAMP_ROOTFS} fi -

[OE-core] [OE-Core][PATCH] linux-firmware: Fix usrmerge builds

2020-03-06 Thread Alex Kiernan
/1_20200122-r0/image/usr/lib/firmware/' is not a directory Signed-off-by: Alex Kiernan --- meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb b/meta/recipes

Re: [OE-core] why would systemd-systemctl-native need underlying sysvinit?

2020-02-24 Thread Alex Kiernan
ning via systemd. This is because that the functionality of the init script has implemented in systemd internally. (From OE-Core rev: 8cfba07e24dae3d1837ccb5cb04e11f362519b0a) Signed-off-by: Chen Qi Signed-off-by: Richard P

Re: [OE-core] [OE-Core][PATCH] libxcrypt: Enable static builds

2020-02-21 Thread Alex Kiernan
On Tue, Jan 28, 2020 at 8:07 PM Andre McCurdy wrote: > > On Tue, Jan 28, 2020 at 4:48 AM Alex Kiernan wrote: > > > > Let me have a look at that - what got me here was trying to get a > > static busybox so I could OSTree's tests to pass, which all turned out > > to

Re: [OE-core] [zeus][PATCH] openssh: backport patch to fix "cert not yet valid" test

2020-02-21 Thread Alex Kiernan
had that patch in master which I dropped that patch as part of the move to 8.2p1 (was 0001-Manually-applied-upstream-fix-for-openssh-test.patch) -- Alex Kiernan -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.

Re: [OE-core] task i was asked about: "Fix java build to not use host java"

2020-02-16 Thread Alex Kiernan
really using out of the inherit java is the paths it defines. One problem we've found is that building both JNI and java components at the same time is tricky because most things don't distinguish between native and target JAVA_HOME. -- Alex Kiernan --

[OE-core] [OE-Core][PATCH v6] systemd: upgrade v244.1 -> v244.3

2020-02-16 Thread Alex Kiernan
308 cryptsetup-generator: unconfuse writing of the device timeout 0757ad565573 shared/install: log syntax error for invalid DefaultInstance= d2471109d999 shared/install: provide a nicer error message for invalid WantedBy=/Required= values Signed-off-by: Alex Kiernan --- Changes in v6: - fix commit

Re: [OE-core] [OE-Core][PATCH v5] systemd: upgrade v244.1 -> v244.3

2020-02-16 Thread Alex Kiernan
Please ignore. I need to fix the commit message On Sun, 16 Feb 2020, 09:07 Alex Kiernan, wrote: > Drop all systemd-boot patches and use MESON_CROSS_... configuration > instead to pick up EFI cc and objcopy. For EFI ld, we can use the > command line efi-ld option, but have to en

[OE-core] [OE-Core][PATCH v5] systemd: upgrade v244.1 -> v244.3

2020-02-16 Thread Alex Kiernan
308 cryptsetup-generator: unconfuse writing of the device timeout 0757ad565573 shared/install: log syntax error for invalid DefaultInstance= d2471109d999 shared/install: provide a nicer error message for invalid WantedBy=/Required= values Signed-off-by: Alex Kiernan --- Changes in v5: -

Re: [OE-core] [OE-Core][PATCH v4 1/2] meson.bbclass: Parameterise meson.cross

2020-02-15 Thread Alex Kiernan
On Sat, Feb 15, 2020 at 9:18 PM Khem Raj wrote: > > On 2/15/20 1:44 AM, Alex Kiernan wrote: > > Add MESON_CROSS_BINARIES, MESON_CROSS_PROPERTIES as a colon separated > > list of meson properties which are exported into meson.cross. > > > > I am seeing errors >

[OE-core] [OE-Core][PATCH] openssh: Upgrade 8.1p1 -> 8.2p1

2020-02-15 Thread Alex Kiernan
Drop backports from upstream: 0001-Manually-applied-upstream-fix-for-openssh-test.patch 0001-seccomp-Allow-clock_gettime64-in-sandbox.patch openssh-8.1p1-seccomp-nanosleep.patch Signed-off-by: Alex Kiernan --- ...pplied-upstream-fix-for-openssh-test.patch | 60

[OE-core] [OE-Core][PATCH v4 2/2] systemd: upgrade v244.1 -> v244.3

2020-02-15 Thread Alex Kiernan
308 cryptsetup-generator: unconfuse writing of the device timeout 0757ad565573 shared/install: log syntax error for invalid DefaultInstance= d2471109d999 shared/install: provide a nicer error message for invalid WantedBy=/Required= values Signed-off-by: Alex Kiernan --- Changes in v4: - add

[OE-core] [OE-Core][PATCH v4 1/2] meson.bbclass: Parameterise meson.cross

2020-02-15 Thread Alex Kiernan
Add MESON_CROSS_BINARIES, MESON_CROSS_PROPERTIES as a colon separated list of meson properties which are exported into meson.cross. Signed-off-by: Alex Kiernan --- Changes in v4: None Changes in v3: - new Changes in v2: None meta/classes/meson.bbclass | 161

[OE-core] [OE-Core][PATCH v3 2/2] systemd: upgrade v244.1 -> v244.3

2020-02-14 Thread Alex Kiernan
308 cryptsetup-generator: unconfuse writing of the device timeout 0757ad565573 shared/install: log syntax error for invalid DefaultInstance= d2471109d999 shared/install: provide a nicer error message for invalid WantedBy=/Required= values Signed-off-by: Alex Kiernan --- Changes in v3:

[OE-core] [OE-Core][PATCH v3 1/2] meson.bbclass: Parameterise meson.cross

2020-02-14 Thread Alex Kiernan
Add MESON_CROSS_BINARIES, MESON_CROSS_PROPERTIES as a colon separated list of meson properties which are exported into meson.cross. Signed-off-by: Alex Kiernan --- Changes in v3: None Changes in v2: None meta/classes/meson.bbclass | 161 - 1 file changed

Re: [OE-core] [OE-Core][PATCH v2] systemd: upgrade v244.1 -> v244.3

2020-02-14 Thread Alex Kiernan
On Fri, Feb 14, 2020 at 7:25 AM Alex Kiernan wrote: > > On Fri, Feb 14, 2020 at 7:17 AM Khem Raj wrote: > > > > On Thu, Feb 13, 2020 at 3:40 PM Richard Purdie > > wrote: > > > > > > On Thu, 2020-02-13 at 06:16 +, Alex Kiernan wrote: > > &

Re: [OE-core] [OE-Core][PATCH v2] systemd: upgrade v244.1 -> v244.3

2020-02-13 Thread Alex Kiernan
On Fri, Feb 14, 2020 at 7:17 AM Khem Raj wrote: > > On Thu, Feb 13, 2020 at 3:40 PM Richard Purdie > wrote: > > > > On Thu, 2020-02-13 at 06:16 +, Alex Kiernan wrote: > > > Commits from v244-stable: > > > > I think this causes: > > > > h

[OE-core] [OE-Core][PATCH v3] iputils: Fix systemd and ipv6 detection

2020-02-13 Thread Alex Kiernan
When systemd is enabled, ensure iputils detects it correctly. Split out IPv6 only features based on ipv6 enabled in DISTRO_FEATURES. Signed-off-by: Alex Kiernan --- Changes in v3: - fix typo in SoB Changes in v2: - ninfod: fix systemd Documentation url error - rarpd: rdisc: Drop PrivateUsers

[OE-core] [OE-Core][PATCH v2] iputils: Fix systemd and ipv6 detection

2020-02-12 Thread Alex Kiernan
When systemd is enabled, ensure iputils detects it correctly. Split out IPv6 only features based on ipv6 enabled in DISTRO_FEATURES. Signed-off-by: Alex Kiernan --- Changes in v2: - ninfod: fix systemd Documentation url error - rarpd: rdisc: Drop PrivateUsers ...-fix-systemd-Documentation-url

[OE-core] [OE-Core][PATCH v2] systemd: upgrade v244.1 -> v244.3

2020-02-12 Thread Alex Kiernan
9553 systemctl: show what verbs support --dry-run in the help page dc56b94e1308 cryptsetup-generator: unconfuse writing of the device timeout 0757ad565573 shared/install: log syntax error for invalid DefaultInstance= d2471109d999 shared/install: provide a nicer error message for invalid WantedB

[OE-core] [OE-Core][PATCH v2] kernel-fitimage: Handle overlays in EXTERNAL_KERNEL_DEVICETREE

2020-02-12 Thread Alex Kiernan
When using EXTERNAL_KERNEL_DEVICETREE, collect DTB overlays too (*.dtbo) as well as iterating down into sub-directories so using the behaviour for naming which matches KERNEL_DEVICETREE. Signed-off-by: Alex Kiernan --- Changes in v2: - ensure that the order of dtb/dtbo files in the generated

Re: [OE-core] [OE-Core][PATCH] kernel-fitimage: fix devicetree reproducibility

2020-02-12 Thread Alex Kiernan
On Wed, Feb 12, 2020 at 11:33 AM Alex Kiernan wrote: > > Ensure that the order of dtb/dtbo files in the generated fitimage is > reproducible. > > Fixes: 71bfa9838cbf ("kernel-fitimage: Handle overlays in > EXTERNAL_KERNEL_DEVICETREE") > Signed-off-by: Alex Kie

[OE-core] [OE-Core][PATCH] kernel-fitimage: fix devicetree reproducibility

2020-02-12 Thread Alex Kiernan
Ensure that the order of dtb/dtbo files in the generated fitimage is reproducible. Fixes: 71bfa9838cbf ("kernel-fitimage: Handle overlays in EXTERNAL_KERNEL_DEVICETREE") Signed-off-by: Alex Kiernan --- meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insertion(+),

[OE-core] [OE-Core][PATCH] devicetree.bbclass: include symbols in base DT

2020-02-12 Thread Alex Kiernan
-by: Alex Kiernan --- meta/classes/devicetree.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/devicetree.bbclass b/meta/classes/devicetree.bbclass index d8779c794378..c772ab2ab93e 100644 --- a/meta/classes/devicetree.bbclass +++ b/meta/classes/devicetree.bbclass

[OE-core] [OE-Core][PATCH] systemd: upgrade v244.1 -> v244.3

2020-02-12 Thread Alex Kiernan
9553 systemctl: show what verbs support --dry-run in the help page dc56b94e1308 cryptsetup-generator: unconfuse writing of the device timeout 0757ad565573 shared/install: log syntax error for invalid DefaultInstance= d2471109d999 shared/install: provide a nicer error message for invalid WantedBy=

Re: [OE-core] [OE-Core][PATCH] systemd: upgrade v244.1 -> v244.2

2020-02-12 Thread Alex Kiernan
On Wed, Feb 12, 2020 at 7:20 AM Alexander Kanavin wrote: > > I think 244.3 is latest? > Looks like upstream's done something funky... the tag's been pushed, but not the branch :| I'll pull it in later. > Alex > > On Wed 12. Feb 2020 at 8.15, Alex Kiernan wrote: >> >

[OE-core] [OE-Core][PATCH] systemd: upgrade v244.1 -> v244.2

2020-02-11 Thread Alex Kiernan
3 shared/install: log syntax error for invalid DefaultInstance= d2471109d999 shared/install: provide a nicer error message for invalid WantedBy=/Required= values Signed-off-by: Alex Kiernan --- .../systemd/{systemd-boot_244.1.bb => systemd-boot_244.2.bb}| 0 .../system

[OE-core] [OE-Core][PATCH] iputils: Fix systemd and ipv6 detection

2020-02-10 Thread Alex Kiernan
When systemd is enabled, ensure iputils detects it correctly. Split out IPv6 only features based on ipv6 enabled in DISTRO_FEATURES. Signed-off-by: Alex Kiernan --- .../iputils/iputils_s20190709.bb | 21 +-- 1 file changed, 15 insertions(+), 6 deletions(-) diff

Re: [OE-core] Cache unihash ... doesn't match BB_UNIHASH ...

2020-02-10 Thread Alex Kiernan
On Sun, Feb 9, 2020 at 4:25 PM Alex Kiernan wrote: > > On Sun, Feb 9, 2020 at 7:27 AM Alex Kiernan wrote: > > > > On Sun, Feb 9, 2020 at 12:23 AM chris.lapla...@agilent.com > > wrote: > > > > > > Hi Richard, > > > > > > > >

Re: [OE-core] Cache unihash ... doesn't match BB_UNIHASH ...

2020-02-09 Thread Alex Kiernan
On Sun, Feb 9, 2020 at 7:27 AM Alex Kiernan wrote: > > On Sun, Feb 9, 2020 at 12:23 AM chris.lapla...@agilent.com > wrote: > > > > Hi Richard, > > > > > > > Anecdotally, we are running Zeus for nightly builds with three > > > > > multic

Re: [OE-core] Cache unihash ... doesn't match BB_UNIHASH ...

2020-02-08 Thread Alex Kiernan
task_failoutright(nexttask) return True else: - self.sqdata.outrightfail.remove(nexttask) +self.sqdata.outrightfail.discard(nexttask) if nexttask in self.sqdata.outrightfail: logger.debug(2, 'No package found, so skipping setscene task %s', nexttask) self.sq_task_failoutright(nexttask) -- Alex Kiernan -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

Re: [OE-core] [OE-Core][RESEND PATCH] rootfs-postcommands: Remove spaces before ; in -ROOTFS_..._COMMAND

2020-02-08 Thread Alex Kiernan
On Sat, Feb 8, 2020 at 1:25 PM Richard Purdie wrote: > > On Thu, 2020-01-30 at 04:54 +, Alex Kiernan wrote: > > With spaces in ROOTFS_POSTPROCESS_COMMAND attempts to remove elements > > using ROOTFS_POSTPROCESS_COMMAND_remove causes parse failur

Re: [OE-core] [OE-Core][RESEND PATCH] rootfs-postcommands: Remove spaces before ; in -ROOTFS_..._COMMAND

2020-02-08 Thread Alex Kiernan
On Thu, Jan 30, 2020 at 4:54 AM Alex Kiernan wrote: > > With spaces in ROOTFS_POSTPROCESS_COMMAND attempts to remove elements > using ROOTFS_POSTPROCESS_COMMAND_remove causes parse failures of the > form: > > bb.pysh.sherrors.ShellSyntaxError: LexToken(COMMA,';'

Re: [OE-core] [OE-Core][PATCH] kernel-fitimage: Handle overlays in EXTERNAL_KERNEL_DEVICETREE

2020-02-08 Thread Alex Kiernan
On Fri, Jan 31, 2020 at 4:24 PM Alex Kiernan wrote: > > When using EXTERNAL_KERNEL_DEVICETREE, collect DTB overlays too (*.dtbo) > as well as iterating down into sub-directories so using the behaviour > for naming which matches KERNEL_DEVICETREE. > > Signed-off-by: Alex Kierna

Re: [OE-core] [OE-Core][PATCH] rootfs: Make BUILDNAME a weak default in reproducible_build_simple

2020-02-07 Thread Alex Kiernan
On Fri, Feb 7, 2020 at 4:27 PM Peter Kjellerstedt wrote: > > > -Original Message- > > From: openembedded-core-boun...@lists.openembedded.org > boun...@lists.openembedded.org> On Behalf Of Alex Kiernan > > Sent: den 18 januari 2020 06:41 > > To: openemb

Re: [OE-core] Cache unihash ... doesn't match BB_UNIHASH ...

2020-02-07 Thread Alex Kiernan
On Fri, Feb 7, 2020 at 3:06 PM Richard Purdie wrote: > > On Fri, 2020-02-07 at 14:43 +, chris.lapla...@agilent.com wrote: > > Hi Richard, > > > > > On Fri, 2020-02-07 at 08:16 +, Alex Kiernan wrote: > > > > Hi > > > > > > &g

Re: [OE-core] Cache unihash ... doesn't match BB_UNIHASH ...

2020-02-07 Thread Alex Kiernan
On Fri, Feb 7, 2020 at 8:31 AM Richard Purdie wrote: > > On Fri, 2020-02-07 at 08:16 +, Alex Kiernan wrote: > > Hi > > > > We've got a couple of multiconfig builds with different > > configurations in one bitbake run (whether it needs to be like this a > &g

[OE-core] Cache unihash ... doesn't match BB_UNIHASH ...

2020-02-07 Thread Alex Kiernan
deadlocked on deferred tasks, forcing task mc:factory:virtual:native:/var/lib/jenkins/workspace/nanohub_master/build/../poky/meta/recipes-support/sqlite/sqlite3_3.31.1.bb:do_populate_sysroot Any pointers to whereabouts I should be looking for what we've got wrong? -- Alex Kiernan

[OE-core] [OE-Core][PATCH] systemd: upgrade 243.4 -> 244.1

2020-02-06 Thread Alex Kiernan
e any need for this change. Rebase/refresh musl patches: - replace missing.h with specific missing_... header - fix additional WRITE_STRING_FILE_DISABLE_BUFFER - fix more places that need netinet/if_ether.h Signed-off-by: Alex Kiernan --- ...md-boot_243.4.bb => systemd-boot_244.1.bb} | 0 ...md-

[OE-core] [OE-Core][PATCH v2] systemd: Upgrade 243.2 -> 243.4-latest

2020-02-03 Thread Alex Kiernan
s ea7151b8c435 pid1: do not warn if /run/systemd/relabel-extra.d/ doesn't exist b90549290e33 man: fix typo Signed-off-by: Alex Kiernan --- Changes in v2: - drop 0004-rules-whitelist-hd-devices.patch and 0005-rules-watch-metadata-changes-in-ide-devices.patch which cause ide-cd to

Re: [OE-core] [OE-Core][PATCH] systemd: Upgrade 243.2 -> 243.4-latest

2020-02-03 Thread Alex Kiernan
mfs and root=UUID on machines with IDE disks, like "runqemu hdddirect", and kernels which still use the deprecated CONFIG_IDE. v2: Rebased against current master-next. (From OE-Core rev: 3d27dfb7e78b8e17b76fcc1d8f8e2b29ca26b0df) > > On 3 Feb 2020, at 21.26, Alex Kierna

Re: [OE-core] [OE-Core][PATCH] systemd: Upgrade 243.2 -> 243.4-latest

2020-02-03 Thread Alex Kiernan
On Mon, Feb 3, 2020 at 7:55 PM Alex Kiernan wrote: > > Hi Richard > > On Mon, Feb 3, 2020 at 2:13 PM Alex Kiernan wrote: > > > > On Mon, Feb 3, 2020 at 10:26 AM Richard Purdie > > wrote: > > > > > > On Mon, 2020-01-27 at 23:13 +, Alex Ki

Re: [OE-core] [OE-Core][PATCH] systemd: Upgrade 243.2 -> 243.4-latest

2020-02-03 Thread Alex Kiernan
Hi Richard On Mon, Feb 3, 2020 at 2:13 PM Alex Kiernan wrote: > > On Mon, Feb 3, 2020 at 10:26 AM Richard Purdie > wrote: > > > > On Mon, 2020-01-27 at 23:13 +, Alex Kiernan wrote: > > > Update to latest on the 243 stable branch. This includes (amongst oth

Re: [OE-core] [OE-Core][PATCH] systemd: Upgrade 243.2 -> 243.4-latest

2020-02-03 Thread Alex Kiernan
On Mon, Feb 3, 2020 at 10:26 AM Richard Purdie wrote: > > On Mon, 2020-01-27 at 23:13 +, Alex Kiernan wrote: > > Update to latest on the 243 stable branch. This includes (amongst other > > fixes) seccomp filter changes which fix failures with glibc 2.31, e.g. > > &g

[OE-core] [OE-Core][PATCH] kernel-fitimage: Handle overlays in EXTERNAL_KERNEL_DEVICETREE

2020-01-31 Thread Alex Kiernan
When using EXTERNAL_KERNEL_DEVICETREE, collect DTB overlays too (*.dtbo) as well as iterating down into sub-directories so using the behaviour for naming which matches KERNEL_DEVICETREE. Signed-off-by: Alex Kiernan --- meta/classes/kernel-fitimage.bbclass | 5 ++--- 1 file changed, 2

[OE-core] [OE-Core][RESEND PATCH] rootfs-postcommands: Remove spaces before ; in -ROOTFS_..._COMMAND

2020-01-31 Thread Alex Kiernan
) LexToken(TOKEN,'set_systemd_default_target',0,0) LexToken(COMMA,';',0,0) LexToken(TOKEN,'systemd_create_users',0,0) Removing the spaces between the function name and semicolon allows the list to parse correctly. Signed-off-by: Alex Kiernan --- meta/classes/rootfs

Re: [OE-core] [OE-Core][PATCH] libxcrypt: Enable static builds

2020-01-28 Thread Alex Kiernan
On Tue, Jan 28, 2020 at 12:02 PM Richard Purdie wrote: > > On Wed, 2020-01-22 at 07:19 +, Alex Kiernan wrote: > > Whilst glibc builds static binaries libxcrypt doesn't, without which > > we > > can't build, for example, a static busybox. Enable static libraries > &g

[OE-core] [OE-Core][PATCH] systemd: Upgrade 243.2 -> 243.4-latest

2020-01-27 Thread Alex Kiernan
ng "%" in "%m" log format strings ea7151b8c435 pid1: do not warn if /run/systemd/relabel-extra.d/ doesn't exist b90549290e33 man: fix typo Signed-off-by: Alex Kiernan --- ...md-boot_243.2.bb => systemd-boot_243.4.bb} | 0 meta/recipes-core/systemd/systemd.inc

[OE-core] [OE-Core][PATCH] libxcrypt: Enable static builds

2020-01-21 Thread Alex Kiernan
. Signed-off-by: Alex Kiernan --- meta/recipes-core/libxcrypt/libxcrypt.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc b/meta/recipes-core/libxcrypt/libxcrypt.inc index accbdd636152..e98d8084470c 100644 --- a/meta/recipes-core/libxcrypt

[OE-core] [OE-Core][PATCH] lib/oe/package_manager: Improve locale-archive reproducibility

2020-01-19 Thread Alex Kiernan
The generation of locale-archive depends on the order of the input files. Fix the order by sorting the file list. Signed-off-by: Alex Kiernan --- meta/lib/oe/package_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe

[OE-core] [OE-Core][PATCH] rootfs: Make BUILDNAME a weak default in reproducible_build_simple

2020-01-17 Thread Alex Kiernan
runs very late. rootfs.py uses BUILDNAME if set for /etc/version, so introduce a weak default for BUILDNAME of "REPRODUCIBLE_TIMESTAMP_ROOTFS", when enabling reproducible builds hence allowing BUILDNAME to be overridden elsewhere. Signed-off-by: Alex Kiernan

[OE-core] [OE-Core][PATCH] rootfs-postcommands: Remove spaces before ; in -ROOTFS_..._COMMAND

2020-01-14 Thread Alex Kiernan
) LexToken(TOKEN,'set_systemd_default_target',0,0) LexToken(COMMA,';',0,0) LexToken(TOKEN,'systemd_create_users',0,0) Removing the spaces between the function name and semicolon allows the list to parse correctly. Signed-off-by: Alex Kiernan --- meta/classes/rootfs

[OE-core] [OE-Core][PATCH] u-boot: Upgrade 2020.01-rc5 -> 2020.01

2020-01-12 Thread Alex Kiernan
Also drop unreferenced (already merged) patches. Signed-off-by: Alex Kiernan --- ...nclude-env.h-Ensure-ulong-is-defined.patch | 31 --- ...fix-ulong-definition-on-musl-targets.patch | 83 --- meta/recipes-bsp/u-boot/u-boot-common.inc | 5 +- 3 files changed, 1

[OE-core] [OE-Core][PATCH] glib-2.0: Fix hardcoded paths with dots in names

2020-01-12 Thread Alex Kiernan
b4087338be09 ("glib-2.0: Fix hardcoded paths in checksums") fixed embedded paths in task hashes, but if these paths included dots then these were flattened when COREBASE was computed. Fix this by resolving our filenames before replacing the path segments with COREBASE. Signed-off-by: Al

[OE-core] [OE-Core][RESEND PATCH] manpages.bbclass: Fix rootfs host corruption

2020-01-09 Thread Alex Kiernan
When running mandb we end up with files owned by the build user, correct this. Also pick up non-default locales and relocate their index.db files to /var/cache. Signed-off-by: Alex Kiernan --- meta/classes/manpages.bbclass | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff

Re: [OE-core] [OE-Core][PATCH 1/2] manpages.bbclass: Fix rootfs host corruption

2020-01-09 Thread Alex Kiernan
On Thu, Jan 9, 2020 at 1:36 PM Ross Burton wrote: > > On 09/01/2020 02:30, Alex Kiernan wrote: > > On Thu, Dec 19, 2019 at 10:17 PM Alex Kiernan > > wrote: > >> > >> When running mandb we end up with files owned by the build user, correct > >> this.

Re: [OE-core] [OE-Core][PATCH 1/2] manpages.bbclass: Fix rootfs host corruption

2020-01-08 Thread Alex Kiernan
On Thu, Dec 19, 2019 at 10:17 PM Alex Kiernan wrote: > > When running mandb we end up with files owned by the build user, correct > this. Also pick up non-default locales and relocate their index.db files > to /var/cache. > > Signed-off-by: Alex Kiernan > --- Pin

[OE-core] [OE-Core][PATCH] linuxloader: Correct loader for glibc on armhf

2019-12-29 Thread Alex Kiernan
Fix the naming of the loader on armhf to match what glibc expects: #define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT SYSTEMLIBS_DIR "ld-linux.so.3" #define GLIBC_DYNAMIC_LINKER_HARD_FLOAT SYSTEMLIBS_DIR "ld-linux-armhf.so.3" Signed-off-by: Alex Kiernan --- meta/classes/linuxload

[OE-core] [OE-Core][PATCH] lib/oe/qa: handle missing data attribute in __exit__

2019-12-29 Thread Alex Kiernan
("chrpath: do less work") Signed-off-by: Alex Kiernan --- meta/lib/oe/qa.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py index 21066c4dc3b3..d85206f155f0 100644 --- a/meta/lib/oe/qa.py +++ b/meta/lib/oe/qa.py @@ -47,7 +47

[OE-core] [OE-Core][PATCH 2/2] rootfs-postcommands: Enable rootfs_check_host_user_contaminated

2019-12-19 Thread Alex Kiernan
Enable rootfs_check_host_user_contaminated by default Signed-off-by: Alex Kiernan --- meta/classes/rootfs-postcommands.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass index

[OE-core] [OE-Core][PATCH 1/2] manpages.bbclass: Fix rootfs host corruption

2019-12-19 Thread Alex Kiernan
When running mandb we end up with files owned by the build user, correct this. Also pick up non-default locales and relocate their index.db files to /var/cache. Signed-off-by: Alex Kiernan --- meta/classes/manpages.bbclass | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff

Re: [OE-core] [PATCH v2 1/3] u-boot-fw-utils: Backport a patch for out-of-tree builds

2019-12-18 Thread Alex Kiernan
nly be dropping it in January when 2020.01 gets released. I'd just move to the -rc5 tag which includes this upstream change and then apply your other out of tree fixes on top of it. -- Alex Kiernan -- ___ Openembedded-core mailing list Op

[OE-core] [OE-Core][PATCH] gnutls: upgrade 3.6.8 -> 3.6.11.1

2019-12-16 Thread Alex Kiernan
Drop patch from 81485be19b18 ("gnutls: don't use HOSTTOOLS_DIR/bash as a shell on target") as upstream now honours POSIX_SHELL when set as the primary target shell. Signed-off-by: Alex Kiernan --- .../gnutls/gnutls/posix-shell.patch | 39 --- .../{gnutl

Re: [OE-core] [PATCH 14/24] shadow: update 4.6 -> 4.8

2019-12-09 Thread Alex Kiernan
result in: > - > -username:17238:0:9:7::: > -whilst creating the same user tomorrow will result in: > - > -username:17239:0:9:7::: > -This has an impact for the Reproducible Builds[0] project where we aim to > -be independent of as many elements the build environment

[OE-core] [OE-Core][PATCH] openssh: Upgrade 8.0p1 -> 8.1p1

2019-12-01 Thread Alex Kiernan
Drop upstream backport of integer overflow in XMSS private key parsing. Add PACKAGECONFIG for kerberos, libedit and ldns. If api-documentation is enabled then install man(7) manpages rather than catman pages. License-Update: convert to UTF-8 Signed-off-by: Alex Kiernan --- ...eger-overflow

Re: [OE-core] [PATCH v4 2/2] image_types: add Zstandard conversion support

2019-11-20 Thread Alex Kiernan
MD_lz4 = "lz4 -9 -z -l ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} > ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.lz4" > CONVERSION_CMD_lzo = "lzop -9 ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}" > CONVERSION_CMD_zip = "zip ${ZIP_CO

Re: [OE-core] [PATCH v4 2/2] image_types: add Zstandard conversion support

2019-11-20 Thread Alex Kiernan
ller compressed size. > Plus the benefit that smaller images are faster to load > from network/storage. > I've been carrying similar functionality locally and at some point pushed to `--ultra -22` and with a large image (~2GiB) the compression stage then took literally hours. Not sure I

Re: [OE-core] [PATCH v3 1/2] zstd: move recipe to oe-core from meta-oe

2019-11-19 Thread Alex Kiernan
> >> > Zstd support through packageconfig currently. > >> > >> Any update/thoughts on this? > > > > I've not made a final decision on whether to merge it fails selftests > > due to a lack of a maintainer: > > Alex, would you be OK with you lis

<    1   2   3   4   5   6   7   >