Adding debian version 4.0~a1-1.
[live-boot-grml.git] / backends / initramfs-tools / live.hook
index c5b81b0..3860f4c 100755 (executable)
@@ -143,10 +143,6 @@ 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
@@ -240,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 .