[RFC PATCH] xen: make LZO dependency optional


Ross Burton
 

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

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 ??=3D " \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)=
} \
"
=20
+PACKAGECONFIG[lzo] =3D ",,lzo"
PACKAGECONFIG[sdl] =3D "--enable-sdl,--disable-sdl,virtual/libsdl,"
PACKAGECONFIG[xsm] =3D "--enable-xsmpolicy,--disable-xsmpolicy,checkpoli=
cy-native,"
PACKAGECONFIG[systemd] =3D "--enable-systemd,--disable-systemd,systemd,"
@@ -41,7 +42,6 @@ DEPENDS =3D " \
procps \
python3 \
libaio \
- lzo \
util-linux \
xz \
yajl \
--=20
2.25.1

Join {meta-virtualization@lists.yoctoproject.org to automatically receive all group messages.