Commit 45c6adbf authored by Anton Midyukov's avatar Anton Midyukov

build-vm: fixed make-initrd for e2k

parent 0950ba80
......@@ -26,7 +26,15 @@ for KVER in $kver; do
|| { echo "** Error: make-initrd failed" >&2; exit 1; }
done
# NB: e2k kernel builds "image" instead of "vmlinuz"
[ -f vmlinuz-$KVER ] && ln -s vmlinuz-$KVER vmlinuz ||:
ln -s initrd-$KVER.img initrd.img # missing at this stage
case "$GLOBAL_ARCH" in
e2k)
kname=image;;
*)
kname=vmlinuz;;
esac
rm -f $kname initrd.img
ln -s $kname-$KVER $kname ||:
ln -s initrd-$KVER.img initrd.img
:
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