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
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
+