2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 23:12:28 +00:00

linux: correctly name kernel.

This commit is contained in:
Dylan Araps 2019-07-14 00:16:54 +03:00
parent 192fd56a53
commit 347f1d0043
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
#!/bin/sh -e
# Grab the package version.
read -r version _ < "${0%/*}/version"
mkdir -p "$1/boot" "$1/usr/lib/modules"
make
@ -13,3 +16,6 @@ make \
INSTALL_PATH="$1/boot" \
INSTALL_MOD_PATH="$1/usr" \
install
# Rename 'vmlinuz' according to package version.
mv "$1/boot/vmlinuz" "$1/boot/vmlinuz-$version" || :

View File

@ -1 +1 @@
5.1.16 3
5.1.16 4