Klibc: added some libraries to the intramfs.
authorMarco Amadori <marco.amadori@gmail.com>
Thu, 3 Apr 2008 20:43:12 +0000 (22:43 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:47:58 +0000 (17:47 +0100)
 * Some klibc programs (cp, mount, umount) needs those libraries and
   initramfs-tools cannot automatically adds them if needed.

hooks/live

index a4aced3..5c00534 100755 (executable)
@@ -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