diff options
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -585,7 +585,7 @@ sub create_initrd_scriptlet { "pivot_root $target $target/initrd", q(sh -c 'rmdir /initrd/live/union'), q(sh -c 'if [ -d /initrd/live/modules ]; then cd /initrd/live/modules; for i in `ls -1`; do mkdir -p /live/modules/$i; mount -n --move $i /live/modules/$i; rmdir $i; done; rmdir /initrd/live/modules; fi'), - 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'), + q(sh -c 'cd /initrd/live; for i in `ls -1`; do [ -d /live/$i ] || continue; 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})), "")); } |