kernel: update for e2k

Kernel packages we have on this architecture use
uncompressed vmlinux file called image; handle that.
This commit is contained in:
Michael Shigorin 2018-03-03 15:41:45 +03:00
parent 3bb96df3d2
commit 030685c15e

View File

@ -28,8 +28,15 @@ fi
make-initrd $MAKE_INITRD_OPTS ||
fatal "make-initrd failed"
case `arch` in
e2k)
kname=image;;
*)
kname=vmlinuz;;
esac
[ -h /boot/vmlinuz ] ||
ln -s vmlinuz-$kver /boot/vmlinuz
ln -s $kname-$kver /boot/$kname
[ -h /boot/initrd.img ] ||
ln -s initrd-$kver.img /boot/initrd.img