Re: [OE-core] [PATCH 3/3] systemd: Build the systemctl executable

2025-02-03 Thread Alex Kiernan via lists.openembedded.org
the history of systemd taking patches which don't match their use cases (which I don't believe this does) is frankly very poor. -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#210635): https://lists.openembedded.org/g/openemb

[OE-core] [PATCH v2 2/2] avahi: Switch RRECOMMENDS to avahi-libnss-mdns

2025-02-01 Thread Alex Kiernan via lists.openembedded.org
Rather than using the RPROVIDES on libnss-mdns which comes from avahi-libnss-mdns, RRECOMMENDS avahi-libnss-mdns directly to avoid picking any other version. Signed-off-by: Alex Kiernan --- meta/recipes-connectivity/avahi/avahi_0.8.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[OE-core] [PATCH v2 1/2] nss-mdns: Rename recipe to avahi-libnss-mdns

2025-02-01 Thread Alex Kiernan via lists.openembedded.org
meta-networking has Apple's mDNSResponder which also delivers libnss-mdns nsswitch plugin. Rename this recipe to avahi-libss-mdns and add an RPROVIDE so that either than be chosen. Signed-off-by: Alex Kiernan --- Add missing Sob. meta/conf/distro/include/distro_alia

[OE-core] [OE-Core 2/2] avahi: Switch RRECOMMENDS to avahi-libnss-mdns

2025-02-01 Thread Alex Kiernan via lists.openembedded.org
Rather than using the RPROVIDES on libnss-mdns which comes from avahi-libnss-mdns, RRECOMMENDS avahi-libnss-mdns directly to avoid picking any other version. Signed-off-by: Alex Kiernan --- meta/recipes-connectivity/avahi/avahi_0.8.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[OE-core] [OE-Core 1/2] nss-mdns: Rename recipe to avahi-libnss-mdns

2025-02-01 Thread Alex Kiernan via lists.openembedded.org
meta-networking has Apple's mDNSResponder which also delivers libnss-mdns nsswitch plugin. Rename this recipe to avahi-libss-mdns and add an RPROVIDE so that either than be chosen. --- meta/conf/distro/include/distro_alias.inc | 2 +- meta/conf/distro/include/maintainers.inc

[OE-core] [PATCH] alsa-utils: Backport fix for alsa_restore_go/std

2025-01-31 Thread Alex Kiernan via lists.openembedded.org
Fix the label mismatch which was introduced in the transition from the temporary test rules: udevd[120]: GOTO 'alsa_restore_std' has no matching label in: '/lib/udev/rules.d/90-alsa-restore.rules' Signed-off-by: Alex Kiernan --- ...restore.rules-fix-alsa_rest

[OE-core] [PATCH v2] linux-firmware: Add RTL8723DS blobs into ${PN}-rtl8723

2025-01-30 Thread Alex Kiernan via lists.openembedded.org
The Realtek 8723DS WiFi blobs are under rtw88 and the BT blobs are under rtl_bt, add both those into the rtl8723 package. Signed-off-by: Alex Kiernan --- meta/recipes-kernel/linux-firmware/linux-firmware_20250109.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-kernel/linux

[OE-core] [PATCH] linux-firmware: Add RTL8723DS blobs into ${PN}-rtl8723

2025-01-30 Thread Alex Kiernan via lists.openembedded.org
The Realtek 8723DS blobs are under rtw88, add those into the rtl8723 package. Signed-off-by: Alex Kiernan --- meta/recipes-kernel/linux-firmware/linux-firmware_20250109.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20250109.bb b/meta

Re: [OE-core] [PATCH 1/3] systemd-systemctl: add support for --global flag

2025-01-15 Thread Alex Kiernan via lists.openembedded.org
On Mon, Jan 13, 2025 at 9:18 PM Artur Kowalski wrote: > > > W dniu 12.01.2025 o 16:34, Alex Kiernan pisze: > > On Sun, Jan 12, 2025 at 2:40 PM Artur Kowalski via > > lists.openembedded.org > > wrote: > >> The flag is similar to --user flag as it causes sys

Re: [OE-core] [PATCH 1/3] systemd-systemctl: add support for --global flag

2025-01-12 Thread Alex Kiernan via lists.openembedded.org
e in args.service: > try: > -SystemdUnit(root, service).mask() > +SystemdUnit(root, service, unit_type).mask() > except SystemdUnitNotFoundError as e: > sys.exit("Error: Systemctl main mask issue in %s (%s)"

Re: [OE-core] [PATCH 1/9] rust: Oe-selftest fixes for rust v1.76.

2024-07-01 Thread Alex Kiernan
done getting all of this in place (and fingers crossed it makes it through the autobuilders) - this stuff is incredibly painful to move forwards! -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#201296): https://lists.openembedd

Re: [OE-core] Debugging rust oe-selftest failures

2024-04-05 Thread Alex Kiernan
On Thu, Apr 4, 2024 at 10:07 AM Yash Shinde via lists.openembedded.org wrote: > > On Wed, Apr 3, 2024 at 05:51 PM, Alex Kiernan wrote: > > Hi Sundeep (or anyone else with insight on this!) > > How do you go about debugging rust oe-selftest failures? I've bumped > ev

[OE-core] Debugging rust oe-selftest failures

2024-04-03 Thread Alex Kiernan
m/akiernan/6cc6131c1ec3af866098a9318679cf1b Any clues? -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197915): https://lists.openembedded.org/g/openembedded-core/message/197915 Mute This Topic: https://lists.openembedded.org/mt/105307188/2

Re: [OE-core] [PATCH 35/47] python3-jsonschema: upgrade 4.17.3 -> 4.21.1 and add new dependencies

2024-03-13 Thread Alex Kiernan
[dependencies.pyo3] > version = "0.20.2" > -features = ["extension-module"] > +features = ["extension-module", "abi3-py37"] > It's not clear from the cargo docs, but I _think_ you might be able to achieve this using: CARGO_BUILD_FLAGS += &

Re: [OE-core][PATCH] sstate-cache-management: fix regex for 'sigdata' stamp files

2024-02-16 Thread Alex Kiernan
([^.]*)") > all_sums |= set( > [ > re_sigdata.search(x.parts[-1]).group(1) > -- > 2.44.0.rc0.258.g7320e95886-goog > > > > -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [OE-core] [PATCH 4/4] rust: Upgrade 1.74.1 -> 1.75.0

2024-01-14 Thread Alex Kiernan
On Thu, Jan 11, 2024 at 2:54 PM Sundeep KOKKONDA via lists.openembedded.org wrote: > > On Tue, Jan 2, 2024 at 02:54 PM, Alex Kiernan wrote: > > Closing this off - for whatever reason the buildpaths check wasn't > getting run when I was testing stuff, so what I thought

Re: [OE-Core][RFC PATCH] sstate-cache-management: Rewrite in python

2024-01-08 Thread Alex Kiernan
ill be removed! > ... > 14339 files have been removed! > 77G sstate-cache/ > nanbield $ du -hs sstate-cache/; > ../scarthgap/openembedded-core/scripts/sstate-cache-management.py -d > --cache-dir=sstate-cache; du -hs sstate-cache/ > 77G sstate-cache/ > 43490 out

Re: [OE-Core][PATCH 4/4] rust: Upgrade 1.74.1 -> 1.75.0

2024-01-02 Thread Alex Kiernan
On Sun, Dec 31, 2023 at 2:34 PM Alex Kiernan via lists.openembedded.org wrote: > > On Sun, Dec 31, 2023 at 2:23 PM Richard Purdie > wrote: > > > > On Sat, 2023-12-30 at 15:49 +, Alex Kiernan wrote: > > > Drop backported musl fixes. Set `change-id` rather than

Re: [OE-Core][PATCH 4/4] rust: Upgrade 1.74.1 -> 1.75.0

2023-12-31 Thread Alex Kiernan
On Sun, Dec 31, 2023 at 2:23 PM Richard Purdie wrote: > > On Sat, 2023-12-30 at 15:49 +, Alex Kiernan wrote: > > Drop backported musl fixes. Set `change-id` rather than `changelog-seen` > > to fix build warning. Add fixes for 85c0ce24cc74 ("remap cargo > > depen

[OE-Core][PATCH 2/4] cargo: Create CARGO_HOME and CARGO_VENDORING_DIRECTORY

2023-12-30 Thread Alex Kiernan
Remove assumption that CARGO_VENDORING_DIRECTORY is ${CARGO_HOME}/bitbake and create both directories as part of cargo configure. Signed-off-by: Alex Kiernan --- meta/classes-recipe/cargo_common.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe

[OE-Core][PATCH 3/4] cargo: Move vendor directory to registry/src

2023-12-30 Thread Alex Kiernan
ing issues. Signed-off-by: Alex Kiernan --- This requires the concomitant change in bitbake to use CARGO_VENDORING_DIRECTORY for unpacking crates into. meta/classes-recipe/cargo_common.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/cargo_common.

[OE-Core][PATCH 1/4] rust: Move RUST_DIST_SERVER to rust-config.inc

2023-12-30 Thread Alex Kiernan
Overriding the location of RUST_DIST_SERVER is useful for testing rust pre-releases, but we need it in rust-source and rust-snapshot; move RUST_DIST_SERVER to rust-config.inc so we can set it to `dev-static.rust-lang.org` and use it from both locations. Signed-off-by: Alex Kiernan --- meta

Re: [OE-Core][PATCH v4 00/10] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-30 Thread Alex Kiernan
On Sat, Dec 30, 2023 at 11:08 AM Richard Purdie wrote: > > On Fri, 2023-12-29 at 11:44 +, Alex Kiernan wrote: > > This is the 1.74.1 rust series rebased to include a revert of > > https://github.com/rust-lang/cc-rs/commit/c4f414f449bb7cffba3bc923f277704d1d08a8ec > >

Re: [OE-Core][PATCH v4 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-30 Thread Alex Kiernan
another thing which needs fixing; also I think I've got 1.75.0 building now, which obviously sits on top of this series! -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#193067): https://lists.openembedded.org/g/openembedded-cor

[OE-Core][PATCH v4 10/10] rust: Upgrade 1.74.0 -> 1.74.1

2023-12-29 Thread Alex Kiernan
https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/recipes-devtools/rust/{cargo_1.74.0.bb => cargo_1.74.1.bb} | 0 .../rust/{libstd-rs_1.74.0.bb => libstd-rs_1.74.1.bb} | 0 ...t-cross-canadian_1.74.0.bb => r

[OE-Core][PATCH v4 00/10] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-29 Thread Alex Kiernan
not reproducible Changes in v3: - Add hello-rs as a replacement for the tests which used zvariant Changes in v2: - Skip zvariant based test rather than deleting it. Alex Kiernan (10): devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality

[OE-Core][PATCH v4 07/10] rust: Upgrade 1.72.0 -> 1.72.1

2023-12-29 Thread Alex Kiernan
https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} | 0 .../rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb} | 0 ...t-cross-canadian_1.72.0.bb => r

[OE-Core][PATCH v4 08/10] rust: Upgrade 1.72.1 -> 1.73.0

2023-12-29 Thread Alex Kiernan
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} | 0 ...-Do-not-use-LFS64-on-linux-with-musl.patch | 36 +- .../rust/fi

[OE-Core][PATCH v4 05/10] zvariant: Drop recipe

2023-12-29 Thread Alex Kiernan
This fails to build with newer rust Signed-off-by: Alex Kiernan --- (no changes since v1) .../zvariant/zvariant-crates.inc | 258 .../zvariant/zvariant-git-crates.inc | 14 - .../0001-Tweak-zvariant-crate-config.patch| 1292 - .../zvariant

[OE-Core][PATCH v4 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-29 Thread Alex Kiernan
Signed-off-by: Alex Kiernan --- Changes in v4: - Mark hello-rs as EXCLUDE_FROM_WORLD as it's not reproducible .../hello-rs/hello-rs-crates.inc | 8 +++ .../hello-rs/0001-Greet-OE-Core.patch | 24 +++ .../hello-rs/hello-rs_0.1.0.bb

[OE-Core][PATCH v4 04/10] devtool: selftest: Swap to hello-rs for crates testing

2023-12-29 Thread Alex Kiernan
zvariant fails to build with newer rust Signed-off-by: Alex Kiernan --- (no changes since v3) Changes in v3: - Add hello-rs as a replacement for the tests which used zvariant Changes in v2: - Skip zvariant based test rather than deleting it. meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1

[OE-Core][PATCH v4 02/10] devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check

2023-12-29 Thread Alex Kiernan
The recipe being tested is in `testrecipe`, use that rather than the literal `zvariant`. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b

[OE-Core][PATCH v4 01/10] devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality

2023-12-29 Thread Alex Kiernan
test_devtool_modify_git_crates_subpath expects 2 or more git URIs, change the test from Greater to GreateEqual. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa

Re: [OE-Core][PATCH v3 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-29 Thread Alex Kiernan
uilder.yoctoproject.org/typhoon/#/builders/117/builds/4159/steps/13/logs/stdio > > https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231228-881dx278/packages/diff-html/ > > On 28/12/2023 14:59:10+, Alex Kiernan wrote: > > Signed-off-by: Alex Kiernan > > --- >

[OE-Core][PATCH v3 10/10] rust: Upgrade 1.74.0 -> 1.74.1

2023-12-28 Thread Alex Kiernan
https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/recipes-devtools/rust/{cargo_1.74.0.bb => cargo_1.74.1.bb} | 0 .../rust/{libstd-rs_1.74.0.bb => libstd-rs_1.74.1.bb} | 0 ...t-cross-canadian_1.74.0.bb => r

[OE-Core][PATCH v3 08/10] rust: Upgrade 1.72.1 -> 1.73.0

2023-12-28 Thread Alex Kiernan
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} | 0 ...-Do-not-use-LFS64-on-linux-with-musl.patch | 36 +- .../rust/fi

[OE-Core][PATCH v3 07/10] rust: Upgrade 1.72.0 -> 1.72.1

2023-12-28 Thread Alex Kiernan
https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} | 0 .../rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb} | 0 ...t-cross-canadian_1.72.0.bb => r

[OE-Core][PATCH v3 05/10] zvariant: Drop recipe

2023-12-28 Thread Alex Kiernan
This fails to build with newer rust Signed-off-by: Alex Kiernan --- (no changes since v1) .../zvariant/zvariant-crates.inc | 258 .../zvariant/zvariant-git-crates.inc | 14 - .../0001-Tweak-zvariant-crate-config.patch| 1292 - .../zvariant

[OE-Core][PATCH v3 04/10] devtool: selftest: Swap to hello-rs for crates testing

2023-12-28 Thread Alex Kiernan
zvariant fails to build with newer rust Signed-off-by: Alex Kiernan --- Changes in v3: - Add hello-rs as a replacement for the tests which used zvariant Changes in v2: - Skip zvariant based test rather than deleting it. meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1

[OE-Core][PATCH v3 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-28 Thread Alex Kiernan
Signed-off-by: Alex Kiernan --- (no changes since v1) .../hello-rs/hello-rs-crates.inc | 8 +++ .../hello-rs/0001-Greet-OE-Core.patch | 24 +++ .../hello-rs/hello-rs_0.1.0.bb| 19 +++ 3 files changed, 51 insertions

Re: [OE-Core][PATCH 0/6] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-28 Thread Alex Kiernan
On Wed, Dec 27, 2023 at 6:46 PM Alex Kiernan via lists.openembedded.org wrote: > > On Tue, Dec 26, 2023 at 8:59 AM Alex Kiernan via > lists.openembedded.org > wrote: > > > > On Mon, Dec 25, 2023 at 10:02 PM Richard Purdie > > wrote: > > > > > > O

[OE-Core][PATCH v3 02/10] devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check

2023-12-28 Thread Alex Kiernan
The recipe being tested is in `testrecipe`, use that rather than the literal `zvariant`. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b

[OE-Core][PATCH v3 01/10] devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality

2023-12-28 Thread Alex Kiernan
test_devtool_modify_git_crates_subpath expects 2 or more git URIs, change the test from Greater to GreateEqual. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa

[OE-Core][PATCH v3 00/10] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-28 Thread Alex Kiernan
which used zvariant Changes in v2: - Skip zvariant based test rather than deleting it. Alex Kiernan (10): devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check meta-selftest: hello-rs: Sim

Re: [OE-Core][PATCH 0/6] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-27 Thread Alex Kiernan
On Tue, Dec 26, 2023 at 8:59 AM Alex Kiernan via lists.openembedded.org wrote: > > On Mon, Dec 25, 2023 at 10:02 PM Richard Purdie > wrote: > > > > On Mon, 2023-12-25 at 08:40 +, Richard Purdie via > > lists.openembedded.org wrote: > > > On Sun, 2023-12-2

[OE-Core][PATCH v2 8/8] rust: Upgrade 1.74.0 -> 1.74.1

2023-12-27 Thread Alex Kiernan
https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html Signed-off-by: Alex Kiernan --- Changes in v2: - Skip zvariant based test rather than deleting it. meta/recipes-devtools/rust/{cargo_1.74.0.bb => cargo_1.74.1.bb} | 0 .../rust/{libstd-rs_1.74.0.bb => libstd-rs_1.74.1.bb}

[OE-Core][PATCH v2 6/8] rust: Upgrade 1.72.1 -> 1.73.0

2023-12-27 Thread Alex Kiernan
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} | 0 ...-Do-not-use-LFS64-on-linux-with-musl.patch | 36 +- .../rust/fi

[OE-Core][PATCH v2 5/8] rust: Upgrade 1.72.0 -> 1.72.1

2023-12-27 Thread Alex Kiernan
https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} | 0 .../rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb} | 0 ...t-cross-canadian_1.72.0.bb => r

[OE-Core][PATCH v2 0/8] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-27 Thread Alex Kiernan
based test rather than deleting it. Alex Kiernan (8): devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check devtool: selftest: Skip test_devtool_modify_git_crates_subpath rust: Upgrade 1.71

[OE-Core][PATCH v2 3/8] devtool: selftest: Skip test_devtool_modify_git_crates_subpath

2023-12-27 Thread Alex Kiernan
This fails to build upgrading rust and whilst the upgraded recipe works, it no longer includes the essential things tested; skip it for now. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta

[OE-Core][PATCH v2 1/8] devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality

2023-12-27 Thread Alex Kiernan
test_devtool_modify_git_crates_subpath expects 2 or more git URIs, change the test from Greater to GreateEqual. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa

[OE-Core][PATCH v2 2/8] devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check

2023-12-27 Thread Alex Kiernan
The recipe being tested is in `testrecipe`, use that rather than the literal `zvariant`. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b

[OE-Core][PATCH v2 00/10] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-27 Thread Alex Kiernan
based test rather than deleting it. Alex Kiernan (10): devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check devtool: selftest: Skip test_devtool_modify_git_crates_subpath rust: Upgrade 1.71

Re: [OE-Core][PATCH 0/6] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-26 Thread Alex Kiernan
On Mon, Dec 25, 2023 at 10:02 PM Richard Purdie wrote: > > On Mon, 2023-12-25 at 08:40 +, Richard Purdie via > lists.openembedded.org wrote: > > On Sun, 2023-12-24 at 23:09 +0000, Alex Kiernan wrote: > > > This is the 1.74.1 rust series rebased to include a revert of

[OE-Core][PATCH 1/6] meta-selftest: Drop zvariant recipe

2023-12-24 Thread Alex Kiernan
This now fails as part of upgrading rust and whilst upgrading the recipe resolves the build time issue, the upgraded recipe no longer tests the git crate handling. Signed-off-by: Alex Kiernan --- .../zvariant/zvariant-crates.inc | 258 .../zvariant/zvariant-git-crates.inc

[OE-Core][PATCH 6/6] rust: Upgrade 1.74.0 -> 1.74.1

2023-12-24 Thread Alex Kiernan
https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/{cargo_1.74.0.bb => cargo_1.74.1.bb} | 0 .../rust/{libstd-rs_1.74.0.bb => libstd-rs_1.74.1.bb} | 0 ...t-cross-canadian_1.74.0.bb => rust-cross-canadian_1.74.

[OE-Core][PATCH 4/6] rust: Upgrade 1.72.1 -> 1.73.0

2023-12-24 Thread Alex Kiernan
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html Signed-off-by: Alex Kiernan --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} | 0 ...-Do-not-use-LFS64-on-linux-with-musl.patch | 36 +- .../rust/files/hardcodepaths.pa

[OE-Core][PATCH 3/6] rust: Upgrade 1.72.0 -> 1.72.1

2023-12-24 Thread Alex Kiernan
https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} | 0 .../rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb} | 0 ...t-cross-canadian_1.72.0.bb => rust-cross-canadian_1.72.

[OE-Core][PATCH 0/6] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-24 Thread Alex Kiernan
e example (though who knows for how long!) Assuming this does actually fix the reproducibility issue, I'll look at how we fix the issue properly, rather than just reverting the commit which I think is our problem, but I'd like to try and get us back on the rust release train if we can! Ale

Re: [OE-Core][PATCH] rust: Upgrade 1.71.1 -> 1.74.1

2023-12-23 Thread Alex Kiernan
On Sat, Dec 23, 2023 at 7:32 PM Alex Kiernan via lists.openembedded.org wrote: > > On Fri, Dec 15, 2023 at 5:24 PM Khem Raj wrote: > > > > On Fri, Dec 15, 2023 at 4:41 AM Alex Kiernan wrote: > > > > > > On Thu, Dec 14, 2023 at 10:28 AM Ross Burton wrote: &

Re: [OE-Core][PATCH] rust: Upgrade 1.71.1 -> 1.74.1

2023-12-23 Thread Alex Kiernan
On Fri, Dec 15, 2023 at 5:24 PM Khem Raj wrote: > > On Fri, Dec 15, 2023 at 4:41 AM Alex Kiernan wrote: > > > > On Thu, Dec 14, 2023 at 10:28 AM Ross Burton wrote: > > > > > > On 13 Dec 2023, at 14:06, Richard Purdie via lists.openembedded.org > >

[OE-Core][RFC PATCH v2] sstate-cache-management: Rewrite in python

2023-12-23 Thread Alex Kiernan
This (should be) a drop in replacement for sstate-cache-management.sh. Signed-off-by: Alex Kiernan --- This is hopefully an option compatible drop in for the existing shell sstate-cache-management script. It's orders of magnitude faster, for example removing duplicates, with a warmed

[OE-Core][RFC PATCH] sstate-cache-management: Rewrite in python

2023-12-23 Thread Alex Kiernan
This (should be) a drop in replacement for sstate-cache-management.sh. Signed-off-by: Alex Kiernan --- This is hopefully an option compatible drop in for the existing shell sstate-cache-management script. It's orders of magnitude faster, for example removing duplicates, with a warmed cache a

Re: [OE-core] mdns on musl

2023-12-18 Thread Alex Kiernan
gt; When the system boots it runs mdnsd and I can see it join the > > multicast group in wireshark, but I cannot ping any .local addresses. > > > > > > Is there some other configuration that needs to be done? > > > > > > Has anyone successfully done this

Re: [OE-Core][PATCH] rust: Upgrade 1.71.1 -> 1.74.1

2023-12-15 Thread Alex Kiernan
4082 > > Same failure: > > https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231213-s13b67oz/packages/diff-html/ > > Ross Thanks both. It does look like its just filename churn, but I cannot find where those names actually get generated :| Suspect this will be a report

Re: [OE-Core][PATCH 7/7] rust: Upgrade 1.73.0 -> 1.74.0

2023-12-12 Thread Alex Kiernan
On Tue, Dec 12, 2023 at 4:51 PM Alex Kiernan via lists.openembedded.org wrote: > > On Tue, Dec 12, 2023 at 4:27 PM Randy MacLeod via > lists.openembedded.org > wrote: > > > > On 2023-12-12 11:25 a.m., Randy MacLeod wrote: > > > > On 2023-12-12 5:41 a.m., Ale

Re: [OE-Core][PATCH 7/7] rust: Upgrade 1.73.0 -> 1.74.0

2023-12-12 Thread Alex Kiernan
On Tue, Dec 12, 2023 at 4:27 PM Randy MacLeod via lists.openembedded.org wrote: > > On 2023-12-12 11:25 a.m., Randy MacLeod wrote: > > On 2023-12-12 5:41 a.m., Alex Kiernan via lists.openembedded.org wrote: > > On Sat, Dec 9, 2023 at 2:06 PM Alex Kiernan via lists.openemb

Re: [OE-Core][PATCH 7/7] rust: Upgrade 1.73.0 -> 1.74.0

2023-12-12 Thread Alex Kiernan
On Sat, Dec 9, 2023 at 2:06 PM Alex Kiernan via lists.openembedded.org wrote: > > On Sat, Dec 9, 2023 at 12:18 PM Alexandre Belloni > wrote: > > > > Hello Alex, > > > > rust 1.74.0 is not reproducible: > > https://autobuilder.yocto.io/pub/repro-fail/oe-

Re: [OE-Core][PATCH 3/7] rust: Upgrade 1.71.0 -> 1.71.1

2023-12-11 Thread Alex Kiernan
On Sun, Dec 10, 2023 at 7:39 PM Richard Purdie wrote: > > On Fri, 2023-12-08 at 14:03 +, Alex Kiernan wrote: > > https://blog.rust-lang.org/2023/08/03/Rust-1.71.1.html > > > > Signed-off-by: Alex Kiernan > > --- > > > > meta/recipes-devtools/rus

Re: [OE-Core][PATCH 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-11 Thread Alex Kiernan
On Mon, Dec 11, 2023 at 10:52 AM Alex Kiernan via lists.openembedded.org wrote: > > On Mon, Dec 11, 2023 at 9:43 AM Alex Kiernan wrote: > > > > On Mon, Dec 11, 2023 at 9:28 AM Alexander Kanavin > > wrote: > > > > > > On Mon, 11 Dec 2023 at 10:09, Alex K

Re: [OE-Core][PATCH 3/7] rust: Upgrade 1.71.0 -> 1.71.1

2023-12-11 Thread Alex Kiernan
On Mon, Dec 11, 2023 at 10:01 AM Frédéric Martinsons wrote: > > > > On Mon, 11 Dec 2023 at 10:17, Alex Kiernan wrote: >> >> On Mon, Dec 11, 2023 at 7:15 AM Frédéric Martinsons >> wrote: >> > >> > >> > >> > On Sun, 10 Dec 2023 at

Re: [OE-Core][PATCH 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-11 Thread Alex Kiernan
On Mon, Dec 11, 2023 at 9:43 AM Alex Kiernan wrote: > > On Mon, Dec 11, 2023 at 9:28 AM Alexander Kanavin > wrote: > > > > On Mon, 11 Dec 2023 at 10:09, Alex Kiernan wrote: > > > In a single project there are (potentially) multiple Cargo.toml, but > > > j

Re: [OE-Core][PATCH 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-11 Thread Alex Kiernan
On Mon, Dec 11, 2023 at 9:28 AM Alexander Kanavin wrote: > > On Mon, 11 Dec 2023 at 10:09, Alex Kiernan wrote: > > In a single project there are (potentially) multiple Cargo.toml, but > > just one Cargo.lock. If there's multiple Cargo.lock files in a repo, > > t

Re: [OE-Core][PATCH 3/7] rust: Upgrade 1.71.0 -> 1.71.1

2023-12-11 Thread Alex Kiernan
On Mon, Dec 11, 2023 at 7:15 AM Frédéric Martinsons wrote: > > > > On Sun, 10 Dec 2023 at 21:28, Alex Kiernan wrote: >> >> On Sun, Dec 10, 2023 at 7:39 PM Richard Purdie >> wrote: >> > >> > On Fri, 2023-12-08 at 14:03 +, Alex Kiernan wrote: &

Re: [OE-Core][PATCH 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-11 Thread Alex Kiernan
s. > In a single project there are (potentially) multiple Cargo.toml, but just one Cargo.lock. If there's multiple Cargo.lock files in a repo, that implies multiple projects which I don't think we've any way of building from a single recipe. -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=

Re: [OE-Core][PATCH 3/7] rust: Upgrade 1.71.0 -> 1.71.1

2023-12-10 Thread Alex Kiernan
On Sun, Dec 10, 2023 at 7:39 PM Richard Purdie wrote: > > On Fri, 2023-12-08 at 14:03 +, Alex Kiernan wrote: > > https://blog.rust-lang.org/2023/08/03/Rust-1.71.1.html > > > > Signed-off-by: Alex Kiernan > > --- > > > > meta/recipes-devtools/rus

[OE-Core][PATCH 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-10 Thread Alex Kiernan
: Alex Kiernan --- .../cargo-update-recipe-crates.bbclass| 30 +-- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/meta/classes-recipe/cargo-update-recipe-crates.bbclass b/meta/classes-recipe/cargo-update-recipe-crates.bbclass index 8980137d02cf..59415ee8cb45

Re: [OE-core] [PATCH 1/2] rust: Upgrade 1.70.0 -> 1.73.0

2023-12-08 Thread Alex Kiernan
On Fri, Dec 8, 2023 at 1:55 PM Richard Purdie wrote: > > On Fri, 2023-12-08 at 13:47 +, Alex Kiernan wrote: > > On Fri, Dec 8, 2023 at 9:56 AM Shinde, Yash via lists.openembedded.org > > wrote: > > > > > > From: Yash Shinde > > > > > >

[OE-Core][PATCH 6/7] rust: Upgrade 1.72.1 -> 1.73.0

2023-12-08 Thread Alex Kiernan
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html Signed-off-by: Alex Kiernan --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} | 0 ...-Do-not-use-LFS64-on-linux-with-musl.patch | 36 +- .../rust/files/hardcodepaths.pa

[OE-Core][PATCH 5/7] rust: Upgrade 1.72.0 -> 1.72.1

2023-12-08 Thread Alex Kiernan
https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} | 0 .../rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb} | 0 ...t-cross-canadian_1.72.0.bb => rust-cross-canadian_1.72.

[OE-Core][PATCH 3/7] rust: Upgrade 1.71.0 -> 1.71.1

2023-12-08 Thread Alex Kiernan
https://blog.rust-lang.org/2023/08/03/Rust-1.71.1.html Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/{cargo_1.71.0.bb => cargo_1.71.1.bb} | 0 .../rust/{libstd-rs_1.71.0.bb => libstd-rs_1.71.1.bb} | 0 ...t-cross-canadian_1.71.0.bb => rust-cross-canadian_1.71.

[OE-Core][PATCH 1/7] rust: Disable rust oe-selftest

2023-12-08 Thread Alex Kiernan
ust-lang/rust/issues/115642 https://users.rust-lang.org/t/does-rust-test-suite-supports-nightly-options-during-bootstrapping-in-rust/103108 https://users.rust-lang.org/t/unable-to-read-target-specs-when-rust-1-73-is-bootstrapped-in-yocto-poky/102959 Signed-off-by: Yash Shinde Signed-off-by: Alex Kie

Re: [OE-core] [PATCH 1/2] rust: Upgrade 1.70.0 -> 1.73.0

2023-12-08 Thread Alex Kiernan
road of disabling the rust oe-selftest (and I don't see a better option right now as we're well behind), I have a series which steps us through each of the releases up to 1.74.0. It also avoids the need for the library/test hack (upstream has a new target we can use for libstd). -- Alex Kiern

[OE-Core][PATCH v2 4/4] cargo: Add CARGO_LOCK_PATH for path to Cargo.lock

2023-12-08 Thread Alex Kiernan
When building a workspace enabled project, the Cargo.lock is found at the root of the project, not alongside the Cargo.toml. Expose CARGO_LOCK_PATH so it can be explicitly configured. Signed-off-by: Alex Kiernan --- Changes in v2: - Change CARGO_LOCK_PATH to a weak-default meta/classes-recipe

[OE-Core][PATCH v2 3/4] rust: cargo: Convert single-valued variables to weak defaults

2023-12-08 Thread Alex Kiernan
All of these variables are single-valued, so we can use weak-defaults for them and only see the final assignment after parsing. Signed-off-by: Alex Kiernan --- Changes in v2: - New in v2 meta/classes-recipe/cargo_common.bbclass | 6 +++--- meta/classes-recipe/rust-common.bbclass | 4 ++-- 2

[OE-Core][PATCH v2 1/4] cargo: Rename MANIFEST_PATH -> CARGO_MANIFEST_PATH

2023-12-08 Thread Alex Kiernan
This variable is a piece of recipe configurable interface, scope it with the class name to make that clear. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/classes-recipe/cargo.bbclass| 4 ++-- meta/classes-recipe/cargo_common.bbclass | 2 +- meta/classes-recipe/ptest

[OE-Core][PATCH v2 2/4] cargo: Move CARGO_MANIFEST_PATH/CARGO_SRC_DIR to cargo_common

2023-12-08 Thread Alex Kiernan
cargo_common_do_configure uses CARGO_MANIFEST_PATH (which depends on CARGO_SRC_DIR), but their definition was in cargo.bbclass. Signed-off-by: Alex Kiernan --- Changes in v2: - Drop change from default to weak-defaults meta/classes-recipe/cargo.bbclass| 7 --- meta/classes-recipe

Re: [OE-Core][PATCH 2/3] cargo: Move CARGO_MANIFEST_PATH/CARGO_SRC_DIR to cargo_common

2023-12-08 Thread Alex Kiernan
On Fri, Dec 8, 2023 at 8:15 AM Alex Kiernan via lists.openembedded.org wrote: > > On Thu, Dec 7, 2023 at 10:40 PM Richard Purdie > wrote: > > > > On Thu, 2023-12-07 at 13:39 +, Alex Kiernan wrote: > > > cargo_common_do_configure uses CARGO_MANIFEST_PATH (which

Re: [OE-Core][PATCH 2/3] cargo: Move CARGO_MANIFEST_PATH/CARGO_SRC_DIR to cargo_common

2023-12-08 Thread Alex Kiernan
On Thu, Dec 7, 2023 at 10:40 PM Richard Purdie wrote: > > On Thu, 2023-12-07 at 13:39 +, Alex Kiernan wrote: > > cargo_common_do_configure uses CARGO_MANIFEST_PATH (which depends on > > CARGO_SRC_DIR), but their definition was in cargo.bbclass. > > > > Matc

[OE-Core][PATCH 3/3] cargo: Add CARGO_LOCK_PATH for path to Cargo.lock

2023-12-07 Thread Alex Kiernan
When building a workspace enabled project, the Cargo.lock is found at the root of the project, not alongside the Cargo.toml. Expose CARGO_LOCK_PATH so it can be explicitly configured. Signed-off-by: Alex Kiernan --- meta/classes-recipe/cargo_common.bbclass | 6 -- 1 file changed, 4

[OE-Core][PATCH 2/3] cargo: Move CARGO_MANIFEST_PATH/CARGO_SRC_DIR to cargo_common

2023-12-07 Thread Alex Kiernan
cargo_common_do_configure uses CARGO_MANIFEST_PATH (which depends on CARGO_SRC_DIR), but their definition was in cargo.bbclass. Match the other variables here and change to default values, rather than weak defaults. Signed-off-by: Alex Kiernan --- meta/classes-recipe/cargo.bbclass| 7

[OE-Core][PATCH 1/3] cargo: Rename MANIFEST_PATH -> CARGO_MANIFEST_PATH

2023-12-07 Thread Alex Kiernan
This variable is a piece of recipe configurable interface, scope it with the class name to make that clear. Signed-off-by: Alex Kiernan --- meta/classes-recipe/cargo.bbclass| 4 ++-- meta/classes-recipe/cargo_common.bbclass | 2 +- meta/classes-recipe/ptest-cargo.bbclass | 2 +- 3

Re: [OE-core] [PATCH v4] openssh: Add PACKAGECONFIG option to customize sshd mode

2023-12-07 Thread Alex Kiernan
> Yes, it would need changes to support per-service presets, which I suspect would be generally useful. > Thanks, > ________ > From: Alex Kiernan > Sent: Wednesday, December 6, 2023 18:37 > To: Yu, Mingli > Cc: openembedded-core@lists.openembedded.o

Re: [OE-core] [PATCH v4] openssh: Add PACKAGECONFIG option to customize sshd mode

2023-12-06 Thread Alex Kiernan
systemd-sshd-service-mode','true','false',d)}; > then > + install -c -m 0644 ${WORKDIR}/sshd.service > ${D}${systemd_system_unitdir} > + fi > install -c -m 0644 ${WORKDIR}/sshdgenkeys.service > ${D}${systemd_system_unitdir}

[OE-Core][PATCH] rust: Drop targets and hosts override magic

2023-12-01 Thread Alex Kiernan
`targets` and `hosts` could be overridden prior to 0a01b5ab973e ("rust-cross-canadian: Simplify and fix"), that commit deleted this usage, remove the remnant of it from here. Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/rust_1.70.0.bb | 8 ++-- 1 file changed, 2

[OE-Core][PATCH v2] eudev: Upgrade 3.2.12 -> 3.2.14

2023-11-29 Thread Alex Kiernan
! Dynamically get the udevadm hwdb files with a path variable Remove references to /run/udev/hwdb.d Clarify the /etc/udev/hwdb.d file override with respect to UDEV_HWDB_PATH Signed-off-by: Alex Kiernan --- Changes in v2: - Correct new version in commit subject (3.2.14) .../udev/eudev/0001

[OE-Core][PATCH] eudev: Upgrade 3.2.12 -> 3.12.14

2023-11-29 Thread Alex Kiernan
! Dynamically get the udevadm hwdb files with a path variable Remove references to /run/udev/hwdb.d Clarify the /etc/udev/hwdb.d file override with respect to UDEV_HWDB_PATH Signed-off-by: Alex Kiernan --- .../udev/eudev/0001-Export-dummies-for.patch | 82 --- .../eudev/0002

[OE-core] Rust and oe-selftest

2023-11-24 Thread Alex Kiernan
ases mixed into that. There's really only two ways forward I can see: find someone to unpick this with upstream and make testing in release a thing that they test, or drop the rust test suite from oe-selftest. -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this

Re: [PATCH V2] [OE-core] tzdata: Reduced time zone configuration

2023-11-24 Thread Alex Kiernan
On Fri, Nov 24, 2023 at 2:12 PM Alex Kiernan via lists.openembedded.org wrote: > > On Fri, Nov 24, 2023 at 6:21 AM Xu, Lizhi via lists.openembedded.org > wrote: > > > > tzdata.bb by default pulls in all possible timezone data packages which > > increases size o

[OE-Core][PATCH 1/2] rust: Delete python2 configparser code path

2023-11-24 Thread Alex Kiernan
We no longer support python2, remove the python2 fallback code. Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/rust_1.70.0.bb | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta/recipes-devtools/rust/rust_1.70.0.bb b/meta/recipes-devtools/rust/rust_1.70.0

  1   2   3   4   5   6   7   >