summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/module-init-tools/files/ignore_arch_directory.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/module-init-tools/files/ignore_arch_directory.patch')
-rw-r--r--meta/recipes-kernel/module-init-tools/files/ignore_arch_directory.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-kernel/module-init-tools/files/ignore_arch_directory.patch b/meta/recipes-kernel/module-init-tools/files/ignore_arch_directory.patch
deleted file mode 100644
index d29957d98b..0000000000
--- a/meta/recipes-kernel/module-init-tools/files/ignore_arch_directory.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1# not sure the reason yet. Keep for a while and verify later.
2#
3# comments added by Kevin Tian <kevin.tian@intel.com>, 2010-07-21
4
5Upstream-Status: Pending
6
7diff -ruN module-init-tools-3.12.orig/modprobe.8 module-init-tools-3.12/modprobe.8
8--- module-init-tools-3.12/modprobe.8.orig
9+++ module-init-tools-3.12/modprobe.8
10@@ -27,6 +27,7 @@
11 (see \fBmodprobe.conf\fR(5)). \fBmodprobe\fR will also use module
12 options specified on the kernel command line in the form of
13 <module>\&.<option>\&.
14+All files in the \fI/etc/modprobe.d/arch/\fR directory are ignored.
15 .PP
16 Note that unlike in 2.4 series Linux kernels (which are not supported
17 by this tool) this version of \fBmodprobe\fR does not
18--- module-init-tools-3.12/modprobe.c.orig
19+++ module-init-tools-3.12/modprobe.c
20@@ -1052,6 +1052,10 @@
21 DIR *dir;
22 int ret = 0;
23
24+ /* ignore everything in this directory */
25+ if (streq(filename, "/etc/modprobe.d/arch"))
26+ return 1;
27+
28 dir = opendir(filename);
29 if (dir) {
30 struct file_entry {