summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-01-09 20:26:14 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-01-09 20:30:17 +0100
commitead3bd93e9bdec8b6cf965e6b494ea131afcf4ae (patch)
tree4c8cb593ea4368cd81424b31f5fcb9c46a0f8752
parentb2255df6ae0b7cca4d2fe0ab855bd14bc4bc3071 (diff)
downloaddrakx-ead3bd93e9bdec8b6cf965e6b494ea131afcf4ae.tar
drakx-ead3bd93e9bdec8b6cf965e6b494ea131afcf4ae.tar.gz
drakx-ead3bd93e9bdec8b6cf965e6b494ea131afcf4ae.tar.bz2
drakx-ead3bd93e9bdec8b6cf965e6b494ea131afcf4ae.tar.xz
drakx-ead3bd93e9bdec8b6cf965e6b494ea131afcf4ae.zip
fix warnings about unknown kernel options
(when parsing drakx options) we don't use "pass_through" Getopt option so that we do get warnings about wrongly named options
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/install/install2.pm3
2 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 6e0ad4620..31aa56064 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- do not warn about kernel options when parsing drakx options
+
Version 17.13 - 9 January 2016
- regressions from 17.11:
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 53de2f139..090bcd234 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -581,6 +581,9 @@ sub parse_args {
askmedia => \$o->{askmedia},
restore => \$::isRestore,
'compsslistlevel=s' => \$o->{compssListLevel},
+
+ # to ignore:
+ 'BOOT_IMAGE|quiet|resume|root|splash' => sub {},
);
($cfg, $patch);