Skip to contentSkip to conversation

xen: make LZO dependency optional

RFC PATCH In review Ross Burton 2 participants 2 messages May 25, 2022

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 xen: make LZO dependency optional

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.

---

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(-)
recipes-extended/xen/xen.inc +1 -1
index d352ffb..ed6e6a7 100644
@@ -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 \
Signature · 1 line
2.25.1
#1 lore raw

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

Quoted 48 lines · 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.

---

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(-)
recipes-extended/xen/xen.inc +1 -1
index d352ffb..ed6e6a7 100644
@@ -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 \
Signature · 11 lines
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: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-