All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] xen: make LZO dependency optional
@ 2022-05-25 11:25 Ross Burton
  2022-05-25 15:45 ` [meta-virtualization] " Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2022-05-25 11:25 UTC (permalink / raw)
  To: meta-virtualization; +Cc: nd

xen-tools has an optional dependency on LZO.  As this is a unmaintained
compression format with better alternatives (such as Zstd), disable it
by default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---

I'm trying to purge LZO from as much as possible, as it is unmaintained
and Zstd is a better all-rounder.  I hope to move lzo from oe-core to
meta-oe, so if you wish to keep LZO support enabled by default it will
continue to work.

 recipes-extended/xen/xen.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index d352ffb..ed6e6a7 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -11,6 +11,7 @@ PACKAGECONFIG ??= " \
     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
     "
 
+PACKAGECONFIG[lzo] = ",,lzo"
 PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl,"
 PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
 PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd,"
@@ -41,7 +42,6 @@ DEPENDS = " \
     procps \
     python3 \
     libaio \
-    lzo \
     util-linux \
     xz \
     yajl \
-- 
2.25.1



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

* Re: [meta-virtualization] [RFC PATCH] xen: make LZO dependency optional
  2022-05-25 11:25 [RFC PATCH] xen: make LZO dependency optional Ross Burton
@ 2022-05-25 15:45 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2022-05-25 15:45 UTC (permalink / raw)
  To: Ross Burton; +Cc: meta-virtualization, nd

merged.

If someone really needed this enabled by default, they can
follow up and explain (or carry a bbappend with the packageconfig).

Bruce


In message: [meta-virtualization] [RFC PATCH] xen: make LZO dependency optional
on 25/05/2022 Ross Burton wrote:

> xen-tools has an optional dependency on LZO.  As this is a unmaintained
> compression format with better alternatives (such as Zstd), disable it
> by default.
> 
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
> 
> I'm trying to purge LZO from as much as possible, as it is unmaintained
> and Zstd is a better all-rounder.  I hope to move lzo from oe-core to
> meta-oe, so if you wish to keep LZO support enabled by default it will
> continue to work.
> 
>  recipes-extended/xen/xen.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
> index d352ffb..ed6e6a7 100644
> --- a/recipes-extended/xen/xen.inc
> +++ b/recipes-extended/xen/xen.inc
> @@ -11,6 +11,7 @@ PACKAGECONFIG ??= " \
>      ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
>      "
>  
> +PACKAGECONFIG[lzo] = ",,lzo"
>  PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl,"
>  PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
>  PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd,"
> @@ -41,7 +42,6 @@ DEPENDS = " \
>      procps \
>      python3 \
>      libaio \
> -    lzo \
>      util-linux \
>      xz \
>      yajl \
> -- 
> 2.25.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7318): https://lists.yoctoproject.org/g/meta-virtualization/message/7318
> Mute This Topic: https://lists.yoctoproject.org/mt/91330824/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



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

end of thread, other threads:[~2022-05-25 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-25 11:25 [RFC PATCH] xen: make LZO dependency optional Ross Burton
2022-05-25 15:45 ` [meta-virtualization] " Bruce Ashfield

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.