diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-10-30 19:00:56 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-10-30 19:00:56 +0000 |
commit | 2141a48bd441c048980c16fb58f2751e59db2910 (patch) | |
tree | 45cbfe0f953d1b9b6f5f1959521b5453aafbc322 /lib/MDV/Draklive | |
parent | 0d9a251cbfa8c504b3d33b0da5c834a972bee65d (diff) | |
download | drakiso-2141a48bd441c048980c16fb58f2751e59db2910.tar drakiso-2141a48bd441c048980c16fb58f2751e59db2910.tar.gz drakiso-2141a48bd441c048980c16fb58f2751e59db2910.tar.bz2 drakiso-2141a48bd441c048980c16fb58f2751e59db2910.tar.xz drakiso-2141a48bd441c048980c16fb58f2751e59db2910.zip |
group modules stuff
Diffstat (limited to 'lib/MDV/Draklive')
-rw-r--r-- | lib/MDV/Draklive/Initrd.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm index ccb54a8..bf13508 100644 --- a/lib/MDV/Draklive/Initrd.pm +++ b/lib/MDV/Draklive/Initrd.pm @@ -217,8 +217,8 @@ 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 [ -d $i ] || continue; mkdir -p /live/$i; mount -n --move $i /live/$i; rmdir $i; done'), (map { qq(sh -c 'mv /initrd/live/$_->{list} /live/') } grep { $_->{list} } @{$live->{mount}{dirs} || []}), + 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(rmdir /initrd/live), "nash-mount -o mode=0755 -t tmpfs /dev /dev", q(sh -c 'mv /initrd/dev/* /dev/'), |