diff --git a/mkmodpack b/mkmodpack index f6968a6..f6f2399 100644 --- a/mkmodpack +++ b/mkmodpack @@ -198,6 +198,12 @@ 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 (ALT #27640) +if [ ! -f /lib/modules/$KERNEL/modules.dep.bin ]; 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= diff --git a/propagator.spec b/propagator.spec index d050ab1..c9b6e40 100644 --- a/propagator.spec +++ b/propagator.spec @@ -43,6 +43,12 @@ make \ * Tue Oct 02 2012 Anton V. Boyarshinov 20121002-alt1 - no more initfs +* Mon Oct 15 2012 Michael Shigorin 20101130-alt20 +- kmod-10 still does, remade the workaround as a longer term one + +* Mon Aug 13 2012 Michael Shigorin 20101130-alt19 +- modprobe suddenly wants modules.dep.bin to exist + * Fri Aug 10 2012 Anton V. Boyarshinov 20101130-alt18 - modprobe --list changed to find