summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-14 14:09:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-14 14:09:33 +0000
commitbd5b6b9f097d99a31e50b0b6b85cd278e0154891 (patch)
treeee9d2690dba1faaada0dfe5134617094f4e50f74 /perl-install/install2.pm
parent4e0c9165b73cbc263a89bedaf8ccc619ce5d1226 (diff)
downloaddrakx-bd5b6b9f097d99a31e50b0b6b85cd278e0154891.tar
drakx-bd5b6b9f097d99a31e50b0b6b85cd278e0154891.tar.gz
drakx-bd5b6b9f097d99a31e50b0b6b85cd278e0154891.tar.bz2
drakx-bd5b6b9f097d99a31e50b0b6b85cd278e0154891.tar.xz
drakx-bd5b6b9f097d99a31e50b0b6b85cd278e0154891.zip
create install_any::set_security() and use it
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index daae846a8..6e1b3c288 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -282,12 +282,7 @@ sub setupBootloader {
installStepsCall($o, $auto, 'setupBootloaderBefore') if $ent_number == 1;
installStepsCall($o, $auto, 'setupBootloader');
- local $ENV{DRAKX_PASSWORD} = $o->{bootloader}{password};
- local $ENV{DURING_INSTALL} = 1;
- run_program::rooted($o->{prefix}, "/usr/sbin/msec", "-o", "run_commands=0", "-o", "log=stderr", $o->{security});
- require security::various;
- security::various::config_libsafe($o->{prefix}, $o->{libsafe});
- security::various::config_security_user($o->{prefix}, $o->{security_user});
+ install_any::set_security($o);
}
#------------------------------------------------------------------------------
sub configureX {