]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: explicitly pull in libz1 on OpenSUSE
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 14 Oct 2025 12:23:55 +0000 (14:23 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 7 Nov 2025 08:49:11 +0000 (09:49 +0100)
Otherwise it pulls in libz-ng-compat1 which isn't 100% compatible with
libz1, and more importantly it requires an ldconfig drop-in in /etc/
(/etc/ld.so.conf.d/zlib-ng-compat-x86_64.conf) which breaks hermetic-usr
and TEST-07-PID1:

systemd[5582]: /usr/lib/systemd/systemd: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

(cherry picked from commit f50e6fd8971fd59e59712325bf99c90b5579d477)

mkosi/mkosi.conf.d/opensuse/mkosi.conf

index 98c7364a007e7559afeac3cc779ed1acf1d7ada9..206f3c3505f486ac214af003a4909aa22f11dfb8 100644 (file)
@@ -61,6 +61,7 @@ Packages=
         libdw-devel
         libdw1
         libtss2-tcti-device0
+        libz1
         man
         multipath-tools
         ncat