summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-17 20:03:31 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-17 20:03:31 +0000
commit98c64ce91c28b9178e6e770db02e96c85c612a53 (patch)
tree610c5df0ac938e54da21df27143614eee4da01ea /draklive
parent496f269c34a1cc858fcfc0314d26117bd7f0bab8 (diff)
downloaddrakiso-98c64ce91c28b9178e6e770db02e96c85c612a53.tar
drakiso-98c64ce91c28b9178e6e770db02e96c85c612a53.tar.gz
drakiso-98c64ce91c28b9178e6e770db02e96c85c612a53.tar.bz2
drakiso-98c64ce91c28b9178e6e770db02e96c85c612a53.tar.xz
drakiso-98c64ce91c28b9178e6e770db02e96c85c612a53.zip
use media source instead of /dev/root in fstab, since the later confuses mkinitrd
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index b34b3af..2a41c4b 100755
--- a/draklive
+++ b/draklive
@@ -935,7 +935,7 @@ sub post_install_system {
output_with_perm(get_system_root($live) . '/etc/fstab', 0644,
$live->{mount}{overlay}
? "none / $live->{mount}{overlay} rw 0 0\n"
- : "/dev/root / " . get_media_setting($live->{media}, 'fs') . " defaults 1 1\n"
+ : get_media_setting($media, 'source') . " / " . get_media_setting($live->{media}, 'fs') . " defaults 1 1\n"
);
#- interactive mode can lead to race in initscripts