chiark / gitweb /
tests: install ldconfig.real for Debian based distros
authorMartin Pitt <martin.pitt@ubuntu.com>
Sun, 1 Feb 2015 23:19:33 +0000 (00:19 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 3 Feb 2015 08:50:45 +0000 (09:50 +0100)
In Debian based distributions ldconfig is just a shell wrapper around
ldconfig.real, for deferring it during package installation.

test/test-functions

index 80e0f65697e89a6a52a15e24f6db0aeb4f3bcedc..b9468a458f3e19da2bb9357e05e364af2eb2ee8d 100644 (file)
@@ -233,6 +233,8 @@ EOF
 install_basic_tools() {
     [[ $BASICTOOLS ]] && dracut_install $BASICTOOLS
     dracut_install -o sushell
 install_basic_tools() {
     [[ $BASICTOOLS ]] && dracut_install $BASICTOOLS
     dracut_install -o sushell
+    # in Debian ldconfig is just a shell script wrapper around ldconfig.real
+    dracut_install -o ldconfig.real
 }
 
 install_debug_tools() {
 }
 
 install_debug_tools() {