mkmodpack: kmod-9 de facto requires modules.dep.bin
Here's the culprit: open("/lib/modules/3.4.7-std-def-alt1/modules.dep.bin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/lib/modules/3.4.7-std-def-alt1/modules.dep.bin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/lib/modules/3.4.7-std-def-alt1/modules.alias.bin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) exit_group(1) = ? +++ exited with 1 +++ [root@builder .in]# ls -l /lib/modules/3.4.7-std-def-alt1/modules.dep* -rw-r--r-- 1 root root 370664 Jul 29 18:20 /lib/modules/3.4.7-std-def-alt1/modules.dep Here's the typical result for mkimage: ERROR: could not open directory /tmp/mkmodpack.sWzMWshm9Z/lib/modules/3.4.7-std-def-alt1: No such file or directory FATAL: could not search modules: No such file or directory mkmodpack: Failed to create modules dependencies.
This commit is contained in:
parent
971e5275fb
commit
a2d8a0be62
@ -198,6 +198,13 @@ done
|
||||
[ -n "$KERNEL" ] || KERNEL="$uname_r"
|
||||
[ -d "/lib/modules/$KERNEL" ] || Fatal "Directory /lib/modules/$KERNEL does not exists."
|
||||
|
||||
# modprobe from kmod-9 *requires* modules.dep.bin;
|
||||
# kernel-image-std-def doesn't contain it as of 3.4.7-alt1 (ALT #27640)
|
||||
if [ ! -f /lib/modules/$KERNEL/modules.dep.bin ] && [ "`modprobe -V`" = "kmod version 9" ]; then
|
||||
depmod -a -F "/boot/System.map-$KERNEL" "$KERNEL" ||
|
||||
Fatal "Failed to create modules dependencies (full)."
|
||||
fi
|
||||
|
||||
#---------------------------------------------------------------
|
||||
FIRMWARE_DIRS="$FIRMWARE_DIRS /lib/firmware/$KERNEL"
|
||||
MODULES=
|
||||
|
Loading…
Reference in New Issue
Block a user