summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive4
1 files changed, 3 insertions, 1 deletions
diff --git a/draklive b/draklive
index 8bcf33c..5763a36 100755
--- a/draklive
+++ b/draklive
@@ -58,7 +58,7 @@ sub get_default_append {
my $append = $opts->{append} || $live->{system}{append};
join(' ',
if_($use_dracut || !need_media_specific_boot($live),
- 'root=' . $live->{media}->get_media_source_for_nash),
+ 'root=live:' . $live->{media}->get_media_source_for_nash),
if_($live->{system}{vga_mode} && $append !~ /\bvga=\b/,
'splash=silent',
'vga=' . $live->{system}{vga_mode}),
@@ -318,6 +318,8 @@ sub post_install_system {
output_with_perm($live->get_system_root . '/etc/dracut.conf.d/60-live.conf', 0644, <<EOF);
# it is a live, build initrd to boot any hardware
hostonly="no"
+# load mga livecd support
+add_dracutmodules+=" mgalive "
EOF
}