X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=48802fc4536be3a97470a9754d3e0ce39247783a;hb=d093a29808026e9591542ba89a56db3ef30c90df;hp=3552f3a950121601385ed954304318381a5d7770;hpb=570998533ee43582fd73beee3e206c52ee3494dc;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index 3552f3a..48802fc 100755 --- a/hooks/live +++ b/hooks/live @@ -47,9 +47,12 @@ 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 +for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr* do - cp -a /lib/${hidden_klibc_dep_library}.so.* "${DESTDIR}"/lib + if [ ! -e "${DESTDIR}"/"${FILE}" ] + then + cp -a "${FILE}" "${DESTDIR}"/"${FILE}" + fi done # Handling other stuff @@ -123,7 +126,7 @@ fi copy_exec /usr/bin/md5sum /bin # Program: udev -copy_exec /sbin/udevtrigger /sbin +copy_exec /sbin/udevadm /sbin copy_exec /sbin/udevsettle /sbin copy_exec /usr/bin/udevinfo /bin @@ -132,3 +135,24 @@ if [ -x /usr/bin/wget ] then copy_exec /usr/bin/wget /bin fi + +# FUSE kernel module +manual_add_modules fuse + +# FUSE filesystem: httpfs +if [ -x /usr/bin/httpfs_ssl ] +then + copy_exec /usr/bin/httpfs2_ssl /bin/httpfs +else + if [ -x /usr/bin/httpfs ] + then + copy_exec /usr/bin/httpfs2 /bin/httpfs + fi +fi + +# FUSE filesystem: curlftpfs +if [ -x /usr/bin/curlftpfs ] +then + copy_exec /usr/bin/curlftpfs /bin +fi +