summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-01 15:28:48 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-01 15:28:48 +0000
commit8bb570aafe48b8665ad6f60f0c144d0b3c318e1e (patch)
tree0247e1f4c6d9cf048c3014bd09f94357175e20c4
parent8cee0a022f700cb1e65a45fbeab658ed0532bb9e (diff)
downloaddrakiso-8bb570aafe48b8665ad6f60f0c144d0b3c318e1e.tar
drakiso-8bb570aafe48b8665ad6f60f0c144d0b3c318e1e.tar.gz
drakiso-8bb570aafe48b8665ad6f60f0c144d0b3c318e1e.tar.bz2
drakiso-8bb570aafe48b8665ad6f60f0c144d0b3c318e1e.tar.xz
drakiso-8bb570aafe48b8665ad6f60f0c144d0b3c318e1e.zip
draklive2: pass selected language on to booted system.
-rwxr-xr-xdraklive21
1 files changed, 1 insertions, 0 deletions
diff --git a/draklive2 b/draklive2
index ac544fb..4e2cc11 100755
--- a/draklive2
+++ b/draklive2
@@ -648,6 +648,7 @@ sub get_default_append {
my $append = $live->{system}{append};
join(" ",
"root=mgalive:LABEL=" . $live->{media}->get_media_label,
+ "lang=\$lang",
if_($append, $append),
if_($live->{system}{vga_mode} && $append !~ /\bvga=\b/,
"vga=" . $live->{system}{vga_mode}),