Converting udev depends into a versioned depends in order to reflect udevadm introduc...
[live-boot-grml.git] / hooks / live
index 3552f3a..48802fc 100755 (executable)
@@ -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
+