diff options
Diffstat (limited to 'lib/MDV/Draklive')
-rw-r--r-- | lib/MDV/Draklive/Initrd.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm index 0f1f878..494c55c 100644 --- a/lib/MDV/Draklive/Initrd.pm +++ b/lib/MDV/Draklive/Initrd.pm @@ -220,6 +220,7 @@ sub create_initrd_scriptlet { "sh -c 'cd $initrdroot$live->{prefix}{live}{mnt}; for i in `ls -1`; do [ -d \$i ] || continue; mkdir -p $live->{prefix}{live}{mnt}/\$i; mount -n --move \$i $live->{prefix}{live}{mnt}/\$i; rmdir \$i; done'", "rmdir $initrdroot$live->{prefix}{live}{mnt}", "nash-mount -o mode=0755 -t tmpfs /dev /dev", + "sh -c 'rm -rf /dev/loop'", #- not needed after initrd "sh -c 'mv $initrdroot/dev/* /dev/'", if_($live->{system}{initrd_post}, deref_array($live->{system}{initrd_post})), "")); |