X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=e653aef5a3c7c374e0fa6ee3ee1dfe48dde519a9;hb=3d4b86718ca4cdae8c6ead03035abd561a5d5728;hp=ca2a761828fcff5b2a986665cfd275afc82301cf;hpb=0b9e3d97ef33baadf90c01d489e90414950c0487;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index ca2a761..e653aef 100755 --- a/hooks/live +++ b/hooks/live @@ -46,6 +46,15 @@ copy_exec /usr/share/live-initramfs/live-preseed /bin cp /usr/share/initramfs-tools/scripts/live-functions "${DESTDIR}"/scripts cp /usr/share/initramfs-tools/scripts/live-helpers "${DESTDIR}"/scripts +# klibc dependencies +for hidden_klibc_dep_library in libacl libblkid libuuid libdevmapper libattr +do + if ls /lib/${hidden_klibc_dep_library}.so.* > /dev/null 2>&1 + then + cp -a /lib/${hidden_klibc_dep_library}.so.* "${DESTDIR}"/lib + fi +done + # Handling other stuff # Configuration: keymap (usefull when using encryption) @@ -81,8 +90,8 @@ manual_add_modules jffs2 copy_exec /sbin/losetup /sbin manual_add_modules loop manual_add_modules squashfs -manual_add_modules unlzma manual_add_modules sqlzma +manual_add_modules unlzma # Filesystem: unionfs/aufs manual_add_modules unionfs @@ -101,6 +110,9 @@ manual_add_modules ohci1394 manual_add_modules sbp2 manual_add_modules sr_mod +# Hardware: usb +manual_add_modules sd_mod + # Hardware: network auto_add_modules net