2014-09-04 11:27:48 +02:00
|
|
|
From ae166d55534d92e12e4892431075539474c59918 Mon Sep 17 00:00:00 2001
|
2014-02-26 18:34:42 +01:00
|
|
|
From: Michal Marek <mmarek@suse.cz>
|
|
|
|
Date: Wed, 26 Feb 2014 13:48:55 +0100
|
2014-09-04 11:27:48 +02:00
|
|
|
Subject: [PATCH 1/5] modprobe: Recognize --allow-unsupported-modules on
|
2014-02-26 18:34:42 +01:00
|
|
|
commandline
|
|
|
|
|
|
|
|
The option does not do anything yet, but it does not return error
|
|
|
|
either.
|
|
|
|
|
|
|
|
References: fate#316971
|
2014-03-05 16:59:07 +01:00
|
|
|
Patch-mainline: never
|
2014-02-26 18:34:42 +01:00
|
|
|
---
|
|
|
|
tools/modprobe.c | 5 +++++
|
|
|
|
1 file changed, 5 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/tools/modprobe.c b/tools/modprobe.c
|
|
|
|
index 6b34658..589cc07 100644
|
|
|
|
--- a/tools/modprobe.c
|
|
|
|
+++ b/tools/modprobe.c
|
|
|
|
@@ -83,6 +83,8 @@ static const struct option cmdopts[] = {
|
|
|
|
{"dirname", required_argument, 0, 'd'},
|
|
|
|
{"set-version", required_argument, 0, 'S'},
|
|
|
|
|
|
|
|
+ {"allow-unsupported-modules", no_argument, 0, 128},
|
|
|
|
+
|
|
|
|
{"syslog", no_argument, 0, 's'},
|
|
|
|
{"quiet", no_argument, 0, 'q'},
|
|
|
|
{"verbose", no_argument, 0, 'v'},
|
|
|
|
@@ -835,6 +837,9 @@ static int do_modprobe(int argc, char **orig_argv)
|
|
|
|
case 'S':
|
|
|
|
kversion = optarg;
|
|
|
|
break;
|
|
|
|
+ case 128:
|
|
|
|
+ /* --allow-unsupported-modules does nothing for now */
|
|
|
|
+ break;
|
|
|
|
case 's':
|
|
|
|
env_modprobe_options_append("-s");
|
|
|
|
use_syslog = 1;
|
|
|
|
--
|
|
|
|
1.8.4.5
|
|
|
|
|