From: Robert Yang Date: Thu, 21 Dec 2017 04:30:46 +0000 (+0800) Subject: systemd: fix PACKAGECONFIG for lz4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65382db74f44d0296de2ccc3e5f67bef740e8422;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-core/systemd/systemd_234.bb b/meta/recipes-core/systemd/systemd_234.bb index 778b8681a99..ed82c33791a 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"