summary refs log tree commit diff
path: root/mklive.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2013-04-28 09:35:44 +0200
committerJuan RP <xtraeme@gmail.com>2013-04-28 09:35:44 +0200
commitf58d6cd5e5085eea19ee1d030eba9bd38d19399d (patch)
treed562ee499c2bdb7f185ae33e293c32be8e1b5185 /mklive.sh.in
parenta5068a62922eeea925f8582f065be74cf9e62912 (diff)
downloadhrmpf-f58d6cd5e5085eea19ee1d030eba9bd38d19399d.tar.gz
hrmpf-f58d6cd5e5085eea19ee1d030eba9bd38d19399d.tar.xz
hrmpf-f58d6cd5e5085eea19ee1d030eba9bd38d19399d.zip
Remove unneeded workaround for dracut<027.
Diffstat (limited to 'mklive.sh.in')
-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 \