mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Commit133a491677("Use guestfsd binary to auto-generate library dependencies for appliance", October 2020) removed explicit dependencies for various system packages that the daemon links directly to, ie. all of these libraries: $ objdump -p daemon/guestfsd | grep NEEDED | sort NEEDED libacl.so.1 NEEDED libaugeas.so.0 NEEDED libcap.so.2 NEEDED libc.so.6 NEEDED libgcc_s.so.1 NEEDED libhivex.so.0 NEEDED libjansson.so.4 NEEDED libm.so.6 NEEDED libpcre2-8.so.0 NEEDED librpm.so.9 NEEDED libselinux.so.1 NEEDED libsystemd.so.0 NEEDED libtirpc.so.3 (plus libyara which I don't have installed.) This avoids having to update these dependencies if they change, eg. when we switched from PCRE to PCRE2 we did not need to update this file. However the same commit also incorrectly removed two apparent library packages (libldm, libxml2) which the daemon does not link to, but which we'd like to pull in because of tools they provide, in particular ldmtool. Re-add those two explicit dependencies. Fixes: commit133a491677(cherry picked from commitd5472a2219)