diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-02-17 15:14:09 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-02-17 15:14:09 +0000 |
commit | 96d4372ad379b081fb26b8fc77721f1d03469d2a (patch) | |
tree | dabf5e3e3cfa600a8420819537781af0446d3df9 /tools/draklive | |
parent | d5cf03c4e98fb65060990b627903ad6b00c28871 (diff) | |
download | drakx-96d4372ad379b081fb26b8fc77721f1d03469d2a.tar drakx-96d4372ad379b081fb26b8fc77721f1d03469d2a.tar.gz drakx-96d4372ad379b081fb26b8fc77721f1d03469d2a.tar.bz2 drakx-96d4372ad379b081fb26b8fc77721f1d03469d2a.tar.xz drakx-96d4372ad379b081fb26b8fc77721f1d03469d2a.zip |
pass a set of langs to drakx-in-chroot according to region settings
Diffstat (limited to 'tools/draklive')
-rwxr-xr-x | tools/draklive | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/draklive b/tools/draklive index c88901c65..dbdee41ba 100755 --- a/tools/draklive +++ b/tools/draklive @@ -424,6 +424,7 @@ sub install_system { 'drakx-in-chroot', $live->{system}{repository}, $live->{system}{root}, + if_($live->{system}{region}, '--langs', join(':', @{$live->{regions}{$live->{system}{region}}})), if_($live->{system}{auto_install}, '--auto_install', abs_path($live->{system}{auto_install})), if_($live->{system}{patch_install}, '--defcfg', abs_path($live->{system}{patch_install}))) or die "unable to install system chroot"; @@ -827,6 +828,7 @@ GetOptions( "all" => sub { $_->{to_run} = 1 foreach grep { member($_->{name}, @all) } @actions }, (map { $_->{name} => \$_->{to_run} } @actions), "device:s" => sub { $live{media}{device} = $_[1] }, + "region:s" => sub { $live{system}{region} = $_[1] }, "config:s" => sub { my $path = $_[1]; #- don't use do(), since it can't see lexicals in the enclosing scope @@ -891,6 +893,8 @@ draklive [options] --post-install run post install only (rpms and patches installation) --config <file> use this configuration file as live description + --region <region> use the matching set of langs + (from the regions configuration hash) --copy-wizard run the copy wizard |