diff options
-rwxr-xr-x | draklive | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -522,7 +522,8 @@ sub create_initrd_scriptlet { "umount /sys", "umount /proc", "pivot_root $target $target/initrd", - q(sh -c 'rmdir /initrd/live/union; cd /initrd/live; for i in `ls -1`; do mkdir -p /live/$i; mount -n --move $i /live/$i; rmdir $i; done; rmdir /initrd/live'), + q(sh -c 'rmdir /initrd/live/union), + q(sh -c 'cd /initrd/live; for i in `ls -1`; do mkdir -p /live/$i; mount -n --move $i /live/$i; rmdir $i; done; rmdir /initrd/live'), if_($live->{system}{initrd_post}, deref_array($live->{system}{initrd_post})), "")); } |