stage2: no kernels no go
The flexible KFLAVOURS handling has a downside: if no packages match the regexp it's silently OK until too late, and the error is incomprehensible. Let's fix the latter at least.
This commit is contained in:
parent
928d7a8188
commit
a277a6cce3
@ -4,5 +4,9 @@
|
||||
|
||||
cd /lib/modules
|
||||
for i in *.*; do
|
||||
if [ "$i" = "*.*" ]; then
|
||||
echo "** error: no valid KFLAVOURS installed, bailing out" >&2
|
||||
exit 1
|
||||
fi
|
||||
depmod -a -F /boot/System.map-$i $i
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user