diff options
Diffstat (limited to 'backends/initramfs-tools/live.hook')
-rwxr-xr-x | backends/initramfs-tools/live.hook | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/backends/initramfs-tools/live.hook b/backends/initramfs-tools/live.hook index d66c669..3860f4c 100755 --- a/backends/initramfs-tools/live.hook +++ b/backends/initramfs-tools/live.hook @@ -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 . |