From 65382db74f44d0296de2ccc3e5f67bef740e8422 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 21 Dec 2017 12:30:46 +0800 Subject: systemd: fix PACKAGECONFIG for lz4 Fixed: MACHINE = "qemux86-64" PACKAGECONFIG_append_pn-systemd = "lz4" DISTRO_FEATURES_append = " systemd" DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" VIRTUAL-RUNTIME_init_manager = "systemd" VIRTUAL-RUNTIME_initscripts = "systemd-compat-units" $ bitbake core-image-minimal $ runqemu tmp/deploy/images/qemux86-64/ nographic /sbin/init: error while loading shared libraries: liblz4.so.1: cannot open shared object file: No such file or directory Add lz4 to RDEPENDS to fix the problem. Signed-off-by: Robert Yang --- meta/recipes-core/systemd/systemd_234.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_234.bb b/meta/recipes-core/systemd/systemd_234.bb index 778b8681a9..ed82c33791 100644 --- a/meta/recipes-core/systemd/systemd_234.bb +++ b/meta/recipes-core/systemd/systemd_234.bb @@ -122,7 +122,7 @@ PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig" PACKAGECONFIG[libidn] = "--enable-libidn,--disable-libidn,libidn" PACKAGECONFIG[localed] = "--enable-localed,--disable-localed" PACKAGECONFIG[logind] = "--enable-logind,--disable-logind" -PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4" +PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4,lz4" PACKAGECONFIG[machined] = "--enable-machined,--disable-machined" PACKAGECONFIG[manpages] = "--enable-manpages,--disable-manpages,libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" PACKAGECONFIG[microhttpd] = "--enable-microhttpd,--disable-microhttpd,libmicrohttpd" -- cgit 1.2.3-korg