Adding initial support for unionmount.
[live-boot-grml.git] / hooks / live
index 3174d17..b5d43f2 100755 (executable)
@@ -251,3 +251,10 @@ then
        #mkdir -p $DESTDIR/etc
        #cp -p /etc/nsswitch.conf $DESTDIR/etc
 fi
+
+if [ "${LIVE_UNIONMOUNT}" = "true" ]
+then
+       # UnionMount
+       # only mount from patched util-linux can do this currently
+       copy_exec /bin/mount /bin/mount_full
+fi