]> 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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 14 Oct 2025 16:29:58 +0000 (17:29 +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

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