Hello Jose, > There is an extra space missing in before the privdrop, the :append override > does not add the extra space. > Can you try with: PACKAGECONFIG:append = " privdrop" ? > Jose
I apologize - I wanted my mail to bo compacted, so I just typed that expression manually. In practice my recipe contains: PACKAGECONFIG:append = " \ privdrop \ " I does not work. I am more and more convinced that enumerated by me recipes should be modified (inherit -> inherit_defer). For example, I can see the following commit in the meta-openembedded master branch which addresses nftables: commit 5cf3766cf6395d4bfa5de20cf7427950ca498eaa Author: Michael Olbrich <m.olbr...@pengutronix.de> Date: Wed May 29 11:58:51 2024 +0200 nftables: avoid python dependencies when building without python Use inherit_defer instead of inhert. This way, setuptools3 is not inherited when python is removed from PACKAGECONFIG in a .bbappend file. This avoids dependencies added by setuptools3. Don't add nftables-python to PACKAGES if python is disabled. It adds extra runtime dependencies on python3-core and python3-json. Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de> Signed-off-by: Khem Raj <raj.k...@gmail.com> diff --git a/meta-networking/recipes-filter/nftables/nftables_1.0.9.bb b/meta-networking/recipes-filter/nftables/nftables_1.0.9.bb index 7718922742..17f00ffd42 100644 --- a/meta-networking/recipes-filter/nftables/nftables_1.0.9.bb +++ b/meta-networking/recipes-filter/nftables/nftables_1.0.9.bb @@ -35,9 +35,9 @@ EXTRA_OECONF = " \ SETUPTOOLS_SETUP_PATH = "${S}/py" -inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'setuptools3', '', d)} +inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'setuptools3', '', d)} -PACKAGES =+ "${PN}-python" +PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}" FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" RDEPENDS:${PN}-python = "python3-core python3-json ${PN}" Best regards, Lukasz Zemla
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63354): https://lists.yoctoproject.org/g/yocto/message/63354 Mute This Topic: https://lists.yoctoproject.org/mt/106724990/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-