Date   

Re: Honister version: ERROR: QA Issue: Files/directories were installed but not shipped

JH
 

Thanks Michael, greatly appreciate it.

On 11/23/21, Michael Opdenacker <michael.opdenacker@...> wrote:
Hi Jupiter,

On 11/22/21 10:51 AM, JH wrote:
Hi,

I was able to build my package in Zeus, I am now upgrading from Zeus
to Honister, the same package I could build in Zeus now failed in
Honister at do_package where I installed my libraries and symbolic
libraries links to my own RW locations:

ERROR: QA Issue: Files/directories were installed but not shipped

I purposely separate my application libraries and symbolic libraries
links from traditional system RO library location to my application RW
locations, I know how to handle it, it works perfectly built in Zeus,
I don't need the Yocto QA to police it, I tried to add an empty
do_package_qa() in my receipt, it does not work either. Are there any
ways to disable package QA?

Appreciate your advice either how to fix it or disable package QA.

These checks can be disabled. See
https://docs.yoctoproject.org/ref-manual/classes.html?highlight=insane#insane-bbclass
Cheers
Michael.


Re: wic crash when building image with multiple partitions

Marek Belisko
 

Actually I found a fix after some debugging. I'm not wic expert but
below patch fix issue for wks content above:

diff --git a/scripts/lib/wic/plugins/imager/direct.py
b/scripts/lib/wic/plugins/imager/direct.py
index 7e1c1c0..d37ecee 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -115,7 +115,7 @@ class DirectPlugin(ImagerPlugin):
updated = False
for part in self.parts:
if not part.realnum or not part.mountpoint \
- or part.mountpoint == "/":
+ or part.mountpoint == "/" or part.mountpoint == "swap":
continue
if part.use_uuid:

Does it make any sense or is it just hack?

On Tue, Nov 16, 2021 at 7:18 AM Belisko Marek <marek.belisko@...> wrote:

Hello,

I'm on dunfell release and building mender image with following wks file:
| + echo '### Contents of wks file ###'
| ### Contents of wks file ###
| + cat /home/marek/projects/kas-test/build/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/mender-sdimg.wks
| part --source rawcopy
--sourceparams="file=/home/marek/projects/kas-test/build/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/uboot.env"
--ondisk "mmcblk0" --align 8192 --no-table
| part --source rootfs --rootfs-dir
/home/marek/projects/kas-test/build/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/bootfs.image_sdimg
--ondisk "mmcblk0" --fstype=vfat --label boot --align 8192
--fixed-size 16 --active
| part --source rawcopy
--sourceparams="file=/home/marek/projects/kas-test/build/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-raspberrypi4.ext4"
--ondisk "mmcblk0" --align 8192 --fixed-size 172032k
| part --source rawcopy
--sourceparams="file=/home/marek/projects/kas-test/build/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-raspberrypi4.ext4"
--ondisk "mmcblk0" --align 8192 --fixed-size 172032k
| part swap --ondisk "mmcblk0" --fstype=swap --label swap --align 8192
--size 512
| part --source rawcopy
--sourceparams="file=/home/marek/projects/kas-test/build/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-raspberrypi4.dataimg"
--ondisk "mmcblk0" --align 8192 --fixed-size 128
|
| bootloader --ptable msdos
| + echo '### End of contents of wks file ###'
| ### End of contents of wks file ###

Without a swap partition image is built fine without any issue. When
swap partition is added to wks file I'm getting following error:

| INFO: Creating image(s)...
|
| Traceback (most recent call last):
| File "/home/marek/projects/kas-test/poky/scripts/wic", line 542, in <module>
| sys.exit(main(sys.argv[1:]))
| File "/home/marek/projects/kas-test/poky/scripts/wic", line 537, in main
| return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage,
subcommands)
| File "/home/marek/projects/kas-test/poky/scripts/lib/wic/help.py",
line 83, in invoke_subcommand
| subcmd[0](args, usage)
| File "/home/marek/projects/kas-test/poky/scripts/wic", line 219,
in wic_create_subcommand
| engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir,
| File "/home/marek/projects/kas-test/poky/scripts/lib/wic/engine.py",
line 190, in wic_create
| plugin.do_create()
| File "/home/marek/projects/kas-test/poky/scripts/lib/wic/plugins/imager/direct.py",
line 96, in do_create
| self.create()
| File "/home/marek/projects/kas-test/poky/scripts/lib/wic/plugins/imager/direct.py",
line 180, in create
| self._image.prepare(self)
| File "/home/marek/projects/kas-test/poky/scripts/lib/wic/plugins/imager/direct.py",
line 354, in prepare
| part.prepare(imager, imager.workdir, imager.oe_builddir,
| File "/home/marek/projects/kas-test/poky/scripts/lib/wic/partition.py",
line 182, in prepare
| plugin.do_prepare_partition(self, srcparams_dict, creator,
| File "/home/marek/projects/kas-test/poky/scripts/lib/wic/plugins/source/rootfs.py",
line 112, in do_prepare_partition
| copyhardlinktree(orig_dir, new_rootfs)
| File "/home/marek/projects/kas-test/poky/meta/lib/oe/path.py",
line 121, in copyhardlinktree
| subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
| File "/home/marek/projects/kas-test/build/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/subprocess.py",
line 411, in check_output
| return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
| File "/home/marek/projects/kas-test/build/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/lib/python3.8/subprocess.py",
line 512, in run
| raise CalledProcessError(retcode, process.args,
| subprocess.CalledProcessError: Command 'cd
/home/marek/projects/kas-test/build/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/bootfs.image_sdimg;
find . -type d -print | tar --xattrs --xattrs-include='*' -cf - -S -C
/home/marek/projects/kas-test/build/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/bootfs.image_sdimg
-p --no-recursion --files-from - | tar --xattrs --xattrs-include='*'
-xhf - -C /home/marek/projects/kas-test/build/tmp/work/raspberrypi4-poky-linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-raspberrypi4-20211115212420-sdimg/tmp.wic.1oe9hwjw/rootfs2'
returned non-zero exit status 2.

I tried to debug it but didn't find anything obvious. I'm sure this
was working fine in previous releases. Any ideas?

Thanks and BR,

marek

--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
marek


Re: Honister version: ERROR: QA Issue: Files/directories were installed but not shipped

Michael Opdenacker
 

Hi Jupiter,

On 11/22/21 10:51 AM, JH wrote:
Hi,

I was able to build my package in Zeus, I am now upgrading from Zeus
to Honister, the same package I could build in Zeus now failed in
Honister at do_package where I installed my libraries and symbolic
libraries links to my own RW locations:

ERROR: QA Issue: Files/directories were installed but not shipped

I purposely separate my application libraries and symbolic libraries
links from traditional system RO library location to my application RW
locations, I know how to handle it, it works perfectly built in Zeus,
I don't need the Yocto QA to police it, I tried to add an empty
do_package_qa() in my receipt, it does not work either. Are there any
ways to disable package QA?

Appreciate your advice either how to fix it or disable package QA.

These checks can be disabled. See
https://docs.yoctoproject.org/ref-manual/classes.html?highlight=insane#insane-bbclass
Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Honister version: ERROR: QA Issue: Files/directories were installed but not shipped

JH
 

Hi,

I was able to build my package in Zeus, I am now upgrading from Zeus
to Honister, the same package I could build in Zeus now failed in
Honister at do_package where I installed my libraries and symbolic
libraries links to my own RW locations:

ERROR: QA Issue: Files/directories were installed but not shipped

I purposely separate my application libraries and symbolic libraries
links from traditional system RO library location to my application RW
locations, I know how to handle it, it works perfectly built in Zeus,
I don't need the Yocto QA to police it, I tried to add an empty
do_package_qa() in my receipt, it does not work either. Are there any
ways to disable package QA?

Appreciate your advice either how to fix it or disable package QA.

Thank you.

Kind regards,

- JH


Re: Useradd recipe not generating /etc/passwd entries #dunfell

taylor.winning@...
 

Okay, I seem to have achieved this by adding:

ALLOW_EMPTY_${PN}="1"

To the adh-user-add recipe that everything is depending on (including the image recipe).

I'm a bit confused as to why that was such a hassle to achieve something I would have thought was a simple adding of a few users. Definitely would've appreciated a warning that the build system was attempting to add an empty package or something like that. I wouldn't think I'm on the fringe's of Yocto development here, but perhaps my use case is resulting in an 'empty package' being created via my image recipe that most other use-cases aren't triggering?

I would be very glad to hear any input despite having this resolved.

 


Useradd recipe not generating /etc/passwd entries #dunfell

taylor.winning@...
 

Hi,

I’m attempting to create a few service users for our software products. Initially I had inherited useradd in each recipe that required the user, then had a corresponding user added from within the image recipe. I know this is not ideal, however I have been unable to solve some issues I’m having so I’m hoping someone can help.

I'm on Dunfell branch.

I now have a recipe that creates two users, that all other recipes DEPENDS on. Here is the contents of that recipe (adh-user-add.bb):

 

FILESEXTRAPATHS_prepend := "${THISDIR}:"

SUMMARY = "Add adh and adhX user for other recipes"

LICENSE="CLOSED"

PV = "${ADH_ADH_SVN_REVISION}"

require require/revisions.inc

PACKAGE_ARCH = "${MACHINE_ARCH}"

 

inherit useradd

 

USERADD_PACKAGES = "${PN}"

USERADD_PARAM_${PN} = "--system --uid 420 -g adh adh; --system --uid 421 -g adhX adhX "

GROUPADD_PARAM_${PN} = "-g 420 adh; -g 421 adhX "

 

Each recipe that needs these users simply DEPENDS on it from within its own recipe. I understand that is the preferred way of doing this?

 

However, inside my image (development-image.bb) once its built, my /etc/passwd file does not contain these users at all. I have tried the following things:

 

  1. IMAGE_INSTALL_append += “ adh-user-add”
  2. DEPENDS += “ adh-user-add”
  3. RDEPENDS += “ adh-user-add”

 

Each time I get a passwd file inside of adh-user-add/recipe-sysroots and development-image/recipe-sysroots that contains both users, however the passwd file on the device is missing those users entirely.

 

My image recipe looks like this:

 

SUMMARY = "Development image"

inherit core-image extrausers

require require/revisions.inc

 

PV = "${CUBE_IMAGE_VERSION}"

PR = "${CUBE_IMAGE_REVISION}"

 

IMAGE_FSTYPES_append += "wic wic.xz"

 

WKS_FILE = "sgc30cube.wks"

IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}  "

 

IMAGE_INSTALL_append = " \

                                                 *** packages removed ***

                                                 "

 

IMAGE_FEATURES_append = " ssh-server-dropbear"

MACHINE_FEATURES_remove = "kernel26 nc screen ext2 alsa gpu touchscreen qemu-usermode"

 

DEPENDS += "adh-user-add"

IMAGE_FEATURES_append = " debug-tweaks"

I feel like I'm going crazy trying to figure this out. I wish I could figure out how the final passwd file is generated. I've looked in some logs that I've seen suggested online, but have been unable to ascertain if there are any errors occurring.

Any help would be greatly appreciated,

Thanks,

Taylor W


Re: #yocto Remove hexdump from image #yocto

Randy MacLeod
 

On 2021-11-19 4:12 a.m., lucapirozzi via lists.yoctoproject.org wrote:
Hi Joseph,
thank you for replying.
Shall I use the oe-pkgdata-util find-path this way?
oe-pkgdata-util  find-path /usr/bin/hexdump
Because I'm encountering an error
ERROR: Unable to find any package producing path /usr/bin/hexdump
So I think I am doing something wrong

Hi Luca,

I think you either need the right key/string:

$ oe-pkgdata-util find-path /bin/ls.coreutils

coreutils: /bin/ls.coreutils


or to use a wildcard and quotes:

$ oe-pkgdata-util find-path "/bin/ls*"

coreutils: /bin/ls.coreutils

kmod: /bin/lsmod.kmod



For help:

$ oe-pkgdata-util

oe-pkgdata-util: error: the following arguments are required: <subcommand>

usage: oe-pkgdata-util [-h] [-d] [-p PKGDATA_DIR] <subcommand> ...



OpenEmbedded pkgdata tool - queries the pkgdata files written out during

do_package



options:

-h, --help show this help message and exit

-d, --debug Enable debug output

-p PKGDATA_DIR, --pkgdata-dir PKGDATA_DIR

Path to pkgdata directory (determined automatically if

not specified)



subcommands:

lookup-pkg Translate between recipe-space package names and

runtime package names

list-pkgs List packages

list-pkg-files List files within a package

lookup-recipe Find recipe producing one or more packages

package-info Show version, recipe and size information for one or

more packages

find-path Find package providing a target path

read-value Read any pkgdata value for one or more packages

glob Expand package name glob expression

Use oe-pkgdata-util <subcommand> --help to get help on a specific command



--
# Randy MacLeod
# Wind River Linux


[meta-security][PATCH 1/2] openssl-tpm-engine: fix warning for append operator combined with +=

Yi Zhao
 

Fixes:
WARNING: openssl-tpm-engine_0.5.0.bb: CFLAGS:append += is not a
recommended operator combination, please replace it.

Signed-off-by: Yi Zhao <yi.zhao@...>
---
.../openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb b/meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb
index ef663eb..2b969ed 100644
--- a/meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb
+++ b/meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb
@@ -35,10 +35,10 @@ inherit autotools-brokensep pkgconfig
srk_dec_pw ?= "\\"\\\x1\\"\\"nc\\"\\"\\\x3\\"\\"nd\\"\\"\\\x1\\"\\"a\\""
srk_dec_salt ?= "\\"r\\"\\"\\\x00\\\x00\\"\\"t\\""

-CFLAGS:append += "-DSRK_DEC_PW=${srk_dec_pw} -DSRK_DEC_SALT=${srk_dec_salt}"
+CFLAGS:append = " -DSRK_DEC_PW=${srk_dec_pw} -DSRK_DEC_SALT=${srk_dec_salt}"

# Uncomment below line if using the plain srk password for development
-#CFLAGS_append += "-DTPM_SRK_PLAIN_PW"
+#CFLAGS:append = " -DTPM_SRK_PLAIN_PW"

do_configure:prepend() {
cd ${B}
--
2.25.1


[meta-security][PATCH 2/2] meta-parsec/README.md: fix for append operator combined with +=

Yi Zhao
 

Signed-off-by: Yi Zhao <yi.zhao@...>
---
meta-parsec/README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-parsec/README.md b/meta-parsec/README.md
index c5635d3..bb4c2b9 100644
--- a/meta-parsec/README.md
+++ b/meta-parsec/README.md
@@ -80,7 +80,7 @@ Manual testing with runqemu
This layer also contains a recipe for pasec-tool which can be used for
manual testing of the Parsec service:

- IMAGE_INSTALL:append += " parsec-tools"
+ IMAGE_INSTALL:append = " parsec-tools"

There are a series of Parsec Demo videos showing how to use parsec-tool
to test the Parsec service base functionality:
@@ -104,7 +104,7 @@ enabled. No changes required.
The Software HSM can be used for manual testing of the provider by
including it into your test image:

- IMAGE_INSTALL:append += " softhsm"
+ IMAGE_INSTALL:append = " softhsm"

Inside the running VM:
- Stop Parsec
@@ -135,7 +135,7 @@ systemctl start parsec
The IBM Software TPM service can be used for manual testing of the provider by
including it into your test image:

- IMAGE_INSTALL:append += " ibmswtpm2 tpm2-tools libtss2 libtss2-tcti-mssim"
+ IMAGE_INSTALL:append = " ibmswtpm2 tpm2-tools libtss2 libtss2-tcti-mssim"

Inside the running VM:
- Stop Parsec
--
2.25.1


Re: Private: Re: [yocto] #yocto Remove hexdump from image #yocto

Jason Andryuk
 

On Fri, Nov 19, 2021 at 4:14 AM Josef Holzmayr
<jester@...> wrote:

(re-adding list)

Am 19.11.2021 um 10:11 schrieb lucapirozzi via lists.yoctoproject.org:
Hi Joseph,

thank you for replying.

Shall I use oe-pkgdata-util find-patch this way?

oe-pkgdata-util find-path /usr/bin/hexdump

Because it gives me an error
ERROR: Unable to find any package producing path /usr/bin/hexdump
You have to use the path you found hexdump at. Check in your running
target by using "which", or inspect the image contents.
You may not be getting any result because /usr/bin/hexdump is an
alternatives symlink to
/usr/bin/hexdump.util-linux for example (util-linux-hexdump).

Regards,
Jason


Re: [meta-raspberrypi][PATCH] linux-firmware-rpidistro: add branch in SRC_URI

Andrei Gherzan
 

On Fri, 19 Nov 2021, at 10:26, Devendra Tewari wrote:

Looks good. Waiting for CI and I will merge.

---
Andrei


Re: [meta-raspberrypi][PATCH] linux-firmware-rpidistro: add branch in SRC_URI

Devendra Tewari
 

On 18 Nov 2021, at 19:17, Devendra Tewari <devendra.tewari@...> wrote:

Thanks.

Em 18 de nov. de 2021, à(s) 18:17, Martin Jansa <martin.jansa@...> escreveu:


On Thu, Nov 18, 2021 at 9:01 PM Devendra Tewari <devendra.tewari@...> wrote:
Branch master has been renamed to buster. Also setting protocol to
https as GitHub is migrating away from unencrypted git protocol

Signed-off-by: Devendra Tewari <devendra.tewari@...>
---
 .../linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
index a091585..874e444 100644
--- a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
+++ b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
@@ -34,7 +34,7 @@ LIC_FILES_CHKSUM = "\
 NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx-rpidistro] = "LICENCE.broadcom_bcm43xx"
 NO_GENERIC_LICENSE[WHENCE] = "WHENCE"

-SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree"
+SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree;protocol=https;branch=buster"

 SRCREV = "83938f78ca2d5a0ffe0c223bb96d72ccc7b71ca5"
 PV = "20190114-1+rpt11"
--
2.33.1






Re: Private: Re: [yocto] #yocto Remove hexdump from image #yocto

Josef Holzmayr
 

(re-adding list)

Am 19.11.2021 um 10:11 schrieb lucapirozzi via lists.yoctoproject.org:
Hi Joseph,

thank you for replying.

Shall I use oe-pkgdata-util find-patch this way?

oe-pkgdata-util  find-path /usr/bin/hexdump

Because it gives me an error
ERROR: Unable to find any package producing path /usr/bin/hexdump
You have to use the path you found hexdump at. Check in your running target by using "which", or inspect the image contents.


Greetz


So I think I am doing something wrong. Maybe the folder I am launching the script from?


Re: #yocto Remove hexdump from image #yocto

lucapirozzi@...
 

Hi Joseph,

thank you for replying.

Shall I use the oe-pkgdata-util find-path this way?

oe-pkgdata-util  find-path /usr/bin/hexdump

Because I'm encountering an error
ERROR: Unable to find any package producing path /usr/bin/hexdump

So I think I am doing something wrong


Re: #yocto Remove hexdump from image #yocto

Josef Holzmayr
 

Am 19.11.2021 um 10:02 schrieb lucapirozzi via lists.yoctoproject.org:

Hi everyone,

I'm trying to remove some application, some of them packages and other being busybox parts.

I'm trying to remove hexdump from my image and I configured every busybox defconfig to have CONFIG_HEXDUMP and its REVERSE CONFIG to =n.

But I'm finding hexdump in my image filesystem nevertheless.
Check oe-pkgdata-util find-path in your build to find out which package/recipe to actually look at.


Greetz


Any help?

Thank you and Regards.


#yocto Remove hexdump from image #yocto

lucapirozzi@...
 

Hi everyone,

I'm trying to remove some application, some of them packages and other being busybox parts.

I'm trying to remove hexdump from my image and I configured every busybox defconfig to have CONFIG_HEXDUMP and its REVERSE CONFIG to =n.

But I'm finding hexdump in my image filesystem nevertheless.

Any help?

Thank you and Regards.


[meta-security][PATCH] apparmor: fix warning of remove operator combined with +=

kai
 

From: Kai Kang <kai.kang@...>

Fix warning for apparmor:

| WARNING: /path/to/meta-security/recipes-mac/AppArmor/apparmor_3.0.1.bb:
| RDEPENDS:${PN}:remove += is not a recommended operator combination,
| please replace it.

Signed-off-by: Kai Kang <kai.kang@...>
---
recipes-mac/AppArmor/apparmor_3.0.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-mac/AppArmor/apparmor_3.0.1.bb b/recipes-mac/AppArmor/apparmor_3.0.1.bb
index 389e72a..818be15 100644
--- a/recipes-mac/AppArmor/apparmor_3.0.1.bb
+++ b/recipes-mac/AppArmor/apparmor_3.0.1.bb
@@ -168,7 +168,7 @@ RDEPENDS:${PN}:libc-glibc += "glibc-utils"

# Add coreutils and findutils only if sysvinit scripts are in use
RDEPENDS:${PN} += "${@["coreutils findutils", ""][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'systemd')]} ${@bb.utils.contains('PACKAGECONFIG','python','python3-core python3-modules','', d)}"
-RDEPENDS:${PN}:remove += "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}"
+RDEPENDS:${PN}:remove = "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}"
RDEPENDS:${PN}-ptest += "perl coreutils dbus-lib bash"

INSANE_SKIP:${PN} = "ldflags"
--
2.17.1


[ANNOUNCEMENT] Yocto Project 3.3.4 (hardknott-25.0.4) is Released

Vineela
 

Hello,

 

We are pleased to announce the Yocto Project 3.3.4 (hardknott-25.0.4) Release is now available for download.

 

http://downloads.yoctoproject.org/releases/yocto/yocto-3.3.4/poky-hardknott-25.0.4.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.3.4/poky-hardknott-25.0.4.tar.bz2

 

A gpg signed version of these release notes is available at:

 

http://downloads.yoctoproject.org/releases/yocto/yocto-3.3.4/RELEASENOTES

 

Full Test Report:

 

http://downloads.yoctoproject.org/releases/yocto/yocto-3.3.4/testreport.txt

 

Thank you for everyone's contributions to this release.

 

Vineela Tummalapalli

vineela.tummalapalli@...

Yocto Project Build and Release

 

 

--------------------------

yocto-3.3.4 Release Notes

--------------------------

 

 

--------------------------

Repositories/Downloads

--------------------------

 

Repository Name: poky

Repository Location: https://git.yoctoproject.org/git/poky

Branch: hardknott

Tag: yocto-3.3.4

Git Revision: c40ac16d79026169639f47be76a3f7b9d8b5178e

Release Artefact: poky-hardknott-25.0.4

sha: cbe13ef39105909ca13c6b6a84e4c66995e97a6c26e026b84046e5b8c5fd4a54

Download Locations:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.3.4/poky-hardknott-25.0.4.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.3.4/poky-hardknott-25.0.4.tar.bz2

 

Repository Name: openembedded-core

Repository Location: https://git.openembedded.org/openembedded-core

Branch: hardknott

Tag: 2021-04.4-hardknott

Git Revision: 0ca080a23c2770a15138f702d4c879bbd90ca360

Release Artefact: oecore-hardknott-25.0.4

sha: cc11201a8e4e80f4c776bc513d8442ffaf1dfd44fab7a72133da3aaabb967ff2

Download Locations:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.3.4/oecore-hardknott-25.0.4.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.3.4/oecore-hardknott-25.0.4.tar.bz2

 

Repository Name: meta-mingw

Repository Location: https://git.yoctoproject.org/git/meta-mingw

Branch: hardknott

Tag: yocto-3.3.4

Git Revision: 422b96cb2b6116442be1f40dfb5bd77447d1219e

Release Artefact: meta-mingw-hardknott-25.0.4

sha: eff7ca53ad2360faa277fa7def3eb618e3a0e66e6008a560bcf6839c85042bca

Download Locations:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.3.4/meta-mingw-hardknott-25.0.4.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.3.4/meta-mingw-hardknott-25.0.4.tar.bz2

 

Repository Name: meta-gplv2

Repository Location: https://git.yoctoproject.org/git/meta-gplv2

Branch: hardknott

Tag: yocto-3.3.4

Git Revision: 9e119f333cc8f53bd3cf64326f826dbc6ce3db0f

Release Artefact: meta-gplv2-hardknott-25.0.4

sha: 9f273fc39082840baefb31de42efca6fe53f36679f665101b803df33d061c2a1

Download Locations:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.3.4/meta-gplv2-hardknott-25.0.4.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.3.4/meta-gplv2-hardknott-25.0.4.tar.bz2

 

Repository Name: bitbake

Repository Location: https://git.openembedded.org/bitbake

Branch: 1.50

Tag: 2021-04.4-hardknott

Git Revision: 0fe1a9e2d2e33f80d807cefc7a23df4a5f760c74

Release Artefact: bitbake-hardknott-25.0.4

sha: d689dc6647de2c880b814c0d5955b7d46c910e82221b0480eb7bd5fd4f455067

Download Locations:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.3.4/bitbake-hardknott-25.0.4.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.3.4/bitbake-hardknott-25.0.4.tar.bz2

 

Repository Name: yocto-docs

Repository Location: https://git.yoctoproject.org/git/yocto-docs

Branch: hardknott

Tag: yocto-3.3.4

Git Revision: e8e4539e1e812ea835192d1e35cc9992a43059ca

 

----------------

Contributors

----------------

Alexander Kanavin

Anibal Limon

Anuj Mittal

Armin Kuster

Bruce Ashfield

Caner Altinbasak

Chandana kalluri

Changqing Li

Chen Qi

Claudius Heine

Hongxu Jia

Jon Mason

Jose Quaresma

Joshua Watt

Kai Kang

Kenfe-Mickael Laventure

Kevin Hao

Khem Raj

Kiran Surendran

Konrad Weihmann

Mark Hatle

Markus Volk

Martin Jansa

Michael Halstead

Michael Opdenacker

Mingli Yu

Pablo Saavedra Rodi?o

Pgowda

Richard Purdie

Ross Burton

Sakib Sajal

Steve Sakoman

Thomas Perrot

Tom Pollard

Trevor Gamblin

William A. Kennington III

Yi Zhao

 

---------------

Known Issues

---------------

Bug 14622 - bsps-hw.bsps-hw.Test_Seek_bar_and_volume_control manual test case failure

 

 

---------------

Security Fixes

---------------

openssh: fix CVE-2021-41617

binutils: Fix CVE-2021-3530

ghostscript: Fix CVE-2021-3781

ncurses: fix CVE-2021-39537

vim: Backport fix for CVE-2021-3770

bind: Exclude CVE-2019-6470 from cve-check

qemu: fix CVE-2021-3682

systemd: fix CVE-2021-33910

connman: add CVE_PRODUCT

vim: fix CVEs

ffmpeg: fix CVE-2021-38114

tar: ignore node-tar CVEs

ffmpeg: fix CVE-2021-38171

go: Exclude CVE-2021-29923 from report list

flex: Add CVE-2019-6293 to exclusions for checks

tcl: Exclude CVE-2021-35331 from checks

bluez5: fix CVE-2021-0129

ffmpeg: fix CVE-2021-38291

squashfs-tools: fix CVE-2021-40153

mc: fix CVE-2021-36370

apr: Security fix for CVE-2021-35940

sqlite3: fix CVE-2021-36690

ruby: fix CVE-2021-31799

ruby: Security fixes for CVE-2021-31810/CVE-2021-32066

 

 

---------------

Fixes

---------------

build-appliance-image: Update to hardknott head revision

poky.conf: bump version for 3.3.4 hardknott release

ref-manual: migration-3.0: fix ref to removed variable

documentation: prepare for 3.3.4 release

bitbake: fetch/git: Handle github dropping git:// support

meta: bump HASHEQUIV_HASH_VERSION after RPM fix

bootchart2: Don't compile python modules

tzdata: upgrade 2021a -> 2021d

ca-certificates: update 20210119 -> 20211016

wireless-regdb: upgrade 2021.07.14 -> 2021.08.28

wireless-regdb: upgrade 2021.04.21 -> 2021.07.14

linux-firmware: upgrade 20210818 -> 20210919

linux-yocto/5.10: update to v5.10.75

linux-yocto/5.10: update to v5.10.74

linux-yocto/5.10: update to v5.10.73

strace: show test suite log on failure

waffle: convert to git, website is down

sstate: fix touching files inside pseudo

oe/utils: log exceptions in ThreadedWorker functions

testimage: fix unclosed testdata file

uninative: Upgrade to 3.4

poky.yaml: fedora33: add missing pkgs

reproducible_build: Work around caching issues

rpm: Deterministically set vendor macro entry

go: upgrade 1.16.7 -> 1.16.8

ruby: fix the reproducibility issue

linux-yocto/5.10: update to v5.10.70

linux-yocto/5.10: update to v5.10.69

oeqa/selftest/glibc: Handle incorrect encoding issuesin glibc test results

uninative: Upgrade to 3.3, support glibc 2.34

uninative: Improve glob to handle glibc 2.34

pseudo: Update with fcntl and glibc 2.34 fixes

nativesdk-pseudo: Fix to work with glibc 2.34 systems

pseudo: Fix to work with glibc 2.34 systems

gpgme: Use glibc provided closefrom API when available

m4: Do not use SIGSTKSZ

util-linux: disable raw

patch.bbclass: when the patch fails show more info on the fatal error

rng-tools: add systemd-udev-settle wants to service

python3: Add a fix for a make install race

libnewt: Use python3targetconfig to fix reproducibility issue

libxml2: Use python3targetconfig to fix reproducibility issue

oeqa/manual: Fix no longer valid URLs

multilib: Avoid sysroot race issues when multilib enabled

externalsrc: Fix a source date epoch race in reproducible builds

externalsrc: Work with reproducible_build

oeqa/selftest/bbtests: Add uuid to force build test

gobject-introspection: Don't write $HOME into scripts

mesa: Ensure megadrivers runtime mappings are deterministic

gnupg: Be deterministic about sendmail

package: Ensure pclist files are deterministic and don't use full paths

rpm: Ensure compression parallelism isn't coded into rpms

linux-yocto/5.4: update to v5.4.153

linux-yocto/5.4: update to v5.4.150

linux-yocto/5.4: update to v5.4.149

mesa: gallium/dri Make YUV formats we're going to emulate external-only

glibc: upgrade glibc-2.33 to latest version

bitbake: fetch2: clarify the command-no-found error message

bitbake: build: Make exception printing clearer

bitbake: bitbake-worker: Handle pseudo shutdown in Ctrl+C case

bitbake: build: Ensure python stdout/stderr is logged correctly

bitbake: bitbake-worker: Allow shutdown/database flush of pseudo server at task exit

bitbake: npmsw: Avoid race condition with multiple npm fetchers

bitbake: tests/runqueue: Ensure hashserv exits before deleting files

bitbake: fetch2/git: Use os.rename instead of mv

bitbake: fetch2/git: Avoid races over mirror tarball creation

bitbake: test/fetch: Update urls to match upstream branch name changes

scriptutils.py: Add check before deleting path

recipes-support/ptest-runner: Bump to v2.4.2

rm_work.bbclass: Fix for files starting with -

package_ipk: Use localdata store when signing packages

glew: Stop polluting /tmp during builds

wic: keep rootfs_size as integer

Update mailing list address

bitbake: build: Handle SystemExit in python tasks correctly

bitbake: build: Avoid duplicating logs in verbose mode

bitbake: process: Don't include logs in error message if piping them

bash: Ensure deterministic build

oeqa/buildproject: Ensure temp directories are cleaned up

oeqa/selftest/gotoolchain: Fix temp file cleanup

oeqa/qemurunner: Use oe._exit(), not sys.exit()

libsamplerate0: Set correct soname for 0.1.9

bzip2: Update soname for libbz2 1.0.8

pybootchart: Avoid divide by zero

expat: pull from github releases

yocto-bsp/5.10: update to v5.10.63

meta-yocto-bsp: Bump to the v5.10.55

local.conf.sample: Update sstate mirror entry with new hash equivalence setting

poky: Use SDKPATHINSTALL instead of SDKPATH

sstate: Avoid problems with recipes using SRCPV when fetching sstate

bitbake: runqueue/knotty: Improve UI handling of setscene task counting

bitbake: cookerdata: Show a readable error for invalid multiconfig name

bitbake: bitbake-worker: Improve error handling

bitbake: cooker/process: Fix typos in exiting message

bitbake: runqueue: Clean up task stats handling

bitbake: data_smart: Improve error display for handled exceptions

bitbake: cookerdata: Improve missing core layer error message

bitbake: cookerdata: Show error for no BBLAYERS in bblayers.conf

bitbake: tests/fetch2: Use our own git server for dtc test repo

linux-yocto/5.4: update to v5.4.144

linux-yocto/5.4: update to v5.4.143

systemtap: Fix headers issue with x86 and 5.13 headers

linux-yocto/5.10: update to v5.10.63

linux-yocto/5.10: update to v5.10.61

bitbake: build: Catch and error upon circular task references

bitbake: runqueue: Improve multiconfig deferred task issues

bitbake: cooker: Allow upstream for local hash equivalence server

bitbake: runqueue: Fix issues with multiconfig deferred task deadlock messages

bitbake: runqueue: Avoid deadlock avoidance task graph corruption


Re: [meta-raspberrypi][PATCH] linux-firmware-rpidistro: add branch in SRC_URI

Devendra Tewari
 

Thanks.

Em 18 de nov. de 2021, à(s) 18:17, Martin Jansa <martin.jansa@...> escreveu:


On Thu, Nov 18, 2021 at 9:01 PM Devendra Tewari <devendra.tewari@...> wrote:
Branch master has been renamed to buster. Also setting protocol to
https as GitHub is migrating away from unencrypted git protocol

Signed-off-by: Devendra Tewari <devendra.tewari@...>
---
 .../linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
index a091585..874e444 100644
--- a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
+++ b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
@@ -34,7 +34,7 @@ LIC_FILES_CHKSUM = "\
 NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx-rpidistro] = "LICENCE.broadcom_bcm43xx"
 NO_GENERIC_LICENSE[WHENCE] = "WHENCE"

-SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree"
+SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree;protocol=https;branch=buster"

 SRCREV = "83938f78ca2d5a0ffe0c223bb96d72ccc7b71ca5"
 PV = "20190114-1+rpt11"
--
2.33.1





Re: [meta-raspberrypi][PATCH] linux-firmware-rpidistro: add branch in SRC_URI

Martin Jansa
 

On Thu, Nov 18, 2021 at 9:01 PM Devendra Tewari <devendra.tewari@...> wrote:
Branch master has been renamed to buster. Also setting protocol to
https as GitHub is migrating away from unencrypted git protocol

Signed-off-by: Devendra Tewari <devendra.tewari@...>
---
 .../linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
index a091585..874e444 100644
--- a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
+++ b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
@@ -34,7 +34,7 @@ LIC_FILES_CHKSUM = "\
 NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx-rpidistro] = "LICENCE.broadcom_bcm43xx"
 NO_GENERIC_LICENSE[WHENCE] = "WHENCE"

-SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree"
+SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree;protocol=https;branch=buster"

 SRCREV = "83938f78ca2d5a0ffe0c223bb96d72ccc7b71ca5"
 PV = "20190114-1+rpt11"
--
2.33.1




2421 - 2440 of 57764