|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 13/38] Debian: Specify `priority=critical' rather than locale
In buster, it appears that specifying locale on the command line is
not sufficient. Rather than adding more things to the command line,
instead, just say `priority=critical', by defaulting $debconf_priority
to 'critical'.
I think this change should be fine for earlier suites too.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
Osstest/Debian.pm | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index c3fbc32c..8380c428 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -698,12 +698,10 @@ sub di_installcmdline_core ($$;@) {
"$xopts{PreseedScheme}=$ps_url",
"netcfg/dhcp_timeout=150",
"netcfg/choose_interface=$netcfg_interface",
- "debian-installer/locale=en_GB",
);
- my $debconf_priority= $xopts{DebconfPriority};
- push @cl, "priority=$debconf_priority"
- if defined $debconf_priority;
+ my $debconf_priority= $xopts{DebconfPriority} // 'critical';
+ push @cl, "priority=$debconf_priority";
push @cl, "rescue/enable=true" if $xopts{RescueMode};
if ($r{syslog_server}) {
--
2.20.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |