Re: [OE-core] [PATCH 3/3] weston-init: mimic systemd behavior when running in sysvinit

2023-08-04 Thread Khem Raj
On Fri, Aug 4, 2023 at 1:05 PM Otavio Salvador wrote: > > The systemd uses /run/wayland-0 as global socket and it is important to > align the behavior so it avoids diverging when using sysvinit. Another > change is installing the ${sysconfdir}/profile.d/weston-socket.sh script > also aligning the

Re: [OE-core] [PATCH 1/3] glibc: Upgrade to 2.38 release

2023-08-04 Thread Alexandre Belloni via lists.openembedded.org
Hello, This caused failures: https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/7616/steps/11/logs/stdio ERROR: glibc-tests-2.38-r0 do_package_qa: QA Issue: /usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-y2039-time64 contained in package glibc-tests requires

[OE-core] [PATCH] go: upgrade 1.20.6 -> 1.20.7

2023-08-04 Thread Sakib Sajal via lists.openembedded.org
Upgrade to latest 1.20.x release [1]: $ git log --oneline go1.20.6..go1.20.7 origin/release-branch.go1.20 adb775e309 (tag: go1.20.7, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.7 659f2a2207 [release-branch.go1.20] crypto/tls: restrict RSA keys in certificates to <= 8192 bits

[OE-core] [PATCH] base-files: bump PR because conf files are now sorted

2023-08-04 Thread Alexandre Belloni via lists.openembedded.org
From: Alexandre Belloni Signed-off-by: Alexandre Belloni --- meta/recipes-core/base-files/base-files_3.0.14.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb index

[OE-core] [PATCH 3/3] weston-init: mimic systemd behavior when running in sysvinit

2023-08-04 Thread Otavio Salvador
The systemd uses /run/wayland-0 as global socket and it is important to align the behavior so it avoids diverging when using sysvinit. Another change is installing the ${sysconfdir}/profile.d/weston-socket.sh script also aligning the behaviors. The commit modifies the behavior of the weston-init

[OE-core] [PATCH 2/3] weston-init: fix init code indentation

2023-08-04 Thread Otavio Salvador
Tested-by: Tom Hochstein Signed-off-by: Otavio Salvador --- meta/recipes-graphics/wayland/weston-init/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/wayland/weston-init/init b/meta/recipes-graphics/wayland/weston-init/init index

[OE-core] [PATCH 1/3] weston-init: remove misleading comment about udev rule

2023-08-04 Thread Otavio Salvador
The udev rule has been removed but the comment has kept, by mistake. Remove it. Fixes: dd83fb40f7 ("weston-init: Stop running weston as root") Tested-by: Tom Hochstein Signed-off-by: Otavio Salvador --- meta/recipes-graphics/wayland/weston-init.bb | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH v2] kernel: don't fail if Modules.symvers doesn't exist

2023-08-04 Thread Patrick Williams
From: Joel Stanley Kernels that do not use modules do not have the Modules.symvers file, which causes the previous one-liner to fail. Invert the logic so that the absence of the Modules.symvers is a passing situation but we still get failure checking on the install operation. Signed-off-by:

[OE-core] [PATCH v2 6/6] glibc: Fix SVE detection on aarch64

2023-08-04 Thread Khem Raj
Signed-off-by: Khem Raj --- ...e-Pass-mcpu-along-with-march-to-dete.patch | 56 +++ meta/recipes-core/glibc/glibc_2.38.bb | 2 + 2 files changed, 58 insertions(+) create mode 100644

[OE-core] [PATCH v2 5/6] glibc: Drop --enable-tunables

2023-08-04 Thread Khem Raj
Its removed and is implicit default in 2.38+ [1] [1] https://mail.gnu.org/archive/html/info-gnu/2023-07/msg00010.html Signed-off-by: Khem Raj --- v2: Rebase meta/recipes-core/glibc/glibc_2.38.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-core/glibc/glibc_2.38.bb

[OE-core] [PATCH v2 4/6] glibc: Enable fortify sources by defaults

2023-08-04 Thread Khem Raj
Signed-off-by: Khem Raj --- v2: Rebase meta/recipes-core/glibc/glibc_2.38.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/glibc/glibc_2.38.bb b/meta/recipes-core/glibc/glibc_2.38.bb index 851aa612b1e..94bff8f4486 100644 --- a/meta/recipes-core/glibc/glibc_2.38.bb +++

[OE-core] [PATCH v2 3/6] glibc: Upgrade to 2.38 release

2023-08-04 Thread Khem Raj
Announcement - https://mail.gnu.org/archive/html/info-gnu/2023-07/msg00010.html Signed-off-by: Khem Raj --- v2: Rebase meta/conf/distro/include/tcmode-default.inc | 2 +- ...2.37.bb => cross-localedef-native_2.38.bb} | 0 meta/recipes-core/glibc/glibc-common.inc | 3 +-

[OE-core] [PATCH v2 2/6] arch-armv8,arch-armv9: Add sve based tune options

2023-08-04 Thread Khem Raj
Signed-off-by: Khem Raj --- v2: Rebased meta/conf/machine/include/arm/arch-armv8-2a.inc | 7 ++- meta/conf/machine/include/arm/arch-armv8-4a.inc | 7 ++- meta/conf/machine/include/arm/arch-armv8-5a.inc | 7 ++- meta/conf/machine/include/arm/arch-armv9a.inc | 7 ++- 4 files

[OE-core] [PATCH v2 1/6] tunes: Add support for sve instructions on armv8/armv9

2023-08-04 Thread Khem Raj
This helps in defining correct compiler options and configure options for glibc and overall ABI for toolchain Signed-off-by: Khem Raj --- v2: Rebase meta/conf/machine/include/arm/feature-arm-sve.inc | 5 + 1 file changed, 5 insertions(+) create mode 100644

Re: [OE-core] [PATCH v4] sstatesig: Fix pn and taskname derivation in find_siginfo

2023-08-04 Thread Richard Purdie
On Thu, 2023-07-13 at 02:16 +, Yang Xu via lists.openembedded.org wrote: > From: Yang Xu > > The `bb.siggen.compare_sigfiles` method transforms the key format from > `[mc::][virtual:][native:]:` to > `/:[:virtual][:native][:mc:]` > by `clean_basepaths`. However, `find_siginfo` uses the

[OE-core] [PATCH] mdadm: save ptest logs

2023-08-04 Thread Ovidiu Panait via lists.openembedded.org
From: Ovidiu Panait Run test script with --save-logs and --logdir parameters, so the log files can be retrieved in case of failure. Signed-off-by: Ovidiu Panait --- meta/recipes-extended/mdadm/files/run-ptest | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git

[OE-core] [PATCH] systemd: depend on util-linux's swapon/off

2023-08-04 Thread Ross Burton
From: Ross Burton systemd brings up swap partitions with swapon --fixpgsz, which busybox's implementation doesn't support. Signed-off-by: Ross Burton --- meta/recipes-core/systemd/systemd_254.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH] systemd: Point to target binary paths for loadkeys and setfont

2023-08-04 Thread Khem Raj
On 8/4/23 8:27 AM, Ross Burton wrote: On 3 Aug 2023, at 05:39, Khem Raj via lists.openembedded.org wrote: + -Dloadkeys-path=${base_bindir}/loadkeys \ + -Dsetfont-path=${base_bindir}/setfont” From systemctl status systemd-vconsole-setup: Aug 04 15:12:21

[OE-core] [PATCH] systemd: set correct paths for kdb binaries

2023-08-04 Thread Ross Burton
From: Ross Burton The kbd binaries (loadkeys and setfont) are installed to bindir, not base_bindir. Fixes: 94ccc7acc4a871f5bb7ab8e135e70b5519eff6ad Signed-off-by: Ross Burton --- meta/recipes-core/systemd/systemd_254.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [OE-Core][PATCH v10][master-next 3/5] opkg-utils: add acl and xattr support

2023-08-04 Thread Khem Raj
On 7/24/23 1:46 PM, Piotr Łobacz wrote: Add support for tar archives created with --acls and/or --xattrs options, PAX header format. GNU tar and libarchive already supports ACLs and extended attributes. We can now add this support as well to opkg-build script in order to use fsetattr or setcap

Re: [OE-core] [PATCH] systemd: Point to target binary paths for loadkeys and setfont

2023-08-04 Thread Ross Burton
On 3 Aug 2023, at 05:39, Khem Raj via lists.openembedded.org wrote: > + -Dloadkeys-path=${base_bindir}/loadkeys \ > + -Dsetfont-path=${base_bindir}/setfont” From systemctl status systemd-vconsole-setup: Aug 04 15:12:21 qemu-generic-arm64

Re: [OE-core] [PATCH] externalsrc: fix dependency chain issues

2023-08-04 Thread Richard Purdie
On Wed, 2023-08-02 at 11:26 +0200, Peter Suti wrote: > On Mon, Jul 31, 2023 at 2:33 PM Richard Purdie > wrote: > > > > I did look at the bug and it sounds like if you clean a recipe, builds > > of other recipes which depend upon it then fail? > > Well not just in this case specifically, it is

Re: [OE-core] [PATCH 2/2] glibc: Enable mathvec when sve is available as tune feature

2023-08-04 Thread Khem Raj
On Fri, Aug 4, 2023 at 4:40 AM Ross Burton wrote: > > On 25 Jul 2023, at 04:56, Khem Raj via lists.openembedded.org > wrote: > > > > Signed-off-by: Khem Raj > > --- > > meta/recipes-core/glibc/glibc_2.37.bb | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git

Re: [OE-core] [PATCH 2/2] glibc: Enable mathvec when sve is available as tune feature

2023-08-04 Thread Ross Burton
On 25 Jul 2023, at 04:56, Khem Raj via lists.openembedded.org wrote: > > Signed-off-by: Khem Raj > --- > meta/recipes-core/glibc/glibc_2.37.bb | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-core/glibc/glibc_2.37.bb >

Re: [OE-core] [PATCH v7] systemd: update to v254

2023-08-04 Thread Alexandre Belloni via lists.openembedded.org
On 03/08/2023 19:34:15+0100, Luca Bocassi wrote: > On Thu, 3 Aug 2023 at 00:16, Luca Boccassi wrote: > > > > On Wed, 2 Aug 2023 at 20:27, Khem Raj wrote: > > > > > > On 8/2/23 11:54 AM, luca.bocca...@gmail.com wrote: > > > > From: Luca Boccassi > > > > > > > > - Drop dependency on gnu-efi, add

Re: [OE-Core][PATCH v12 4/7] sstate.bbclass: add support for ACLs and xattr

2023-08-04 Thread Jose Quaresma
Piotr Łobacz escreveu no dia sexta, 4/08/2023 à(s) 09:45: > Extend `tar` command, with additional parameters, depending > on choosen package class and target distro features, in order > to support ACLs and xattr. > > Additionaly set archive posix format, in order to preserve > milliseconds in

Re: [oe-core][PATCH 5/6] packagefeed.bbclass: Add new bbclass for building feeds.

2023-08-04 Thread Alexander Kanavin
On Fri, 4 Aug 2023 at 01:53, Charlie Johnston wrote: > Got it. Is running runtime_test.TestImage.test_testimage_dnf sufficient for > testing the change? Or are there specific images I should try with testimage? core-image-minimal, core-image-full-cmdline, core-image-sato, core-image-sato-sdk

ODP: [OE-Core][PATCH v12 1/7] path.py: add support for ACLs and all additional attributes

2023-08-04 Thread Piotr Łobacz
Hi Alexandre, Richard, I have finally fixed it and testes with `oe-selftest -r reproducible` tests. which resulted me with: plobacz@latitude:/media/plobacz/9582beb9-8774-4d4d-976f-63a6f1c87c13/poky-contrib$ oe-selftest -r reproducible 2023-08-03 10:31:57,100 - oe-selftest - INFO - Changing cwd

[OE-Core][PATCH v12 7/7] opkg: set locale from system environment variables

2023-08-04 Thread Piotr Łobacz
A C program inherits its locale environment variables when it starts up. This happens automatically. However, these variables do not automatically control the locale used by the library functions, because ISO C says that all programs start by default in the standard ‘C’ locale. Fixes warnings:

[OE-Core][PATCH v12 5/7] opkg-utils: add acl and xattr support

2023-08-04 Thread Piotr Łobacz
Add support for tar archives created with --acls and/or --xattrs options, PAX header format. GNU tar and libarchive already supports ACLs and extended attributes. We can now add this support as well to opkg-build script in order to use fsetattr or setcap inside do_install command and end up with

[OE-Core][PATCH v12 6/7] opkg: add options to enable support for acl and xattr

2023-08-04 Thread Piotr Łobacz
The libarchive library, which is being used by opkg, supports ACLs and xattr already. More informations can be read at this link: https://github.com/libarchive/libarchive/pull/691 Signed-off-by: Piotr Łobacz --- ...-to-enable-support-for-acl-and-xattr.patch | 70 +++

[OE-Core][PATCH v12 4/7] sstate.bbclass: add support for ACLs and xattr

2023-08-04 Thread Piotr Łobacz
Extend `tar` command, with additional parameters, depending on choosen package class and target distro features, in order to support ACLs and xattr. Additionaly set archive posix format, in order to preserve milliseconds in timestamps for reproducibility tests. Currently only `package_ipk`

[OE-Core][PATCH v12 1/7] path.py: add support for ACLs and all additional attributes

2023-08-04 Thread Piotr Łobacz
Extend `tar` command inside copytree() and copyhardlinktree() functions, with additional parameters, in order to support ACLs and xattr. The posix format doesn't need to be set in here, as GNU tar switches to it whenewer is uses --acls and/or --xattrs parameters. Additionaly change preservation

[OE-Core][PATCH v12 3/7] package.bbclass: add support for ACLs and xattr

2023-08-04 Thread Piotr Łobacz
Extend `tar` command, with additional parameters, depending on choosen package class and target distro features, in order to support ACLs and xattr. Currently only `package_ipk` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 9 +++-- 1

[OE-Core][PATCH v12 2/7] package_ipk.bbclass: add support for ACLs and xattr

2023-08-04 Thread Piotr Łobacz
Extend OPKGBUILDCMD variable, with additional parameters, depending on target distro features, in order to support ACLs and xattr. With fix pushed to the opkg-devel: https://groups.google.com/g/opkg-devel/c/dYNHrLjDwg8 opkg-build is able to create tar archives with ACLs and xattr. Signed-off-by:

[OE-core] [PATCH] kea: upgrade to v2.5.0

2023-08-04 Thread Sudip Mukherjee
Changes: Update license checksum: change in copyright year. Update sha256sum for new version. Signed-off-by: Sudip Mukherjee --- meta/recipes-connectivity/kea/{kea_2.2.0.bb => kea_2.5.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename

[OE-core] [PATCH v2 3/3] oeqa/selftest/glibc: Add elapsed time for glibc test report.

2023-08-04 Thread Shinde, Yash via lists.openembedded.org
From: Yash Shinde Capture the time taken for glibc test execution and pass it for inclusion in the test report. [YOCTO #15165] Signed-off-by: Yash Shinde --- meta/lib/oeqa/selftest/cases/glibc.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH v2 2/3] oeqa/selftest/gcc: Add elapsed time for gcc test report.

2023-08-04 Thread Shinde, Yash via lists.openembedded.org
From: Yash Shinde Capture the time taken for gcc test execution and pass it for inclusion in the test report. [YOCTO #15165] Signed-off-by: Yash Shinde --- meta/lib/oeqa/selftest/cases/gcc.py | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH v2 1/3] oeqa/selftest/binutils: Add elapsed time for binutils test report.

2023-08-04 Thread Shinde, Yash via lists.openembedded.org
From: Yash Shinde Capture the time taken for binutils test execution and pass it for inclusion in the test report. [YOCTO #15165] Signed-off-by: Yash Shinde --- meta/lib/oeqa/selftest/cases/binutils.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH v2] oeqa/selftest/glibc: Add elapsed time for glibc test report.

2023-08-04 Thread Shinde, Yash via lists.openembedded.org
From: Yash Shinde Capture the time taken for glibc test execution and pass it for inclusion in the test report. [YOCTO #15165] Signed-off-by: Yash Shinde --- meta/lib/oeqa/selftest/cases/glibc.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git