All of lore.kernel.org
 help / color / mirror / Atom feed
* Cherry-picking fixes into Dunfell
@ 2021-07-22 21:50 Ruslan Babayev (fib)
  2021-07-22 21:50 ` [PATCH 1/2] cmake-native: enabled zstd support Ruslan Babayev (fib)
  2021-07-22 21:50 ` [PATCH 2/2] qemu.inc: Add seccomp PACKAGECONFIG option Ruslan Babayev (fib)
  0 siblings, 2 replies; 4+ messages in thread
From: Ruslan Babayev (fib) @ 2021-07-22 21:50 UTC (permalink / raw)
  To: openembedded-core

The following two fixes are in master but affecting Dunfell.
Cherry-picked with some massaging.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] cmake-native: enabled zstd support
  2021-07-22 21:50 Cherry-picking fixes into Dunfell Ruslan Babayev (fib)
@ 2021-07-22 21:50 ` Ruslan Babayev (fib)
  2021-07-22 21:50 ` [PATCH 2/2] qemu.inc: Add seccomp PACKAGECONFIG option Ruslan Babayev (fib)
  1 sibling, 0 replies; 4+ messages in thread
From: Ruslan Babayev (fib) @ 2021-07-22 21:50 UTC (permalink / raw)
  To: openembedded-core; +Cc: Samuli Piippo, Samuli Piippo, Richard Purdie

From: Samuli Piippo <samuli.piippo@gmail.com>

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."

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-devtools/cmake/cmake-native_3.16.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/cmake/cmake-native_3.16.5.bb b/meta/recipes-devtools/cmake/cmake-native_3.16.5.bb
index b2952ee5f5..6034b654da 100644
--- a/meta/recipes-devtools/cmake/cmake-native_3.16.5.bb
+++ b/meta/recipes-devtools/cmake/cmake-native_3.16.5.bb
@@ -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 \
-- 
2.26.2.Cisco


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] qemu.inc: Add seccomp PACKAGECONFIG option
  2021-07-22 21:50 Cherry-picking fixes into Dunfell Ruslan Babayev (fib)
  2021-07-22 21:50 ` [PATCH 1/2] cmake-native: enabled zstd support Ruslan Babayev (fib)
@ 2021-07-22 21:50 ` Ruslan Babayev (fib)
  2021-07-23 21:19   ` [OE-core] " Khem Raj
  1 sibling, 1 reply; 4+ messages in thread
From: Ruslan Babayev (fib) @ 2021-07-22 21:50 UTC (permalink / raw)
  To: openembedded-core; +Cc: Nathan Rossi, Richard Purdie

From: Nathan Rossi <nathan@nathanrossi.com>

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 <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-devtools/qemu/qemu.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 8f927bdf54..e25c2524aa 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -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"
 
-- 
2.26.2.Cisco


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH 2/2] qemu.inc: Add seccomp PACKAGECONFIG option
  2021-07-22 21:50 ` [PATCH 2/2] qemu.inc: Add seccomp PACKAGECONFIG option Ruslan Babayev (fib)
@ 2021-07-23 21:19   ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2021-07-23 21:19 UTC (permalink / raw)
  To: fib
  Cc: Patches and discussions about the oe-core layer, Nathan Rossi,
	Richard Purdie

On Thu, Jul 22, 2021 at 2:51 PM Ruslan Babayev (fib) via
lists.openembedded.org <fib=cisco.com@lists.openembedded.org> wrote:
>
> From: Nathan Rossi <nathan@nathanrossi.com>
>
> 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 <nathan@nathanrossi.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>  meta/recipes-devtools/qemu/qemu.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
> index 8f927bdf54..e25c2524aa 100644
> --- a/meta/recipes-devtools/qemu/qemu.inc
> +++ b/meta/recipes-devtools/qemu/qemu.inc
> @@ -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

>  INSANE_SKIP_${PN} = "arch"
>
> --
> 2.26.2.Cisco
>
>
> 
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-23 21:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22 21:50 Cherry-picking fixes into Dunfell Ruslan Babayev (fib)
2021-07-22 21:50 ` [PATCH 1/2] cmake-native: enabled zstd support Ruslan Babayev (fib)
2021-07-22 21:50 ` [PATCH 2/2] qemu.inc: Add seccomp PACKAGECONFIG option Ruslan Babayev (fib)
2021-07-23 21:19   ` [OE-core] " Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.