diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-09-18 11:46:28 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-09-18 11:46:28 +0000 |
commit | dc672286dd776deb68794d0acdd026095ff0c4ff (patch) | |
tree | ecc4c569db5a8ab6a9fa79871aa81a7991eb808e /draklive | |
parent | 472deb14a14616b07df41e754fad89fa0bb7cf29 (diff) | |
download | drakiso-dc672286dd776deb68794d0acdd026095ff0c4ff.tar drakiso-dc672286dd776deb68794d0acdd026095ff0c4ff.tar.gz drakiso-dc672286dd776deb68794d0acdd026095ff0c4ff.tar.bz2 drakiso-dc672286dd776deb68794d0acdd026095ff0c4ff.tar.xz drakiso-dc672286dd776deb68794d0acdd026095ff0c4ff.zip |
automatically export draklive settings to DRAKLIVE_ environment variables for install
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -164,9 +164,12 @@ sub install_system { $drakx_in_chroot = $local_drakx_in_chroot; } - local %ENV = (%ENV, %{$live->{system}{install_env}}); + local %ENV = ( + %ENV, + (map { "DRAKLIVE_". uc($_->[0]) => $_->[1] } group_by2(%{$live->{settings}})), + %{$live->{system}{install_env}}, + ); $ENV{DRAKLIVE_LANGS} = join(':', get_langs($live)); - $ENV{DRAKLIVE_REGION} = $live->{settings}{region}; run_({ setarch => $live->{settings}{arch} }, 'perl', $drakx_in_chroot, $repository, |