about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mklive.sh.in10
1 files changed, 0 insertions, 10 deletions
diff --git a/mklive.sh.in b/mklive.sh.in
index e5d5088..7f98489 100644
--- a/mklive.sh.in
+++ b/mklive.sh.in
@@ -40,14 +40,6 @@ error_out() {
     exit 1
 }
 
-umount_kernel_fs() {
-    for f in sys/fs/cgroup/systemd sys/fs/cgroup dev/shm dev/pts dev proc sys run; do
-        if [ -d $ROOTFS/kernel_temp/$f ]; then
-            umount $ROOTFS/kernel_temp/$f || true
-        fi
-    done
-}
-
 write_etc_motd() {
     cat >> "$ROOTFS/etc/motd" <<_EOF
 ###############################################################################
@@ -158,8 +150,6 @@ generate_initramfs() {
         --add " dmsquash-live vmklive " --${COMPRESSTYPE} \
         "/boot/initrd.lz" >>$LOGFILE 2>&1
 
-    umount_kernel_fs
-
     mv $ROOTFS/kernel_temp/boot/initrd.lz $BOOT_DIR
     # We rely on pam now, so let's install the host login config.
     install -Dm644 $ROOTFS/kernel_temp/etc/pam.d/login \