summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-05-27 05:41:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-05-27 05:41:17 +0000
commitb4931edea8b30b6eac2347b83661ce5abeddb4a1 (patch)
tree0eed8870015cccebf7b949b6e4f9cc2c25008150 /perl-install/install_steps.pm
parent5bbcc7d3bccbca9425e5bea8b64838e44702fcbf (diff)
downloaddrakx-backup-do-not-use-b4931edea8b30b6eac2347b83661ce5abeddb4a1.tar
drakx-backup-do-not-use-b4931edea8b30b6eac2347b83661ce5abeddb4a1.tar.gz
drakx-backup-do-not-use-b4931edea8b30b6eac2347b83661ce5abeddb4a1.tar.bz2
drakx-backup-do-not-use-b4931edea8b30b6eac2347b83661ce5abeddb4a1.tar.xz
drakx-backup-do-not-use-b4931edea8b30b6eac2347b83661ce5abeddb4a1.zip
- since set_security doesn't depend on the bootloader password, we can call it where it should
- ensure we don't drop entries from /etc/sysconfig/system
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 2b42a7237..d64ec5675 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -932,11 +932,13 @@ sub miscellaneousAfter {
$ENV{SECURE_LEVEL} = $o->{security}; #- deprecated with chkconfig 1.3.4-2mdk, uses /etc/sysconfig/msec
addToBeDone {
- setVarsInSh("$o->{prefix}/etc/sysconfig/system", {
+ addVarsInSh("$o->{prefix}/etc/sysconfig/system", {
META_CLASS => $o->{meta_class} || 'PowerPack',
});
substInFile { s/KEYBOARD_AT_BOOT=.*/KEYBOARD_AT_BOOT=yes/ } "$o->{prefix}/etc/sysconfig/usb" if detect_devices::usbKeyboards();
+ eval { install_any::set_security($o) };
+
} 'installPackages';
}