Re: [OE-core] [dunfell][PATCH 2/2] systemd: support to list only initialized/uninitialized devices

2023-11-22 Thread Pawan Badganchi
Hi, Could you please take this patch -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#191136): https://lists.openembedded.org/g/openembedded-core/message/191136 Mute This Topic: https://lists.openembedded.org/mt/99403409/21656 Group Owner:

Re: [OE-core] [dunfell][PATCH 1/2] systemd: implement --initialized-match/nomatch arguments

2023-11-22 Thread Pawan Badganchi
Hi, Could you please take this patch -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#191135): https://lists.openembedded.org/g/openembedded-core/message/191135 Mute This Topic: https://lists.openembedded.org/mt/99403398/21656 Group Owner:

[OE-core] [PATCH] busybox: Enable utmp support on musl systems

2023-11-22 Thread Khem Raj
runlevel misc applet is enabled when using init feature from busybox however this applet does not build right now because it depends on utmp feature and its disabled for musl systems. runlevel is used by update-rd.d tool during system maintenance e.g. opkg upgrade etc. Signed-off-by: Khem Raj

[OE-core][dunfell][PATCH] shadow: backport patch to fix CVE-2023-29383

2023-11-22 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri The fix of CVE-2023-29383.patch contains a bug that it rejects all characters that are not control ones, so backup another patch named "0001-Overhaul-valid_field.patch" from upstream to fix it. (From OE-Core rev: ab48ab23de6f6bb1f05689c97724140d4bef8faa) Upstream-Status:

[OE-core] Patchtest results for [PATCH 2/2] libsoup-2.4: Fix build with clang-17 and libxml2-2.12

2023-11-22 Thread Patchtest
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/2-2-libsoup-2.4-Fix-build-with-clang-17-and-libxml2-2.12.patch FAIL: test commit message presence: Please include

[OE-core] [PATCH 2/2] libsoup-2.4: Fix build with clang-17 and libxml2-2.12

2023-11-22 Thread Khem Raj
Signed-off-by: Khem Raj --- ...ild-with-libxml2-2.12.0-and-clang-17.patch | 44 +++ .../libsoup/libsoup-2.4_2.74.3.bb | 3 +- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH 1/2] shared-mime-info: Fix build with clang-17+

2023-11-22 Thread Khem Raj
This is needed with libxml2-2.12 and newer Signed-off-by: Khem Raj --- ...ild-with-libxml2-2.12.0-and-clang-17.patch | 26 +++ .../shared-mime-info/shared-mime-info_2.4.bb | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644

Re: [OE-core][PATCH] libxcrypt: fixed some build error for nativesdk with mingw

2023-11-22 Thread wenlin.k...@windriver.com via lists.openembedded.org
On 11/22/2023 06:44, Khem Raj wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Tue, Nov 21, 2023 at 2:42 PM Richard Purdie wrote: On Tue, 2023-11-21 at 01:41 -0800,

[OE-core] [PATCH] Revert "lzop: remove recipe from oe-core"

2023-11-22 Thread Marek Vasut
This reverts commit dea5e8863792dc7bb3324b543e04da4c94a060aa. The original commit claims that lzop is unused in OE-core. That is not correct, the following places still use it and became unbuildable now: " meta/classes-recipe/image_types.bbclass:CONVERSION_CMD:lzo = "lzop -9

Re: [OE-core] [PATCH] init-manager-mdev-busybox: Keep sysvinit distro feature on

2023-11-22 Thread Khem Raj
On Wed, Nov 22, 2023 at 2:59 PM Marko, Peter wrote: > > From: openembedded-core@lists.openembedded.org > On Behalf Of Khem Raj via > lists.openembedded.org > > > The rcS script that busybox-init provides is able to run scripts that > > are available as part of sysvinit, therefore its fine to

Re: [OE-core] [PATCH] init-manager-mdev-busybox: Keep sysvinit distro feature on

2023-11-22 Thread Peter Marko via lists.openembedded.org
From: openembedded-core@lists.openembedded.org On Behalf Of Khem Raj via lists.openembedded.org > The rcS script that busybox-init provides is able to run scripts that > are available as part of sysvinit, therefore its fine to keep sysvinit > distro feature enabled so that we can build complex

Re: [OE-core] [PATCH 20/21] populate_sdk_ext.bbclass: add *:do_shared_workdir to BB_SETSCENE_ENFORCE_IGNORE_TASKS

2023-11-22 Thread Richard Purdie
On Wed, 2023-11-22 at 13:44 +0100, Martin Jansa wrote: > meta/classes-recipe/populate_sdk_ext.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass > b/meta/classes-recipe/populate_sdk_ext.bbclass > index

[OE-core] [PATCH] init-manager-mdev-busybox: Keep sysvinit distro feature on

2023-11-22 Thread Khem Raj
The rcS script that busybox-init provides is able to run scripts that are available as part of sysvinit, therefore its fine to keep sysvinit distro feature enabled so that we can build complex systems with busybox as init system. Signed-off-by: Khem Raj ---

Re: [OE-core] [PATCH 02/21] create-spdx-2.2.bbclass: use hardlink as well

2023-11-22 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Martin Jansa > Sent: den 22 november 2023 13:45 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH 02/21] create-spdx-2.2.bbclass: use hardlink as well

[OE-core] [PATCH 4/5] python3-sphinxcontrib-qthelp: 1.0.3 -> 1.0.6

2023-11-22 Thread Tim Orling
* Upstream download filename changed from sphinxcontrib-qthelp* to sphinxcontrib_qthelp* * build-backend changed to flit (inherit python_flit_core) Release 1.0.6 (2023-08-14) == * Use ``os.PathLike`` over ``pathlib.Path`` Release 1.0.5 (2023-08-09)

[OE-core] [PATCH 5/5] python3-sphinxcontrib-serializinghtml: 1.1.5 -> 1.1.9

2023-11-22 Thread Tim Orling
* Upstream download filename changed from sphinxcontrib-serializinghtml* to sphinxcontrib_serializinghtml* * build-backend is now flit (inherit python_flit_core) Release 1.1.9 (2023-08-20) == * Serialise context["script_files"] and context["css_files"] as their

[OE-core] [PATCH 3/5] python3-sphinxcontrib-htmlhelp: 2.0.1 -> 2.0.4

2023-11-22 Thread Tim Orling
* Upstream download filename changed from sphinxcontrib-htmlhelp* to sphinxcontrib_htmlhelp* * build-backend is now flit (inherit python_flit_core) Release 2.0.4 (2023-08-14) == * Use ``os.PathLike`` over ``pathlib.Path`` Release 2.0.3 (2023-08-09)

[OE-core] [PATCH 2/5] python3-sphinxcontrib-devhelp: 1.0.2 -> 1.0.5

2023-11-22 Thread Tim Orling
* Upstream download filename changed from sphinxcontrib-devhelp* to sphinxcontrib_devhelp* * build-backend is now flit (inherit python_flit_core) Release 1.0.5 (2023-08-14) == * Use ``os.PathLike`` over ``pathlib.Path`` Release 1.0.4 (2023-08-09)

[OE-core] [PATCH 1/5] python3-sphinxcontrib-applehelp: 1.0.4 -> 1.0.7

2023-11-22 Thread Tim Orling
* Upstream changed download file name from sphinxcontrib-applelhelp* to sphinxcontrib_applehelp* * build-backend is now flit (inherit python_flit_core) Release 1.0.7 (2023-08-14) == * Use ``os.PathLike`` over ``pathlib.Path`` Release 1.0.6 (2023-08-09)

[OE-core] [PATCH 0/5] python3-sphinxcontrib-*

2023-11-22 Thread Tim Orling
Most of our python3-sphinxcontrib-* recipes have been upgraded (excluding python3-sphinxcontrib-jsmath which remains at 1.0.1 as the latest release). In this series: * Python 3.9 is now the minimum supported version in pyproject.toml * the download filenames have all changed from sphinxcontrib-*

Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread Alexander Kanavin
I suppose you can check, on master: - whether dropping the CVE fix addresses the problem - whether updating to recent patchlevel addresses the problem - bisect changes in the patchlevel down to what is needed to fix the CVE and not regress Given that you have a basic build, tweaking ncurses and

Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread Richard Purdie
On Wed, 2023-11-22 at 07:46 -0800, Tobias Jakobi wrote: > Yeah, the "causing other problems" bit is also what worries me at the > moment. In particular because a lot of other packages depend on > ncurses. Usually not on libncurses itself, but on libtinfo. Let me > know if I can do further tests. I

Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread Tobias Jakobi
Yeah, the "causing other problems" bit is also what worries me at the moment. In particular because a lot of other packages depend on ncurses. Usually not on libncurses itself, but on libtinfo. Let me know if I can do further tests. I can't guarantee though how much more time I can spend on

Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread Richard Purdie
On Wed, 2023-11-22 at 07:20 -0800, Tobias Jakobi wrote: > OK, that was easier than expected. So I followed the guide, but I > just build core-image-full-cmdline. I added the meta-oe layer (git > master) to it and added joe to CORE_IMAGE_EXTRA_INSTALL. Same issue > with this setup. Thanks for

Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread Tobias Jakobi
OK, that was easier than expected. So I followed the guide, but I just build core-image-full-cmdline. I added the meta-oe layer (git master) to it and added joe to CORE_IMAGE_EXTRA_INSTALL. Same issue with this setup. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.

[OE-core] [PATCH] bitbake: fetch2: git: add missing destsuffix and subpath parameters in docstrings

2023-11-22 Thread Julien Stephan
Docstring for git fetcher is missing destsuffix and subpath parameters, so add them Signed-off-by: Julien Stephan --- bitbake/lib/bb/fetch2/git.py | 8 1 file changed, 8 insertions(+) diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index

[OE-core] [PATCH 2/2] package_ipk: Fix Source: field variable dependency

2023-11-22 Thread Richard Purdie
The Source: variable is generated from FILE but this is excluded from checksums normally which results in a reproduciubility issue when the filename changes. Add in a dependency by reworking the code a little to avoid this. Signed-off-by: Richard Purdie ---

[OE-core] [PATCH 1/2] shared-mime-info: embed PV in the filename

2023-11-22 Thread Richard Purdie
From: Ross Burton As this recipe tracks the release tags we can embed the PV in the filename. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../{shared-mime-info_git.bb => shared-mime-info_2.4.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename

[OE-core] [PATCH v2 1/2] patch: extract patches without diffstats

2023-11-22 Thread Lukas Funke
From: Stefan Herbrechtsmeier Extract patches without diffstats to reduce changes during patch refresh. Signed-off-by: Stefan Herbrechtsmeier Signed-off-by: Lukas Funke --- meta/lib/oe/patch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/patch.py

[OE-core] [PATCH v2 2/2] patch: extract patches with all-zero hash

2023-11-22 Thread Lukas Funke
From: Stefan Herbrechtsmeier Extract patches with all-zero hash in each patch header instead of the hash of the commit to reduce changes during patch refresh. Signed-off-by: Stefan Herbrechtsmeier Signed-off-by: Lukas Funke --- meta/lib/oe/patch.py | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH v2 0/2] patch: reduce changes during patch refresh

2023-11-22 Thread Lukas Funke
From: Lukas Funke The patch series aims to reduce the noise in patches created by devtools. Some diffs are just introduced due to an update in the hash or in the diffstats. These changes are not important to a reviewer. Stefan Herbrechtsmeier (2): patch: extract patches without diffstats

Re: [OE-core] [PATCH] poky: kirkstone: eSDK: fix build-in eSDK environment file generation

2023-11-22 Thread Alberto Merciai
On Wed, Nov 22, 2023 at 01:45:28PM +0100, Alexander Kanavin wrote: > I've now sent a patch for it to docs@ - needed only for kirkstone. > > Alex Ok, regardig test you were asking for, I'm not able to do that right now. Is something that I will do in next weeks, in case I will share. Regards,

Re: [OE-core] [PATCH] poky: kirkstone: eSDK: fix build-in eSDK environment file generation

2023-11-22 Thread Alberto Merciai
On Wed, Nov 22, 2023 at 01:12:00PM +0100, Alexander Kanavin wrote: > That's right. If you have to stay on kirkstone, then you have to > maintain a private backport. Understood thanks, Alberto -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [OE-core] [PATCH 00/21] Consistent naming scheme for deployed artifacts

2023-11-22 Thread Martin Jansa
On Wed, Nov 22, 2023 at 2:19 PM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Wed, 2023-11-22 at 13:44 +0100, Martin Jansa wrote: > > This is the final part of changes for [YOCTO #12937]. > > > > I've run complete selftest with this and didn't see any failures. > > > > Only

Re: [OE-core] [PATCH 00/21] Consistent naming scheme for deployed artifacts

2023-11-22 Thread Richard Purdie
On Wed, 2023-11-22 at 13:44 +0100, Martin Jansa wrote: > This is the final part of changes for [YOCTO #12937]. > > I've run complete selftest with this and didn't see any failures. > > Only these 4 fail once, but pass when re-executed (and the same is > reproducible here with master): >

Re: [OE-core] [meta-oe][PATCH v2 0/1] wic: extend empty plugin with options to write zeros to partiton

2023-11-22 Thread Lukas Funke
Hi, On 22.11.2023 11:47, Lukas Funke via lists.openembedded.org wrote: From: Lukas Funke Adds features to explicitly write zeros to the start of the partition. This is useful to overwrite old content like filesystem signatures which may be re-recognized otherwise. The new features can be

Re: [OE-core] [PATCH] poky: kirkstone: eSDK: fix build-in eSDK environment file generation

2023-11-22 Thread Alexander Kanavin
On Wed, 22 Nov 2023 at 10:30, Alexander Kanavin wrote: > Thanks, now I understand what happened. This feature was actually > never backported to kirkstone (and won't be because of LTS policy - no > new features), but documentation was (mistakenly) updated to state > that it was: >

[OE-core] [PATCH 21/21] u-boot.inc: don't replace the binary with symlink

2023-11-22 Thread Martin Jansa
* when UBOOT_ARTIFACT_NAME and UBOOT_ARTIFACT_LINK_NAME are empty the UBOOT_BINARYNAME and UBOOT_IMAGE might be indentical and the binary gets overwritten by the symlink to itself (similarly for SPL_*) $ ls -lah

[OE-core] [PATCH 20/21] populate_sdk_ext.bbclass: add *:do_shared_workdir to BB_SETSCENE_ENFORCE_IGNORE_TASKS

2023-11-22 Thread Martin Jansa
* otherwise populate_sdk_ext task will fail as shown e.g. with: bitbake core-image-minimal -c populate_sdk_ext esdk.oeSDKExtSelfTest.test_image_generation_binary_feeds esdk.oeSDKExtSelfTest.test_install_libraries_headers: ERROR: Task linux-yocto.do_deploy_links attempted to execute

[OE-core] [PATCH 18/21] selftest: multiconfig-image-packager: use IMAGE_NAME instead of IMAGE_LINK_NAME

2023-11-22 Thread Martin Jansa
* the IMAGE_LINK_NAME now contains PKGV, PKGR in the filename, but the multiconfig-image-packager and MC_DEPLOY_IMAGE_BASENAME (e.g. core-image-minimal) has different PKGV value causing: | DEBUG: Executing shell function do_install | install: cannot stat

[OE-core] [PATCH 19/21] image.bbclass: remove hardlinks as well

2023-11-22 Thread Martin Jansa
* it was removing only destination symlinks, but sometimes hardlink might be regenerated as well, e.g. in oeqa test wic.Wic.test_permissions which was failing with: NOTE: recipe core-image-minimal-1.0-r0: task do_image_wic: Started ERROR: core-image-minimal-1.0-r0 do_image_wic: Error executing

[OE-core] [PATCH 17/21] oeqa: fitimage: respect KERNEL_FIT_NAME

2023-11-22 Thread Martin Jansa
* avoid couple of get_bb_var calls and use get_bb_vars instead * use KERNEL_FIT_LINK_NAME instead of assuming it's MACHINE as e.g.: machine = get_bb_var('MACHINE') fitimage_its_path = os.path.join(deploy_dir_image, "fitImage-its-%s-%s-%s" % (image_type, machine, machine)) * be aware

[OE-core] [PATCH 15/21] oeqa: imagefeatures: append -dbg suffix at the end of IMAGE_NAME not IMAGE_LINK_NAME

2023-11-22 Thread Martin Jansa
* the filename is constructed as: meta/classes-recipe/image.bbclass:d.appendVar('IMAGE_NAME','-dbg') and IMAGE_LINK_NAME adds ${IMAGE_VERSION_SUFFIX} _after_ this [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/lib/oeqa/selftest/cases/imagefeatures.py | 4 ++-- 1 file changed, 2

[OE-core] [PATCH 16/21] oeqa: gdbserver: append -dbg suffix at the end of IMAGE_NAME not IMAGE_LINK_NAME

2023-11-22 Thread Martin Jansa
* the filename is constructed as: meta/classes-recipe/image.bbclass:d.appendVar('IMAGE_NAME','-dbg') and IMAGE_LINK_NAME adds ${IMAGE_VERSION_SUFFIX} _after_ this [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/lib/oeqa/selftest/cases/gdbserver.py | 6 +++--- 1 file changed, 3

[OE-core] [PATCH 14/21] image.bbclass: don't append -dbg suffix twice

2023-11-22 Thread Martin Jansa
* now with IMAGE_LINK_NAME defined based on IMAGE_NAME we don't want to append -dbg to IMAGE_NAME and then again to IMAGE_LINK_NAME * this resulted in filename like: core-image-minimal-qemux86-64.rootfs-dbg--1.0-r0-2011040523-dbg.tar.bz2 [YOCTO #12937] Signed-off-by: Martin Jansa ---

[OE-core] [PATCH 13/21] kernel.bbclass: inherit KERNEL_CLASSES at the end

2023-11-22 Thread Martin Jansa
* after defining deploy-links task, so that e.g. kernel-fitimage can append to it like kernel-devicetree.bbclass [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/classes-recipe/kernel.bbclass | 34 +++--- 1 file changed, 17 insertions(+), 17 deletions(-) diff

[OE-core] [PATCH 12/21] linux-dummy: add do_deploy_links task

2023-11-22 Thread Martin Jansa
* fixes containerimage.ContainerImageTests.test_expected_files oeqa test failing with: Initialising tasks...ERROR: Task do_build in /OE/build/poky/build-st/meta-selftest/recipes-test/container-image/container-test-image.bb depends upon non-existent task do_deploy_links in

[OE-core] [PATCH 10/21] oeqa: bbtests.BitbakeTests.test_image_manifest: use just isfile() instead of islink()

2023-11-22 Thread Martin Jansa
* with [YOCTO #12937] changes the manifest is hardlink not symlink * fixes: 2023-11-16 00:16:33,967 - oe-selftest - INFO - test_image_manifest (bbtests.BitbakeTests.test_image_manifest) 2023-11-16 00:19:05,060 - oe-selftest - INFO - ... FAIL 2023-11-16 00:19:05,060 - oe-selftest - INFO -

[OE-core] [PATCH 11/21] oeqa: wic: use just isfile() instead of islink()

2023-11-22 Thread Martin Jansa
* with [YOCTO #12937] changes the manifest is hardlink not symlink * fixes: 2023-11-18 23:48:55,695 - oe-selftest - INFO - ... FAIL 2023-11-18 23:48:55,696 - oe-selftest - INFO - Traceback (most recent call last): File "/OE/build/poky/meta/lib/oeqa/core/decorator/__init__.py", line 35, in

[OE-core] [PATCH 09/21] image-artifact-names.bbclass: add IMAGE_VERSION_SUFFIX_DATETIME which uses SOURCE_DATE_EPOCH

2023-11-22 Thread Martin Jansa
* since https://git.openembedded.org/openembedded-core/diff/meta/classes/image-artifact-names.bbclass?id=abb0671d2cebfd7e8df94796404bbe9c7f961058 which removed the bb.data.inherits_class('reproducible_build', d) condition this was already applied in all the builds which used DATETIME, so

[OE-core] [PATCH 07/21] uboot: use ${IMAGE_MACHINE_SUFFIX} instead of -${MACHINE} and use hardlinks

2023-11-22 Thread Martin Jansa
* rename variables to match the conventions used in kernel and image recipes * use versioned hardlinks as kernel and image recipes, but don't split the do_deploy_links task (can be split later). [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/classes-recipe/uboot-config.bbclass | 22 ++-

[OE-core] [PATCH 08/21] image.bbclass: rename create_symlinks to create_hardlinks

2023-11-22 Thread Martin Jansa
* to make it more clear what this postfunc does now [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/classes-recipe/image-live.bbclass | 2 +- meta/classes-recipe/image.bbclass | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[OE-core] [PATCH 02/21] create-spdx-2.2.bbclass: use hardlink as well

2023-11-22 Thread Martin Jansa
[YOCTO #12937] Signed-off-by: Martin Jansa --- meta/classes/create-spdx-2.2.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/create-spdx-2.2.bbclass b/meta/classes/create-spdx-2.2.bbclass index b0aef80db1..8c77f6b886 100644 ---

[OE-core] [PATCH 06/21] kernel-fitimage.bbclass: add .its extension also to links

2023-11-22 Thread Martin Jansa
* for consistency with the names [YOCTO #12937] --- meta/classes-recipe/kernel-artifact-names.bbclass | 2 ++ meta/classes-recipe/kernel-fitimage.bbclass | 8 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/meta/classes-recipe/kernel-artifact-names.bbclass

[OE-core] [PATCH 04/21] kernel: move the leading dash into KERNEL_ARTIFACT_NAME

2023-11-22 Thread Martin Jansa
* this matches how IMAGE_MACHINE_SUFFIX works and we can use that for the default value * allows to set IMAGE_MACHINE_SUFFIX to empty for people who prefer to keep MACHINE name only in the directory name otherwise there would be a stray dash in: lrwxrwxrwx 2 martin martin 12 Nov 18

[OE-core] [PATCH 05/21] kernel-fitimage.bbclass: avoid duplicate .bin extension

2023-11-22 Thread Martin Jansa
* the linux.bin was deployed as: fitImage-linux.bin${KERNEL_FIT_NAME}${KERNEL_FIT_BIN_EXT} where KERNEL_FIT_BIN_EXT is the 2nd ".bin" * add the${KERNEL_FIT_BIN_EXT} also to corresponding links: fitImage-linux${KERNEL_FIT_LINK_NAME}${KERNEL_FIT_BIN_EXT} [YOCTO #12937] Signed-off-by: Martin

[OE-core] [PATCH 03/21] image, kernel: allow to disable creating the hardlinks by setting *LINK_NAME variables to empty

2023-11-22 Thread Martin Jansa
From: Martin Jansa * they can be disabled individually by setting *_LINK_NAME to empty or disable them all by setting IMAGE_VERSION_SUFFIX to empty (making them equal to *_NAME variables) There are couple *_LINK_NAME variables: IMAGE_LINK_NAME = "" KERNEL_IMAGE_LINK_NAME = ""

[OE-core] [PATCH 00/21] Consistent naming scheme for deployed artifacts

2023-11-22 Thread Martin Jansa
This is the final part of changes for [YOCTO #12937]. I've run complete selftest with this and didn't see any failures. Only these 4 fail once, but pass when re-executed (and the same is reproducible here with master): pkgdata.OePkgdataUtilTests.test_lookup_recipe

[OE-core] [PATCH 01/21] image*.bbclass, kernel*.bbclass: create version-less artifacts and versioned hard links

2023-11-22 Thread Martin Jansa
From: Martin Jansa * instead of versioned artifacts and version-less symlinks * We used to create the actual artifact files with some version in the filename and then created symlink without any version which was updated to point to the latest one created. In some scenarios it's useful to

Re: [OE-core] [PATCH v8 3/8] image-combined-dbg: make this the default

2023-11-22 Thread Adrian Freihofer
On Wed, 2023-11-22 at 13:25 +0100, Alexander Kanavin wrote: > On Wed, 22 Nov 2023 at 13:23, Adrian Freihofer > wrote: > > > But I also have to say that recent documentation points out that > > the > > rootfs.tar must be extracted into the extracted rootfs-dbg which is > > a > > working solution.

Re: [OE-core] [PATCH v8 3/8] image-combined-dbg: make this the default

2023-11-22 Thread Alexander Kanavin
On Wed, 22 Nov 2023 at 13:23, Adrian Freihofer wrote: > But I also have to say that recent documentation points out that the > rootfs.tar must be extracted into the extracted rootfs-dbg which is a > working solution. The issue which I have is with the SDK which tries to > avoid building the tars

Re: [OE-core] [PATCH v8 3/8] image-combined-dbg: make this the default

2023-11-22 Thread Adrian Freihofer
On Mon, 2023-11-20 at 22:53 +, Peter Kjellerstedt wrote: > > -Original Message- > > From: openembedded-core@lists.openembedded.org  > c...@lists.openembedded.org> On Behalf Of Adrian Freihofer > > Sent: den 15 november 2023 23:33 > > To: Christopher Larson > > Cc:

[OE-core] [PATCH v4] wic: rawcopy: add support for zstd decompression

2023-11-22 Thread Lukas Funke
From: Malte Schmidt Add support for zstd decompression in rawcopy plugin. zstd claims to reach higher, uniform decompression rates. Signed-off-by: Malte Schmidt Signed-off-by: Lukas Funke --- scripts/lib/wic/plugins/source/rawcopy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [OE-core] [PATCH] poky: kirkstone: eSDK: fix build-in eSDK environment file generation

2023-11-22 Thread Alexander Kanavin
On Wed, 22 Nov 2023 at 13:10, Alberto Merciai wrote: > > Alberto, can you check that this works as expected on master or any > > more recent release where my commit is present, and the file is set > > correctly? > Let me understand if we are both at the same page. > That feture will be not

Re: [OE-core] [PATCH] poky: kirkstone: eSDK: fix build-in eSDK environment file generation

2023-11-22 Thread Alberto Merciai
On Wed, Nov 22, 2023 at 10:30:49AM +0100, Alexander Kanavin wrote: > Alberto, can you check that this works as expected on master or any > more recent release where my commit is present, and the file is set > correctly? > > Alex Hi Alex, Let me understand if we are both at the same page. That

[OE-core][mickledore][PATCH] avahi: backport Debian patches to fix multiple CVE's

2023-11-22 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri import patches from ubuntu to fix CVE-2023-1981 CVE-2023-38469 CVE-2023-38470 CVE-2023-38471 CVE-2023-38472 CVE-2023-38473 Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches?h=ubuntu/jammy-security Upstream

[oe-core][kirkstone][PATCH 1/1] gstreamer1.0-plugins-bad: fix CVE-2023-44429

2023-11-22 Thread Polampalli, Archana via lists.openembedded.org
From: Archana Polampalli AV1 codec parser buffer overflow Signed-off-by: Archana Polampalli --- .../CVE-2023-44429.patch | 38 +++ .../gstreamer1.0-plugins-bad_1.20.7.bb| 1 + 2 files changed, 39 insertions(+) create mode 100644

Re: [OE-core] [PATCH 2/2] cmake.bbclass: optionally support qemu

2023-11-22 Thread Jose Quaresma
Alexander Kanavin escreveu no dia terça, 21/11/2023 à(s) 11:21: > On Tue, 21 Nov 2023 at 12:12, Jose Quaresma > wrote: > >> I was using it for running Unit Tests on the host before I deployed > >> them to the target device as ptest. This worked well. It is well > >> integrated with cmake and

Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread Alexander Kanavin
I think you can use https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html even. Alex On Wed, 22 Nov 2023 at 11:58, Tobias Jakobi wrote: > > Any pointers on how to setup such machine? Quick goggling gives me > https://docs.yoctoproject.org/dev-manual/qemu.html, but would this be >

[OE-core] [PATCH 6/6] lib/oe/recipeutils.py: remove trailing white-spaces

2023-11-22 Thread Julien Stephan
Remove useless trailing white-spaces Signed-off-by: Julien Stephan --- meta/lib/oe/recipeutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 58776f4a9a7..25b159bc1bc 100644 --- a/meta/lib/oe/recipeutils.py

[OE-core] [PATCH 5/6] oeqa/selftest/devtool: add test for git submodules

2023-11-22 Thread Julien Stephan
Add a test for gitsm recipes. This tests that we can do changes on submodules, commit them and properly extract the patches Signed-off-by: Julien Stephan --- meta/lib/oeqa/selftest/cases/devtool.py | 47 + 1 file changed, 47 insertions(+) diff --git

[OE-core] [PATCH 4/6] devtool: add support for git submodules

2023-11-22 Thread Julien Stephan
Adding the support of submodules required a lot of changes on the internal data structures: * initial_rev/startcommit used as a starting point for looking at new / updated commits was replaced by a dictionary where the keys are the submodule name ("." for main repo) and the values are the

[OE-core] [PATCH 3/6] devtool: tag all submodules

2023-11-22 Thread Julien Stephan
In the case of a repository with submodules, we need to add the "devtool-base" and "devtool-patched" tag on all submodules in order to properly detect the added/removed/modified patches Signed-off-by: Julien Stephan --- meta/classes/devtool-source.bbclass | 3 +++

[OE-core] [PATCH 0/6] devtool: add support of submodules

2023-11-22 Thread Julien Stephan
This series adds the support of git submodules, so we can use devtool modify with gitsm recipes to create modify and export patches using devtool finish. This series also adds support of git submodules defined inside SRC_URI (i.e extracting a secondary git tree inside S) My dev branch is

[OE-core] [PATCH 2/6] devtool: finish/update-recipe: restrict mode srcrev to recipes fetched from SCM

2023-11-22 Thread Julien Stephan
When specifying --mode / -m srcrev with devtool finish/update-recipe on recipes that are not fetched from a SCM repository we get the following error: Traceback (most recent call last): [..] File "<...>/poky/meta/lib/oe/patch.py", line 49, in runcmd raise CmdError(cmd, exitstatus >>

[OE-core] [PATCH 1/6] devtool: fix update-recipe dry-run mode

2023-11-22 Thread Julien Stephan
When running devtool update-recipe with --mode=srcrev AND --append switch in dry-run, we get the following error: Traceback (most recent call last): [...] Exception: destpath should be set here Fix this by removing a misplaced else statement in _update_recipe_srcrev Signed-off-by: Julien

Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread Tobias Jakobi
Any pointers on how to setup such machine? Quick goggling gives me https://docs.yoctoproject.org/dev-manual/qemu.html, but would this be satisfactory for the test? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#191059):

[OE-core] [meta-oe][PATCH v2 0/1] wic: extend empty plugin with options to write zeros to partiton

2023-11-22 Thread Lukas Funke
From: Lukas Funke Adds features to explicitly write zeros to the start of the partition. This is useful to overwrite old content like filesystem signatures which may be re-recognized otherwise. The new features can be enabled with

[OE-core] [meta-oe][PATCH v2 1/1] wic: extend empty plugin with options to write zeros to partiton

2023-11-22 Thread Lukas Funke
From: Malte Schmidt Adds features to explicitly write zeros to the start of the partition. This is useful to overwrite old content like filesystem signatures which may be re-recognized otherwise. The new features can be enabled with

Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread Alexander Kanavin
On Wed, 22 Nov 2023 at 11:20, wrote: > > I verified this by: > - copying the recipe from master verbatim into our layer > - building our image > - putting image on hardware > - firing up joe > > Joe then shows the same broken behaviour that it does with the ncurses 6.3 > snapshot in kirkstone. >

[OE-core] [PATCH] systemd-compat-units.bb: fix postinstall script

2023-11-22 Thread Michael Opdenacker via lists.openembedded.org
From: Michael Opdenacker This fixes an issue running "opkg upgrade" on a system with systemd (and when there is an update to "systemd-compat-units", for example between yocto 4.2.2 and 4.2.3): //var/lib/opkg/info/systemd-compat-units.postinst: cd: line 3: can't cd to /etc/init.d: No such file

[OE-core] [PATCH] wic: add test for partition hidden attributes

2023-11-22 Thread Lee Chee Yang
From: Lee Chee Yang Add test for the --hidden argument introduced in Oe-Core rev 7a111ff58d7390b79e2e63c8059f6c25f40f8977. Signed-off-by: Lee Chee Yang --- meta/lib/oeqa/selftest/cases/wic.py | 24 1 file changed, 24 insertions(+) diff --git

Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread tobias . jakobi
I verified this by: - copying the recipe from master verbatim into our layer - building our image - putting image on hardware - firing up joe Joe then shows the same broken behaviour that it does with the ncurses 6.3 snapshot in kirkstone. Or do you want me to replace our kirkstone oe-core

Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread Alexander Kanavin
On Wed, 22 Nov 2023 at 11:10, wrote: > P.S.: So oe-core/master does *not* work. master has ncurses 6.4 (no > patchlevel), plus the patch for CVE-2023-29491. But did you specifically verify this or is this a conjecture based on your backport? We would need to fix master before fixing any of the

Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread tobias . jakobi
Hello Alex, thanks for the suggestion. I've imported the ncurses recipe from oe-core/master, but the problem remained. It turns out that the CVE patch is what is causing the problems here. I read through the Gentoo bugreports again, and noticed that one user reported p20230918 to be working.

Re: [OE-core] [PATCH] elfutils: upgrade 0.189 -> 0.190

2023-11-22 Thread Alexander Kanavin
On Wed, 22 Nov 2023 at 10:59, Zang Ruochen wrote: > -From c5fb59ac0819b5b6d8244c613cbcf92cb09840c1 Mon Sep 17 00:00:00 2001 > -From: Hongxu Jia > -Date: Tue, 15 Aug 2017 17:10:57 +0800 > +From a54d70478157f3528c2ed73afd57020b59571fc7 Mon Sep 17 00:00:00 2001 > +From: Zang Ruochen > +Date: Wed,

Re: [OE-core] [PATCH] meta/lib/oeqa/selftest/cases/wic: Add tests for configuring kernel image install into boot partition.

2023-11-22 Thread Taedcke, Christian
Hello Kareem, are you planning to continue withis this review? If not i would try to get this merged. On 08.03.2023 11:34, Kareem Zarka wrote: - test_skip_kernel_install: This test verifies that the kernel is not installed in the boot partition when the 'install-kernel-into-boot-dir'

[OE-core] [PATCH] elfutils: upgrade 0.189 -> 0.190

2023-11-22 Thread Zang Ruochen
From: Zang Ruochen The following patches have been fixed: 0001-libasm-may-link-with-libbz2-if-found.patch Refresh the following patch: 0001-dso-link-change.patch Signed-off-by: Zang Ruochen --- .../{elfutils_0.189.bb => elfutils_0.190.bb} | 3 +-

Re: Private: Re: [OE-core] [Kirkstone] joe editor broken with current ncurses

2023-11-22 Thread Alexander Kanavin
It's not clear to me: do you also see the issues with master? Can you try that please? Please keep all responses on the mailing list. Alex On Wed, 22 Nov 2023 at 10:48, wrote: > > Hello Alex, > > thanks for the suggestion. I've imported the ncurses recipe from > oe-core/master, but the

Re: [OE-core] [PATCH] poky: kirkstone: eSDK: fix build-in eSDK environment file generation

2023-11-22 Thread Alexander Kanavin
On Wed, 22 Nov 2023 at 10:18, Alberto Merciai wrote: > Of course > I'm following the guide > https://docs.yoctoproject.org/4.0.14/sdk-manual/extensible.html#setting-up-the-extensible-sdk-environment-directly-in-a-yocto-build > > create environment file for cross compilation > > $ bitbake

Re: [OE-core] [PATCH] poky: kirkstone: eSDK: fix build-in eSDK environment file generation

2023-11-22 Thread Alberto Merciai
Hello Alexander, Of course I'm following the guide https://docs.yoctoproject.org/4.0.14/sdk-manual/extensible.html#setting-up-the-extensible-sdk-environment-directly-in-a-yocto-build create environment file for cross compilation $ bitbake meta-ide-support $ bitbake -c populate_sysroot gtk+3 #

[OE-core] [dunfell][PATCH 2/2] python3-setuptools: fix CVE-2022-40897

2023-11-22 Thread Lee Chee Yang
From: Lee Chee Yang import patch from ubuntu setuptools_45.2.0-1ubuntu0.1 . Signed-off-by: Lee Chee Yang --- .../python/python-setuptools.inc | 2 ++ .../python3-setuptools/CVE-2022-40897.patch | 29 +++ 2 files changed, 31 insertions(+) create mode 100644

[OE-core] [dunfell][PATCH 1/2] wayland: fix CVE-2021-3782

2023-11-22 Thread Lee Chee Yang
From: Lee Chee Yang take CVE-2021-3782.patch from OE-core rev 09b8ff8d2361b2db001bc963f481db294ccf2170. Signed-off-by: Lee Chee Yang --- .../wayland/wayland/CVE-2021-3782.patch | 111 ++ .../wayland/wayland_1.18.0.bb | 1 + 2 files changed, 112

Re: [OE-core] [PATCH] poky: kirkstone: eSDK: fix build-in eSDK environment file generation

2023-11-22 Thread Alexander Kanavin
There is still no description of how to observe the issue, no answer to my question, and I did not suggest any of this at any point (I had to go and check - some of my old patches were used as a reference, this is not the same as Suggested-by). NACK. Alex On Wed, 22 Nov 2023 at 10:04, Alberto

[OE-core] [PATCH] python3-urllib3: upgrade 2.0.7 -> 2.1.0

2023-11-22 Thread wangmy
From: Wang Mingyu Changelog: -Removed support for the deprecated urllib3[secure] extra. -Removed support for the deprecated SecureTransport TLS implementation. -Removed support for the end-of-life Python 3.7. -Allowed loading CA certificates from memory for proxies. -Fixed decoding

[OE-core] [PATCH] python3-scons: upgrade 4.5.2 -> 4.6.0

2023-11-22 Thread wangmy
From: Wang Mingyu Changelog: https://github.com/SCons/scons/releases/tag/4.6.0 Signed-off-by: Wang Mingyu --- .../python/{python3-scons_4.5.2.bb => python3-scons_4.6.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-scons_4.5.2.bb =>

[OE-core] [PATCH] python3-pyasn1: upgrade 0.5.0 -> 0.5.1

2023-11-22 Thread wangmy
From: Wang Mingyu Changelog: -Added support for PyPy 3.10 and Python 3.12 -Updated RTD configuration to include a dummy index.rst redirecting to contents.html, ensuring compatibility with third-party documentation and search indexes. -Fixed the API breakage wih

[OE-core] [PATCH] python3-hypothesis: upgrade 6.89.0 -> 6.90.0

2023-11-22 Thread wangmy
From: Wang Mingyu Changelog: -makes it an error to assign settings = settings(...) as a class attribute on a RuleBasedStateMachine. -refactors some internals. Signed-off-by: Wang Mingyu --- ...ython3-hypothesis_6.89.0.bb => python3-hypothesis_6.90.0.bb} | 2 +- 1 file changed,

[OE-core] [PATCH] python3-wcwidth: upgrade 0.2.9 -> 0.2.11

2023-11-22 Thread wangmy
From: Wang Mingyu Changelog: -Include tests files in the source distribution -bugfix Emojis made wide by Variation Selector-16 Signed-off-by: Wang Mingyu --- .../{python3-wcwidth_0.2.9.bb => python3-wcwidth_0.2.11.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[OE-core] [PATCH] python3-setuptools: upgrade 68.2.2 -> 69.0.2

2023-11-22 Thread wangmy
From: Wang Mingyu Changelog: -Added missing estimated date for removing setuptools.dep_util -Fixed imports of setuptools.dep_util.newer_group. A deprecation warning is issued instead of a hard failure. -Include type information (py.typed, *.pyi) by default -Exported

  1   2   >