summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2012-03-11 23:49:10 +0000
committerThomas Backlund <tmb@mageia.org>2012-03-11 23:49:10 +0000
commit1e7f41080640ec8681647348d37eb0ea49776d5c (patch)
treea3ba6de22741e6957e17b213c919925fcec5b22e
parent4c2866896df8e6c9d9371fb3c244e8ea425653af (diff)
downloaddrakiso-1e7f41080640ec8681647348d37eb0ea49776d5c.tar
drakiso-1e7f41080640ec8681647348d37eb0ea49776d5c.tar.gz
drakiso-1e7f41080640ec8681647348d37eb0ea49776d5c.tar.bz2
drakiso-1e7f41080640ec8681647348d37eb0ea49776d5c.tar.xz
drakiso-1e7f41080640ec8681647348d37eb0ea49776d5c.zip
use our mgalive dracut module
-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
}