Adding debian version 4.0~a1-1.
[live-boot-grml.git] / backends / initramfs-tools / live.hook
index d66c669..3860f4c 100755 (executable)
@@ -143,19 +143,11 @@ then
        copy_exec /usr/bin/eject /bin
 fi
 
-# Program: mount
-# fuse does not work with klibc mount
-copy_exec /bin/mount /bin/mount.util-linux
-
 [ "${QUIET}" ] || echo -n " utils"
 
 # Feature: Verify Checksums
-if [ -e /etc/progress-linux_version ]
-then
-       copy_exec /usr/bin/sha256sum /bin
-else
-       copy_exec /usr/bin/md5sum /bin
-fi
+copy_exec /usr/bin/sha256sum /bin
+copy_exec /usr/bin/md5sum /bin
 
 # Program: memdisk
 if [ -x /usr/bin/memdiskfind ]
@@ -244,4 +236,14 @@ case "${LIVE_DNS}" in
                ;;
 esac
 
+case "${LIVE_UNIONMOUNT}" in
+       true)
+               [ "${QUIET}" ] || echo -n " unionmount"
+
+               # UnionMount
+               # only mount from patched util-linux can do this currently
+               copy_exec /bin/mount /bin/mount_full
+               ;;
+esac
+
 [ "${QUIET}" ] || echo .