[OE-core] [PATCH 2/2] systemd: add more compression and importd PACKAGECONFIGs

Khem Raj raj.khem at gmail.com
Mon Jan 4 18:36:41 UTC 2016


On Mon, Jan 4, 2016 at 2:23 AM, Ross Burton <ross.burton at intel.com> wrote:
> Add explicit PACKAGECONFIGs for all of compression formats that systemd can
> detect at configure time, and an explicit enable/disable for importd.  importd
> defaults to disabled as it needs curl and all the compression formats to be
> enabled.
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  meta/recipes-core/systemd/systemd_228.bb | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/systemd/systemd_228.bb b/meta/recipes-core/systemd/systemd_228.bb
> index 0f95390..6673042 100644
> --- a/meta/recipes-core/systemd/systemd_228.bb
> +++ b/meta/recipes-core/systemd/systemd_228.bb
> @@ -70,13 +70,13 @@ PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt"
>  # regardless of PACKAGECONFIG, libgcrypt is always required to expand
>  # the AM_PATH_LIBGCRYPT autoconf macro
>  DEPENDS += "libgcrypt"
> -# Compress the journal
> -PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz"
>  PACKAGECONFIG[cryptsetup] = "--enable-libcryptsetup,--disable-libcryptsetup,cryptsetup"
>  PACKAGECONFIG[microhttpd] = "--enable-microhttpd,--disable-microhttpd,libmicrohttpd"
>  PACKAGECONFIG[elfutils] = "--enable-elfutils,--disable-elfutils,elfutils"
>  PACKAGECONFIG[resolved] = "--enable-resolved,--disable-resolved"
>  PACKAGECONFIG[networkd] = "--enable-networkd,--disable-networkd"
> +# importd requires curl/xz/zlib/bzip2/gcrypt
> +PACKAGECONFIG[importd] = "--enable-importd,--disable-importd"

Would it thow some sensible configure errors on enabling importd
without the dependencies ? now that they are packageconfigs on their
own. ?

>  PACKAGECONFIG[libidn] = "--enable-libidn,--disable-libidn,libidn"
>  PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit"
>  PACKAGECONFIG[manpages] = "--enable-manpages,--disable-manpages,libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
> @@ -92,6 +92,10 @@ PACKAGECONFIG[qrencode] = "--enable-qrencode,--disable-qrencode,qrencode"
>  PACKAGECONFIG[compat] = "--enable-compat-libs,--disable-compat-libs"
>  PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
>  PACKAGECONFIG[coredump] = "--enable-coredump,--disable-coredump"
> +PACKAGECONFIG[bzip2] = "--enable-bzip2,--disable-bzip2,bzip2"
> +PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4"
> +PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz"
> +PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib"
>
>  CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill"
>  CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod"
> --
> 2.6.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list