Commit a277a6cc authored by Michael Shigorin's avatar Michael Shigorin

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.
parent 928d7a81
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment