systemd: make xz support (compressed journal) optional, defaulting to on.
Compressed journals means using liblzma, sf the journal isn't going to be used this can be disabled. (From OE-Core rev: 5dcfe269c844673102beaacc6007fbd49f6b6d90) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c2aab97e96
commit
123e3c2fba
|
@ -11,7 +11,7 @@ PROVIDES = "udev"
|
||||||
PE = "1"
|
PE = "1"
|
||||||
PR = "r4"
|
PR = "r4"
|
||||||
|
|
||||||
DEPENDS = "xz kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup tcp-wrappers glib-2.0"
|
DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup tcp-wrappers glib-2.0"
|
||||||
DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
|
DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
|
||||||
|
|
||||||
SECTION = "base/shell"
|
SECTION = "base/shell"
|
||||||
|
@ -43,9 +43,11 @@ LDFLAGS_libc-uclibc_append = " -lrt"
|
||||||
|
|
||||||
GTKDOC_DOCDIR = "${S}/docs/"
|
GTKDOC_DOCDIR = "${S}/docs/"
|
||||||
|
|
||||||
PACKAGECONFIG ??= ""
|
PACKAGECONFIG ??= "xz"
|
||||||
# Sign the journal for anti-tampering
|
# Sign the journal for anti-tampering
|
||||||
PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt"
|
PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt"
|
||||||
|
# Compress the journal
|
||||||
|
PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz"
|
||||||
|
|
||||||
CACHED_CONFIGUREVARS = "ac_cv_path_KILL=${base_bindir}/kill"
|
CACHED_CONFIGUREVARS = "ac_cv_path_KILL=${base_bindir}/kill"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue