summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2023-01-19 16:35:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-24 22:06:51 +0000
commit144226a5ca2c93504c87c550a1c82dcff8cfde78 (patch)
tree89aceaf667d3c91eba416c89f65b3e1f8148e1e3 /meta/recipes-core/systemd
parent4d1675beac04b0b73b1f33bb26159d41c55e3bb7 (diff)
downloadpoky-144226a5ca2c93504c87c550a1c82dcff8cfde78.tar.gz
systemd: add PACKAGECONFIG to select default compression format
If multiple compression libraries are enabled, the format to use for compression is chosen implicitly, so if you want to compress with e.g. lz4 you cannot enable zstd, so you cannot read zstd-compressed journal files. This PACKAGECONFIGs allow to enable all compression formats for reading, but to choose a specific one for writing. (From OE-Core rev: bec1e2628e7accf2eff07193ae5ea14eb443ae37) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_252.4.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_252.4.bb b/meta/recipes-core/systemd/systemd_252.4.bb
index 7c3c78a364..d291a2a9a1 100644
--- a/meta/recipes-core/systemd/systemd_252.4.bb
+++ b/meta/recipes-core/systemd/systemd_252.4.bb
@@ -129,6 +129,12 @@ PACKAGECONFIG[cgroupv2] = "-Ddefault-hierarchy=unified,-Ddefault-hierarchy=hybri
129PACKAGECONFIG[coredump] = "-Dcoredump=true,-Dcoredump=false" 129PACKAGECONFIG[coredump] = "-Dcoredump=true,-Dcoredump=false"
130PACKAGECONFIG[cryptsetup] = "-Dlibcryptsetup=true,-Dlibcryptsetup=false,cryptsetup,,cryptsetup" 130PACKAGECONFIG[cryptsetup] = "-Dlibcryptsetup=true,-Dlibcryptsetup=false,cryptsetup,,cryptsetup"
131PACKAGECONFIG[tpm2] = "-Dtpm2=true,-Dtpm2=false,tpm2-tss,tpm2-tss libtss2 libtss2-tcti-device" 131PACKAGECONFIG[tpm2] = "-Dtpm2=true,-Dtpm2=false,tpm2-tss,tpm2-tss libtss2 libtss2-tcti-device"
132# If multiple compression libraries are enabled, the format to use for compression is chosen implicitly,
133# so if you want to compress with e.g. lz4 you cannot enable zstd, so you cannot read zstd-compressed journal files.
134# This option allows to enable all compression formats for reading, but choosing a specific one for writing.
135PACKAGECONFIG[default-compression-lz4] = "-Dlz4=true -Ddefault-compression=lz4,,lz4"
136PACKAGECONFIG[default-compression-xz] = "-Dxz=true -Ddefault-compression=xz,,xz"
137PACKAGECONFIG[default-compression-zstd] = "-Dzstd=true -Ddefault-compression=zstd,,zstd"
132PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus" 138PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus"
133PACKAGECONFIG[efi] = "-Defi=true,-Defi=false" 139PACKAGECONFIG[efi] = "-Defi=true,-Defi=false"
134PACKAGECONFIG[gnu-efi] = "-Dgnu-efi=true -Defi-libdir=${STAGING_LIBDIR} -Defi-includedir=${STAGING_INCDIR}/efi,-Dgnu-efi=false,gnu-efi" 140PACKAGECONFIG[gnu-efi] = "-Dgnu-efi=true -Defi-libdir=${STAGING_LIBDIR} -Defi-includedir=${STAGING_INCDIR}/efi,-Dgnu-efi=false,gnu-efi"