diff options
author | Richard Purdie <richard@openedhand.com> | 2006-02-10 14:33:55 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-02-10 14:33:55 +0000 |
commit | 5fb35ca11147ed30c619cf93e19331fd835f3da9 (patch) | |
tree | 45f05442e8a91453bfea03a29fb3cb96f49d80e5 /openembedded/packages/module-init-tools/files/ignore_arch_directory | |
parent | 42dfbb2a0223ba5d091f053ad5401ecce6446e41 (diff) | |
download | poky-5fb35ca11147ed30c619cf93e19331fd835f3da9.tar.gz |
Apply more chanegs from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@272 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/module-init-tools/files/ignore_arch_directory')
-rw-r--r-- | openembedded/packages/module-init-tools/files/ignore_arch_directory | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/openembedded/packages/module-init-tools/files/ignore_arch_directory b/openembedded/packages/module-init-tools/files/ignore_arch_directory index 2c71043221..185ea7a3a5 100644 --- a/openembedded/packages/module-init-tools/files/ignore_arch_directory +++ b/openembedded/packages/module-init-tools/files/ignore_arch_directory | |||
@@ -1,25 +1,24 @@ | |||
1 | diff -ruN module-init-tools-3.1-pre6.orig/modprobe.8 module-init-tools-3.1-pre6/modprobe.8 | 1 | diff -ruN module-init-tools-3.1-pre6.orig/modprobe.8 module-init-tools-3.1-pre6/modprobe.8 |
2 | --- module-init-tools-3.1-pre6.orig/modprobe.8 2004-10-06 02:44:43.000000000 +0200 | 2 | --- module-init-tools-3.2-pre7/modprobe.8.orig 2005-07-05 13:52:32.000000000 +0200 |
3 | +++ module-init-tools-3.1-pre6/modprobe.8 2004-10-09 01:39:01.000000000 +0200 | 3 | +++ module-init-tools-3.2-pre7/modprobe.8 2005-07-05 13:52:42.000000000 +0200 |
4 | @@ -30,6 +30,7 @@ | 4 | @@ -31,6 +31,7 @@ |
5 | the modules and other files, except for the optional | 5 | \fI/etc/modprobe.conf\fR configuration file and |
6 | \fI/etc/modprobe.conf\fR configuration file | 6 | \fI/etc/modprobe.d\fR directory |
7 | (see \fBmodprobe.conf\fR(5)). | 7 | (see \fBmodprobe.conf\fR(5)). |
8 | +All files in the \fI/etc/modprobe.d/arch/\fR directory are ignored. | 8 | +All files in the \fI/etc/modprobe.d/arch/\fR directory are ignored. |
9 | .PP | 9 | .PP |
10 | Note that this version of \fBmodprobe\fR does not | 10 | Note that this version of \fBmodprobe\fR does not |
11 | do anything to the module itself: the work of resolving symbols | 11 | do anything to the module itself: the work of resolving symbols |
12 | diff -ruN module-init-tools-3.1-pre6.orig/modprobe.c module-init-tools-3.1-pre6/modprobe.c | 12 | --- module-init-tools-3.2-pre7/modprobe.c.orig 2005-07-05 13:50:00.000000000 +0200 |
13 | --- module-init-tools-3.1-pre6.orig/modprobe.c 2004-10-09 01:40:18.000000000 +0200 | 13 | +++ module-init-tools-3.2-pre7/modprobe.c 2005-07-05 13:50:15.000000000 +0200 |
14 | +++ module-init-tools-3.1-pre6/modprobe.c 2004-10-09 01:40:11.000000000 +0200 | 14 | @@ -1158,6 +1158,10 @@ |
15 | @@ -1082,6 +1082,10 @@ | ||
16 | { | ||
17 | DIR *dir; | 15 | DIR *dir; |
16 | int ret = 0; | ||
18 | 17 | ||
19 | + /* ignore everything in this directory */ | 18 | + /* ignore everything in this directory */ |
20 | + if (streq(filename, "/etc/modprobe.d/arch")) | 19 | + if (streq(filename, "/etc/modprobe.d/arch")) |
21 | + return 1; | 20 | + return 1; |
22 | + | 21 | + |
23 | /* If it's a directory, recurse. */ | 22 | /* Reiser4 has file/directory duality: treat it as both. */ |
24 | dir = opendir(filename); | 23 | dir = opendir(filename); |
25 | if (dir) { | 24 | if (dir) { |