]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
systemd: fix PACKAGECONFIG for lz4 rbt/systemd_lz4
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 21 Dec 2017 04:30:46 +0000 (12:30 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Thu, 21 Dec 2017 04:36:44 +0000 (12:36 +0800)
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 <liezhi.yang@windriver.com>
meta/recipes-core/systemd/systemd_234.bb

index 778b8681a9933e432c0d72626716f3e1e8f106d1..ed82c33791a60ba044a4ee71f241080325ab33a3 100644 (file)
@@ -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"