summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install2.pm2
-rw-r--r--perl-install/install_steps.pm4
2 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index deae9004b..9ee903de0 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -300,8 +300,6 @@ sub setupBootloader {
installStepsCall($o, $auto, 'setupBootloaderBefore') if $ent_number == 1;
installStepsCall($o, $auto, 'setupBootloader', $ent_number);
-
- eval { install_any::set_security($o) };
}
#------------------------------------------------------------------------------
sub configureX {
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';
}