From 5616253714c6f18a7a96bef2f4586ee774b4a1f7 Mon Sep 17 00:00:00 2001 From: Marco Amadori Date: Thu, 3 Apr 2008 22:43:12 +0200 Subject: [PATCH] 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. --- hooks/live | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.1.4