summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-14 18:49:36 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-14 18:49:36 +0000
commit8eecc1861637932d91f16888173c434b1c71e66e (patch)
tree573830c0ef2da1ecfe1071f50513b4df56e5d2f4 /perl-install
parent8418efcc6c39e3c3de1297c9048f58342834247e (diff)
downloaddrakx-8eecc1861637932d91f16888173c434b1c71e66e.tar
drakx-8eecc1861637932d91f16888173c434b1c71e66e.tar.gz
drakx-8eecc1861637932d91f16888173c434b1c71e66e.tar.bz2
drakx-8eecc1861637932d91f16888173c434b1c71e66e.tar.xz
drakx-8eecc1861637932d91f16888173c434b1c71e66e.zip
enable to set bootloader password in high security level
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/any.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 799c2fecc..ad74081d2 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,6 @@
- drakboot:
o fix reading security level
+ o enable to set bootloader password in high security level
Version 13.4 - 7 January 2009
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 1d9ca6722..13de2d17b 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -411,7 +411,7 @@ sub setupBootloader__general {
{ text => N("Enable SMP"), val => \$enable_smp, type => 'bool', advanced => 1 },
{ text => N("Enable APIC"), val => \$enable_apic, type => 'bool', advanced => 1, disabled => sub { !$enable_lapic } },
{ text => N("Enable Local APIC"), val => \$enable_lapic, type => 'bool', advanced => 1 },
- if_($security >= 4 || $b->{password} || $b->{restricted},
+ if_($security >= 2 || $b->{password} || $b->{restricted},
{ label => N("Password"), val => \$b->{password}, hidden => 1,
validate => sub {
my $ok = $b->{password} eq $b->{password2} or $in->ask_warn('', [ N("The passwords do not match"), N("Please try again") ]);