summaryrefslogtreecommitdiff
path: root/hooks/live
diff options
context:
space:
mode:
authorMarco Amadori <marco.amadori@gmail.com>2008-04-03 22:43:12 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:47:58 +0100
commit5616253714c6f18a7a96bef2f4586ee774b4a1f7 (patch)
treed19df3178ad7f3549c75070b79a6cdfecf797c63 /hooks/live
parent3b8335d66820d0e08babec35ad531f021ffad2b2 (diff)
downloadlive-boot-5616253714c6f18a7a96bef2f4586ee774b4a1f7.tar.gz
live-boot-5616253714c6f18a7a96bef2f4586ee774b4a1f7.zip
Klibc: added some libraries to the intramfs.
* Some klibc programs (cp, mount, umount) needs those libraries and initramfs-tools cannot automatically adds them if needed.
Diffstat (limited to 'hooks/live')
-rwxr-xr-xhooks/live6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/live b/hooks/live
index a4aced3..5c00534 100755
--- a/hooks/live
+++ b/hooks/live
@@ -126,3 +126,9 @@ if [ -x /usr/bin/wget ]
then
copy_exec /usr/bin/wget /bin
fi
+
+# Fix missing klibc deps
+for hidden_klibc_dep_library in libacl libblkid libuuid libdevmapper libattr
+do
+ cp -a /lib/${hidden_klibc_dep_library}.so.* ${DESTDIR}/lib
+done