[OE-core] [PATCH] kernel-yocto: make kernel commits reproducible

2024-12-16 Thread Enrico Jörns
The git commit hashes for the kernel checkout are not reproducible under certain conditions: - If the git repository is initialized on an archive (rather than a git), the initial git commit not only has the current user name set, it also uses the current system time as committer and author dat

[OE-core][PATCH] systemd: upgrade from 256.9 to 257

2024-12-16 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Patch changes: * 0003-coredump-set-ProtectHome-to-read-only.patch is drop as it's a backported patch. * 0009-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch is drop as AT_SYMLINK_NOFOLLOW has been supportd in musl. * Other patches are either refreshed or changed to fit the

Re: [OE-core] [PATCH 1/4] meta/lib/oe/sbom30.py: correct alias

2024-12-16 Thread Mathieu Dubois-Briand via lists.openembedded.org
On Tue Dec 17, 2024 at 4:47 AM CET, hongxu via lists.openembedded.org wrote: > After commit [spdx 3.0: Rework how SPDX aliases are linked] applied, > it added extra "/" to namespace, which causing the replacement of > UNIHASH missing a "/" > > > http://spdxdocs.org/openembedded-alias/by-doc-hash

Re: [OE-core] [PATCH v2] barebox: upgrade 2024.10.0 -> 2024.12.0

2024-12-16 Thread Enrico Jörns
Hi Wang, Am Donnerstag, dem 12.12.2024 um 08:48 +0800 schrieb wangmy via lists.openembedded.org: > From: Wang Mingyu > > 0001-lib-lz4-use-lz4-instead-of-lz4c.patch > removed since it's included in 2024.12.0 > > Changelog: > === > * ARM: omap: fix NS16550 UART setup in omap_debug_ll_ini

[OE-core] [PATCH 1/4] meta/lib/oe/sbom30.py: correct alias

2024-12-16 Thread hongxu via lists.openembedded.org
After commit [spdx 3.0: Rework how SPDX aliases are linked] applied, it added extra "/" to namespace, which causing the replacement of UNIHASH missing a "/" http://spdxdocs.org/openembedded-alias/by-doc-hash/0b308e4b9ad979f642d8787c61f76c31bdcad04837eeaaf8bc383f33f99bbeb8/flex-nativeUNIHASH/bui

[OE-core] [PATCH V3 4/4] meta/lib/oe/sbom30.py: fix alias in simplelicensing_customIdToUri not extracted

2024-12-16 Thread hongxu via lists.openembedded.org
After commit [spdx 3.0: Rework how SPDX aliases are linked] applied, it set license_text_map with SPDX alias other than actual ID The property of simplelicensing_customIdToUri is ListProp(ObjectProp(DictionaryEntry))), and class DictionaryEntry has key and value, the property of value is StringP

[OE-core] [PATCH 2/4] meta/lib/oe/spdx30_tasks.py: fix hash link conflict while multiconfig enabled

2024-12-16 Thread hongxu via lists.openembedded.org
While enabling multiconfig, build recipe (such as linux-libc-headers) in different arch directories but generating duplicated hash link, and these directories are listed in ${SPDX_MULTILIB_SSTATE_ARCHS} In the following case, build recipe linux-libc-headers in multiconfig to generate duplicated ha

[OE-core] [PATCH V2 3/4] gcc-cross.inc: add var-SSTATE_ARCHS_TUNEPKG to vardeps of do_create_spdx

2024-12-16 Thread hongxu via lists.openembedded.org
The recipe gcc-cross inherited cross.bbclass which had class-native recipe behavior, but depends on class-target recipe linux-libc-headers. It caused the tweaking of ${TUNE_PKGARCH} for 32bit arm did not trigger rebuild of do_create_spdx in gcc-cross-arm Due to commit [meta/lib/oe/spdx30_tasks.py:

Re: [OE-core] [PATCH V2] meta/lib/oe/spdx30.py: make StringProp to decode SPDX alias with actual ID

2024-12-16 Thread hongxu via lists.openembedded.org
Got it, submitted PR [1] to shacl2code repo to make StringProp to decode SPDX alias with actual ID [1] https://github.com/JPEWdev/shacl2code/pull/34 to shacl2code //Hongxu From: Joshua Watt Sent: Monday, December 16, 2024 11:32 PM To: Jia, Hongxu Cc: openembedd

Re: [OE-core] [PATCH V2] meta/lib/oe/sbom30.py: fix alias in simplelicensing_customIdToUri not extracted

2024-12-16 Thread hongxu via lists.openembedded.org
OK, I will correct it in v3 //Hongxu -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#208795): https://lists.openembedded.org/g/openembedded-core/message/208795 Mute This Topic: https://lists.openembedded.org/mt/110141409/21656 Group Owner: openembe

Re: [OE-core] [PATCH] icecc: fix PN 'no-pn' handling

2024-12-16 Thread Richard Purdie via lists.openembedded.org
On Mon, 2024-12-16 at 23:22 +0100, Marco Felsch wrote: > Hi, > > On 24-12-16, Richard Purdie wrote: > > On Mon, 2024-12-09 at 18:38 +0100, Marco Felsch wrote: > > > On 24-12-09, Richard Purdie wrote: > > > > On Mon, 2024-12-09 at 17:22 +, Richard Purdie via > > > > lists.openembedded.org wrote

Re: [OE-core] [PATCH] icecc: fix PN 'no-pn' handling

2024-12-16 Thread Marco Felsch
Hi, On 24-12-16, Richard Purdie wrote: > On Mon, 2024-12-09 at 18:38 +0100, Marco Felsch wrote: > > On 24-12-09, Richard Purdie wrote: > > > On Mon, 2024-12-09 at 17:22 +, Richard Purdie via > > > lists.openembedded.org wrote: ... > > > The modern way of doing much of this would be a python

Re: [OE-core] [RFC v2 0/4] Allow choosing the NVD feed

2024-12-16 Thread Marta Rybczynska via lists.openembedded.org
On Mon, 16 Dec 2024, 16:01 Ross Burton, wrote: > On 16 Dec 2024, at 14:59, Ross Burton wrote: > > > > On 12 Dec 2024, at 06:54, Marta Rybczynska via lists.openembedded.org > wrote: > >> > >> This series is allowing choice of the NVD feed to use, you can > >> configure them using the NVD_DB_VERS

[OE-core] [PATCH] scripts: wrap lz4c and convert to lz4

2024-12-16 Thread Justin Bronder
Commit fe167e082cbde1c6d186ecdda531abef610ac2ac switched to requiring lz4 instead of lz4c which allows us to support distros dropping lz4c. However, it wasn't only OE that was still using the legacy lz4c, there's a number of upstreams as well. For instance, it's only in the 6.13 kernel that CONFIG

[OE-core] [PATCH] perf: Fix a minor typo

2024-12-16 Thread Leon Anavi via lists.openembedded.org
Fix a minor typo in a comment by replacing "nsures" with ensures. Signed-off-by: Leon Anavi --- meta/recipes-kernel/perf/perf.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 9cd6148a1d..c4b3257569 10

[OE-core] [PATCH 0/4] devtool improve debug build configuration

2024-12-16 Thread Adrian Freihofer via lists.openembedded.org
Add a new command line option to devtool modify: --debug-build. With this option, the bbappend file created by devtool modify contains DEBUG_BUILD = “1”. The --debug-build-config command line option of devtool ide-sdk, which does not really work anyway, is removed. Moving the initialization with

[OE-core] [PATCH 2/4] devtool: ide-sdk sort cmake preset

2024-12-16 Thread Adrian Freihofer via lists.openembedded.org
From: Adrian Freihofer Sort the keys of the generated CMakeUserPreset.json file to make it easier to search and compare. Signed-off-by: Adrian Freihofer --- scripts/lib/devtool/ide_sdk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/devtool/ide_sdk.py b/s

[OE-core] [PATCH 4/4] oe-selftest: devtool ide-sdk use modify debug-build

2024-12-16 Thread Adrian Freihofer via lists.openembedded.org
From: Adrian Freihofer Signed-off-by: Adrian Freihofer --- 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/meta/lib/oeqa/selftest/cases/devtool.py index 8d80501becb..fb9d7966eda 100644 --- a/m

[OE-core] [PATCH 3/4] devtool: ide-sdk recommend DEBUG_BUILD

2024-12-16 Thread Adrian Freihofer via lists.openembedded.org
From: Adrian Freihofer The debug_build_config function was never called. Compiling with debug optimized compiler flags was not working. Even with the --debug-build-config flag set, the build configuration from the recipe was used. The devtool ide-sdk --debug-build-config approach didn't work ver

[OE-core] [PATCH 1/4] devtool: modify support debug-builds

2024-12-16 Thread Adrian Freihofer via lists.openembedded.org
From: Adrian Freihofer Add a new option --debug-builds to automatically add DEBUG_BUILD = “1” to the bbappend file of this recipe. This is especially useful when invoking devtool modify before invoking devtool ide-sdk to perform a remote debugging session. Signed-off-by: Adrian Freihofer --- s

Re: [OE-core][PATCH] Revert "uboot-sign: fix U-Boot binary with public key"

2024-12-16 Thread Richard Purdie via lists.openembedded.org
On Mon, 2024-12-09 at 14:40 -0600, Ryan Eatmon wrote: > > > On 12/8/2024 4:22 PM, Richard Purdie wrote: > > On Fri, 2024-12-06 at 15:09 -0600, Ryan Eatmon via lists.openembedded.org > > wrote: > > > This reverts commit 0d14e99aa18ee38293df63d585fafc270a4538be. > > > > > > The patch removed logi

Re: [OE-core] bitbake.conf: add lz4c to HOSTTOOLS_NONFATAL

2024-12-16 Thread Richard Purdie via lists.openembedded.org
On Mon, 2024-12-16 at 12:06 -0500, Justin Bronder wrote: > On 10/12/24 21:53 +, Richard Purdie wrote: > > On Tue, 2024-12-10 at 10:10 -0500, Justin Bronder via > > lists.openembedded.org wrote: > > > Commit fe167e082cbde1c6d186ecdda531abef610ac2ac switched to requiring > > > lz4 instead of lz4

Re: [OE-core] bitbake.conf: add lz4c to HOSTTOOLS_NONFATAL

2024-12-16 Thread Justin Bronder
On 10/12/24 21:53 +, Richard Purdie wrote: > On Tue, 2024-12-10 at 10:10 -0500, Justin Bronder via lists.openembedded.org > wrote: > > Commit fe167e082cbde1c6d186ecdda531abef610ac2ac switched to requiring > > lz4 instead of lz4c which allows us to support distros dropping lz4c. > > However, it

Re: [OE-core] [PATCH] icecc: fix PN 'no-pn' handling

2024-12-16 Thread Richard Purdie via lists.openembedded.org
On Mon, 2024-12-09 at 18:38 +0100, Marco Felsch wrote: > On 24-12-09, Richard Purdie wrote: > > On Mon, 2024-12-09 at 17:22 +, Richard Purdie via > > lists.openembedded.org wrote: > > > Okay, thanks for the clarification. I'm not very deep into the > bitbake > core development. > > > > If we'

Re: [OE-core] [PATCH v3 3/3] bitbake-config-build: add a plugin for config fragments

2024-12-16 Thread Richard Purdie via lists.openembedded.org
On Wed, 2024-12-11 at 12:24 +0100, Alexander Kanavin wrote: > On Tue, 10 Dec 2024 at 16:27, Richard Purdie > wrote: > > > > If we start going down this path, we might as well write an > > > interactive curses UI, and keep the command line output 'flat' > > > like it > > > is now. I'm also not sur

Re: [OE-core] [PATCHv2 5/5] systemd: split networkd into its own package

2024-12-16 Thread Bruce Ashfield via lists.openembedded.org
On Mon, Dec 16, 2024 at 11:08 AM Freihofer, Adrian < adrian.freiho...@siemens.com> wrote: > On Sun, 2024-12-15 at 23:41 -0500, Bruce Ashfield wrote: > > > > On Fri, Dec 13, 2024 at 4:48 PM Adrian Freihofer < > adrian.freiho...@gmail.com> wrote: > > Am Fr., 13. Dez. 2024 um 14:54 Uhr schrieb Bruce

Re: [OE-core] [PATCHv2 5/5] systemd: split networkd into its own package

2024-12-16 Thread Adrian Freihofer via lists.openembedded.org
On Sun, 2024-12-15 at 23:41 -0500, Bruce Ashfield wrote: On Fri, Dec 13, 2024 at 4:48 PM Adrian Freihofer mailto:adrian.freiho...@gmail.com>> wrote: Am Fr., 13. Dez. 2024 um 14:54 Uhr schrieb Bruce Ashfield mailto:bruce.ashfi...@gmail.com>>: On Thu, Dec 12, 2024 at 11:44 AM Adrian Freihofer v

[OE-core][PATCH] python3-numpy: upgrade 2.1.3 -> 2.2.0

2024-12-16 Thread Trevor Gamblin
Patch '0001-numpy-core-Define-RISCV-32-support.patch' is included in v2.2.0, so remove it from the SRC_URI list: |tgamblin@megalith ~/workspace/git/pythonsrc/numpy (main)$ git tag --contains 0e2b652a0eff85798584116c905a2d6ad8f25d5f |v2.2.0 Changelog: https://github.com/numpy/numpy/releases/tag/v

Re: [OE-core] [PATCH V2] meta/lib/oe/sbom30.py: fix alias in simplelicensing_customIdToUri not extracted

2024-12-16 Thread Joshua Watt via lists.openembedded.org
On Mon, Dec 16, 2024 at 1:06 AM Hongxu Jia wrote: > > After commit [spdx 3.0: Rework how SPDX aliases are linked] applied, it set > license_text_map with SPDX alias other than actual ID > > The property of simplelicensing_customIdToUri is > ListProp(ObjectProp(DictionaryEntry))), > and class Dict

Re: [OE-core] [PATCH V2] meta/lib/oe/spdx30.py: make StringProp to decode SPDX alias with actual ID

2024-12-16 Thread Joshua Watt via lists.openembedded.org
On Sun, Dec 15, 2024 at 10:20 PM Hongxu Jia wrote: > > After commit [spdx 3.0: Rework how SPDX aliases are linked] applied, it set > license_text_map with SPDX alias other than actual ID > > The property of simplelicensing_customIdToUri is > ListProp(ObjectProp(DictionaryEntry))), > and class Dic

Re: [OE-core] [RFC v2 0/4] Allow choosing the NVD feed

2024-12-16 Thread Ross Burton via lists.openembedded.org
On 16 Dec 2024, at 14:59, Ross Burton wrote: > > On 12 Dec 2024, at 06:54, Marta Rybczynska via lists.openembedded.org > wrote: >> >> This series is allowing choice of the NVD feed to use, you can >> configure them using the NVD_DB_VERSION variable in local.conf >> >> Available feeds: >> - NV

Re: [OE-core] [scarthgap][PATCH] python3: upgrade 3.12.6 -> 3.12.8

2024-12-16 Thread Steve Sakoman
On Sun, Dec 15, 2024 at 6:36 AM Guðni Már Gilbert via lists.openembedded.org wrote: > > Note: This patch doesn't apply cleanly to styhead due to scarthgap missing > one commit: > https://lists.openembedded.org/g/openembedded-core/topic/scarthgap_patch_1_2/110128235 This patch doesn't apply to s

Re: [OE-core] [RFC v2 0/4] Allow choosing the NVD feed

2024-12-16 Thread Ross Burton via lists.openembedded.org
On 12 Dec 2024, at 06:54, Marta Rybczynska via lists.openembedded.org wrote: > > This series is allowing choice of the NVD feed to use, you can > configure them using the NVD_DB_VERSION variable in local.conf > > Available feeds: > - NVD2 (default) - the current NVD API v2 feed > - NVD1 - the o

[OE-core] Patchtest results for [PATCH 1/3] subversion: Upgrade 1.14.4 -> 1.14.5

2024-12-16 Thread Patchtest via lists.openembedded.org
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/1-3-subversion-Upgrade-1.14.4---1.14.5.patch FAIL: test commit message presence: Please include a commit message on

[OE-core][PATCH] feat(initramfs): add UBI support

2024-12-16 Thread Walter Schweizer via lists.openembedded.org
Mounting the rootfs failed when it was on UBI. This patch allows the rootfs to live on UBI. Signed-off-by: Walter Schweizer --- meta/recipes-core/initrdscripts/initramfs-framework/rootfs | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/initrdscripts/initr

[OE-core] [PATCH 3/3] lttng-modules: Upgrade 2.13.15 -> 2.13.16

2024-12-16 Thread Richard Purdie via lists.openembedded.org
Drop two patches merged upstream. Signed-off-by: Richard Purdie --- ...-uprobe_register-return-struct-uprob.patch | 160 -- ...fine-the-show_inode_state-macro-defi.patch | 68 ...es_2.13.15.bb => lttng-modules_2.13.16.bb} | 4 +- 3 files changed, 1 insertion(+), 231 d

[OE-core] [PATCH 1/3] subversion: Upgrade 1.14.4 -> 1.14.5

2024-12-16 Thread Richard Purdie via lists.openembedded.org
Signed-off-by: Richard Purdie --- .../subversion/{subversion_1.14.4.bb => subversion_1.14.5.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/subversion/{subversion_1.14.4.bb => subversion_1.14.5.bb} (97%) diff --git a/meta/recipes-devtools/subversion/sub

[OE-core] [PATCH 2/3] qemu: Upgrade 9.1.1 -> 9.2.0

2024-12-16 Thread Richard Purdie via lists.openembedded.org
Drop two patches merged upstream. Signed-off-by: Richard Purdie --- meta/conf/distro/include/tcmode-default.inc | 2 +- ...u-native_9.1.1.bb => qemu-native_9.2.0.bb} | 0 ...e_9.1.1.bb => qemu-system-native_9.2.0.bb} | 0 meta/recipes-devtools/qemu/qemu.inc | 4 +- ...o-riscv

Re: [OE-core] [PATCH] kernel-yocto: use oe.types.boolean on KMETA_AUDIT

2024-12-16 Thread Antonin Godard via lists.openembedded.org
On Mon Dec 16, 2024 at 2:56 PM CET, Bruce Ashfield via lists.openembedded.org wrote: > On Mon, Dec 16, 2024 at 8:50 AM Antonin Godard > wrote: > >> Hi Bruce, >> >> On Mon Dec 16, 2024 at 2:29 PM CET, Bruce Ashfield via >> lists.openembedded.org wrote: >> > On Mon, Dec 16, 2024 at 8:21 AM Bruce As

Re: [OE-core] [PATCH] kernel-yocto: use oe.types.boolean on KMETA_AUDIT

2024-12-16 Thread Antonin Godard via lists.openembedded.org
Hi Bruce, On Mon Dec 16, 2024 at 2:29 PM CET, Bruce Ashfield via lists.openembedded.org wrote: > On Mon, Dec 16, 2024 at 8:21 AM Bruce Ashfield > wrote: > >> >> >> On Mon, Dec 16, 2024 at 6:35 AM Antonin Godard >> wrote: >> >>> Following commit a39a1f7cf78ad1ca07438bce634a47e970f25047 >>> ("ker

Re: [OE-core] [PATCH] kernel-yocto: use oe.types.boolean on KMETA_AUDIT

2024-12-16 Thread Bruce Ashfield via lists.openembedded.org
On Mon, Dec 16, 2024 at 8:50 AM Antonin Godard wrote: > Hi Bruce, > > On Mon Dec 16, 2024 at 2:29 PM CET, Bruce Ashfield via > lists.openembedded.org wrote: > > On Mon, Dec 16, 2024 at 8:21 AM Bruce Ashfield > > > wrote: > > > >> > >> > >> On Mon, Dec 16, 2024 at 6:35 AM Antonin Godard < > anton

Re: [OE-core] [PATCH] kernel-yocto: use oe.types.boolean on KMETA_AUDIT

2024-12-16 Thread Bruce Ashfield via lists.openembedded.org
_flag = d.getVar( "KMETA_AUDIT" ) >> +audit_flag = False >> +if d.getVar("KMETA_AUDIT"): >> +audit_flag = oe.types.boolean(d.getVar("KMETA_AUDIT")) >> if not audit_flag: >> bb.note( "kernel config audit disable

Re: [OE-core] [PATCH] kernel-yocto: use oe.types.boolean on KMETA_AUDIT

2024-12-16 Thread Bruce Ashfield via lists.openembedded.org
IT"): > +audit_flag = oe.types.boolean(d.getVar("KMETA_AUDIT")) > if not audit_flag: > bb.note( "kernel config audit disabled, skipping .." ) > return > > --- > base-commit: e345b34703d4fa5e0bc9a82ac33b7c1fd84f99fe > ch

[OE-core] [PATCH] kernel-yocto: use oe.types.boolean on KMETA_AUDIT

2024-12-16 Thread Antonin Godard via lists.openembedded.org
el config audit disabled, skipping .." ) return --- base-commit: e345b34703d4fa5e0bc9a82ac33b7c1fd84f99fe change-id: 20241216-kmeta-audit-vartrue-6650cb20f762 Best regards, -- Antonin Godard -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [OE-core] [PATCH] meta/lib/oe/spdx30_tasks.py: fix alias in simplelicensing_customIdToUri not extracted

2024-12-16 Thread hongxu via lists.openembedded.org
Hi Joshua, I've submitted two solutions to fix the issue, One is make StringProp to decode SPDX alias with actual ID, which refers class ObjectProp's decode [1] Another is add special code in expand_collection as you suggested Would you please have a selection on them, or other better ideas

[OE-core] [PATCH V2] meta/lib/oe/sbom30.py: fix alias in simplelicensing_customIdToUri not extracted

2024-12-16 Thread hongxu via lists.openembedded.org
After commit [spdx 3.0: Rework how SPDX aliases are linked] applied, it set license_text_map with SPDX alias other than actual ID The property of simplelicensing_customIdToUri is ListProp(ObjectProp(DictionaryEntry))), and class DictionaryEntry has key and value, the property of value is StringP