From: Marco Amadori Date: Thu, 3 Apr 2008 20:43:12 +0000 (+0200) Subject: Klibc: added some libraries to the intramfs. X-Git-Tag: debian/2.0.15-1~568 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=5616253714c6f18a7a96bef2f4586ee774b4a1f7;hp=3b8335d66820d0e08babec35ad531f021ffad2b2;p=live-boot-grml.git 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. --- 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