summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Draklive
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MDV/Draklive')
-rw-r--r--lib/MDV/Draklive/Initrd.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index 0e911a0..bceaa09 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -220,6 +220,8 @@ sub create_initrd_scriptlet {
q(sh -c 'cd /initrd/live; for i in `ls -1`; do [ -d $i ] || continue; mkdir -p /live/$i; mount -n --move $i /live/$i; rmdir $i; done'),
q(sh -c 'mv /initrd/live/* /live/'),
q(rmdir /initrd/live),
+ "nash-mount -o mode=0755 -t tmpfs /dev /dev",
+ q(sh -c 'mv /initrd/dev/* /dev/'),
if_($live->{system}{initrd_post}, deref_array($live->{system}{initrd_post})),
""));
}