mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
appliance: Copy /etc/ld.so.cache from the host into the appliance.
Previously we were running ldconfig to create /etc/ld.so.cache. This is required, at least on Fedora, if we need to run any binary that uses a library with a weird path. libiscsi (a dependency of qemu-img, used by virt-dib) is an example of such a weird library, since it puts its single library into /usr/lib64/iscsi for no readily understandable reason, and drops a configuration file into /etc/ld.so.conf.d/ so that this new directory gets picked up. By copying the /etc/ld.so.cache from the host we get an already configured cache which should contain every library on the host, so there is no need to run ldconfig.
This commit is contained in:
@@ -13,5 +13,6 @@ dnl SUSE=1 For OpenSUSE.
|
||||
dnl FRUGALWARE=1 For Frugalware.
|
||||
dnl MAGEIA=1 For Mageia.
|
||||
|
||||
/etc/ld.so.cache
|
||||
/lib/lsb/*
|
||||
/usr/share/augeas/lenses/*.aug
|
||||
|
||||
Reference in New Issue
Block a user