Skip to content

Commit

Permalink
Klibc: added some libraries to the intramfs.
Browse files Browse the repository at this point in the history
 * Some klibc programs (cp, mount, umount) needs those libraries and
   initramfs-tools cannot automatically adds them if needed.

Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
  • Loading branch information
mammadori committed Apr 3, 2008
1 parent 2722857 commit 7424138
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hooks/live
Expand Up @@ -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

0 comments on commit 7424138

Please sign in to comment.