X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=e653aef5a3c7c374e0fa6ee3ee1dfe48dde519a9;hb=3d4b86718ca4cdae8c6ead03035abd561a5d5728;hp=8cfc360211dbd2965ba097bf5bfe7a791b3e03dc;hpb=e10059ad3f5f97ae43d46eb5ef6386e3f561f14f;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index 8cfc360..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) @@ -74,10 +83,15 @@ fi # Filesystem: ext3 manual_add_modules ext3 +# Filesystem: jffs2 +manual_add_modules jffs2 + # Filesystem: squashfs copy_exec /sbin/losetup /sbin manual_add_modules loop manual_add_modules squashfs +manual_add_modules sqlzma +manual_add_modules unlzma # Filesystem: unionfs/aufs manual_add_modules unionfs @@ -96,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 @@ -109,15 +126,6 @@ fi copy_exec /usr/bin/md5sum /bin # Program: udev -if [ "${BUILD_SYSTEM}" = "Ubuntu" ] -then - mkdir -p "${DESTDIR}"/lib/udev - - copy_exec /lib/udev/cdrom_id /lib/udev - copy_exec /lib/udev/path_id /lib/udev - copy_exec /lib/udev/vol_id /lib/udev -fi - copy_exec /sbin/udevtrigger /sbin copy_exec /sbin/udevsettle /sbin copy_exec /usr/bin/udevinfo /bin