summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive1
1 files changed, 1 insertions, 0 deletions
diff --git a/draklive b/draklive
index fc46457..2b2bde6 100755
--- a/draklive
+++ b/draklive
@@ -523,6 +523,7 @@ sub create_initrd_scriptlet {
"umount /proc",
"pivot_root $target $target/initrd",
q(sh -c 'rmdir /initrd/live/union),
+ q(sh -c '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'),
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})),
""));