Cherry-picking fixes into Dunfell
The following two fixes are in master but affecting Dunfell. Cherry-picked with some massaging.
PATCH 1/2 cmake-native: enabled zstd support
From: Samuli Piippo <[email protected]>
CMake depends on having all formats supported and build issues can arise when zstd is not available:
https://gitlab.kitware.com/cmake/cmake/-/issues/21552
Quote from a CMake dev:
"As far as CMake's design is concerned, we have no optional formats. All should be supported. That's why we bundle sufficiently new versions of libarchive and libzstd. If a distro builds with an older libarchive that doesn't have zstd support, then that is not a proper packaging of CMake."
--- meta/recipes-devtools/cmake/cmake-native_3.16.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/cmake/cmake-native_3.16.5.bb +1 -1
@@ -1,7 +1,7 @@ require cmake.inc inherit native -DEPENDS += "bzip2-replacement-native expat-native xz-native zlib-native curl-native ncurses-native" +DEPENDS += "bzip2-replacement-native expat-native xz-native zlib-native curl-native ncurses-native zstd-native" SRC_URI += "file://OEToolchainConfig.cmake \ file://environment.d-cmake.sh \
Signature · 1 line
2.26.2.Cisco
PATCH 2/2 qemu.inc: Add seccomp PACKAGECONFIG option
In reply to Ruslan Babayev (fib)From: Nathan Rossi <[email protected]>
Add the seccomp PACKAGECONFIG option to allow building seccomp features in QEMU. The libseccomp library is available in additional layers (e.g. meta-security).
Additionally this serves as a way to disable seccomp by default to avoid the configure of QEMU automatically finding it (via pkg-config) on the build host when building qemu-system-native and auto enabling the feature.
--- meta/recipes-devtools/qemu/qemu.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/qemu/qemu.inc +1 -0
@@ -210,6 +210,7 @@ PACKAGECONFIG[glusterfs] = "--enable-glusterfs,--disable-glusterfs" PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon" PACKAGECONFIG[libudev] = "--enable-libudev,--disable-libudev,eudev" PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2" +PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp" INSANE_SKIP_${PN} = "arch"
Signature · 1 line
2.26.2.Cisco
Re: [OE-core] [PATCH 2/2] qemu.inc: Add seccomp PACKAGECONFIG option
Quoted 23 lines · Ruslan Babayev (fib) via lists.openembedded.org
From: Nathan Rossi <[email protected]>
Add the seccomp PACKAGECONFIG option to allow building seccomp features in QEMU. The libseccomp library is available in additional layers (e.g. meta-security).
Additionally this serves as a way to disable seccomp by default to avoid the configure of QEMU automatically finding it (via pkg-config) on the build host when building qemu-system-native and auto enabling the feature.
Signed-off-by Nathan Rossi <[email protected]>Signed-off-by Richard Purdie <[email protected]>--- meta/recipes-devtools/qemu/qemu.inc | 1 + 1 file changed, 1 insertion(+)meta/recipes-devtools/qemu/qemu.inc +0
-0
meta/recipes-devtools/qemu/qemu.inc PACKAGECONFIG[glusterfs] = "--enable-glusterfs,--disable-glusterfs" · line 214
Quoted 5 lines
meta/recipes-devtools/qemu/qemu.inc +1
-0@@ -210,6 +210,7 @@ PACKAGECONFIG[glusterfs] = "--enable-glusterfs,--disable-glusterfs" PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon" PACKAGECONFIG[libudev] = "--enable-libudev,--disable-libudev,eudev" PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2" +PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp"
also enable it when seccomp is in DISTRO_FEATURES please
Quoted 8 lines
meta/recipes-devtools/qemu/qemu.inc +0
-1INSANE_SKIP_${PN} = "arch" --2.26.2.Cisco