diff options
Diffstat (limited to 'meta/recipes-kernel/module-init-tools/files/modutils_extension.patch')
-rw-r--r-- | meta/recipes-kernel/module-init-tools/files/modutils_extension.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-kernel/module-init-tools/files/modutils_extension.patch b/meta/recipes-kernel/module-init-tools/files/modutils_extension.patch new file mode 100644 index 0000000000..128c9531a1 --- /dev/null +++ b/meta/recipes-kernel/module-init-tools/files/modutils_extension.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | # poky uses new name to differentiate from modutils, so reflect this new name in source | ||
2 | # | ||
3 | # comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-21 | ||
4 | --- module-init-tools-3.0-pre10.orig/generate-modprobe.conf | ||
5 | +++ module-init-tools-3.0-pre10/generate-modprobe.conf | ||
6 | @@ -45,12 +45,12 @@ | ||
7 | cp $TESTING_MODPROBE_CONF $MODPROBECONF | ||
8 | elif [ "$STDIN" = "1" ]; then | ||
9 | cat > $MODPROBECONF | ||
10 | -elif [ -x /sbin/modprobe.old ]; then | ||
11 | +elif [ -x /sbin/modprobe.24 ]; then | ||
12 | # In sbin. | ||
13 | - /sbin/modprobe.old -c > $MODPROBECONF || modprobe_abort | ||
14 | -elif modprobe.old -c >/dev/null 2>&1; then | ||
15 | + /sbin/modprobe.24 -c > $MODPROBECONF || modprobe_abort | ||
16 | +elif modprobe.24 -c >/dev/null 2>&1; then | ||
17 | # Somewhere in path. | ||
18 | - modprobe.old -c > $MODPROBECONF || modprobe_abort | ||
19 | + modprobe.24 -c > $MODPROBECONF || modprobe_abort | ||
20 | elif /sbin/modprobe -V 2>/dev/null | grep -q 'modprobe version'; then | ||
21 | # Running /sbin/modprobe gives old version. | ||
22 | /sbin/modprobe -c > $MODPROBECONF || modprobe_abort | ||