mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 03:33:02 +01:00
[Patches]
KEEP _ignore_arch_directory_: ignore /etc/modprobe.d/arch, not sure reason now.
keep it and to be verified later
REMOVE _module-init-tools-remove-index.patch_: in upstream
NEW _disable_man.patch_: a simpler patch to replace below removed two
REMOVE _manpagesopt_: due to above new patch
REMOVE _no_man_rebuild_: ditto
KEEP _modutils_extension_: poky has its own name convention and thus need such knowledge
in code
[Recipe]
- adjust indention
- remove some old lines like ${S} and EXTRA_OECONF
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
23 lines
1002 B
Diff
23 lines
1002 B
Diff
# poky uses new name to differentiate from modutils, so reflect this new name in source
|
|
#
|
|
# comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-21
|
|
--- module-init-tools-3.0-pre10.orig/generate-modprobe.conf
|
|
+++ module-init-tools-3.0-pre10/generate-modprobe.conf
|
|
@@ -45,12 +45,12 @@
|
|
cp $TESTING_MODPROBE_CONF $MODPROBECONF
|
|
elif [ "$STDIN" = "1" ]; then
|
|
cat > $MODPROBECONF
|
|
-elif [ -x /sbin/modprobe.old ]; then
|
|
+elif [ -x /sbin/modprobe.24 ]; then
|
|
# In sbin.
|
|
- /sbin/modprobe.old -c > $MODPROBECONF || modprobe_abort
|
|
-elif modprobe.old -c >/dev/null 2>&1; then
|
|
+ /sbin/modprobe.24 -c > $MODPROBECONF || modprobe_abort
|
|
+elif modprobe.24 -c >/dev/null 2>&1; then
|
|
# Somewhere in path.
|
|
- modprobe.old -c > $MODPROBECONF || modprobe_abort
|
|
+ modprobe.24 -c > $MODPROBECONF || modprobe_abort
|
|
elif /sbin/modprobe -V 2>/dev/null | grep -q 'modprobe version'; then
|
|
# Running /sbin/modprobe gives old version.
|
|
/sbin/modprobe -c > $MODPROBECONF || modprobe_abort
|