[OE-core] [PATCH 1/1] systemd: fix PACKAGECONFIG for lz4

ChenQi Qi.Chen at windriver.com
Thu Dec 21 05:55:37 UTC 2017


The problem seems to be that the lz4 packaging problem.
lz4-ptest is packages as liblz4 and is installed instead of the lz4 package.

Best Regards,
Chen Qi

On 12/21/2017 12:41 PM, Robert Yang wrote:
> 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 at windriver.com>
> ---
>   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 778b868..ed82c33 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"





More information about the Openembedded-core mailing list