mirror of
https://codeberg.org/kiss-community/repo
synced 2024-07-07 16:32:28 +00:00
linux: correctly name kernel.
This commit is contained in:
parent
192fd56a53
commit
347f1d0043
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
# Grab the package version.
|
||||||
|
read -r version _ < "${0%/*}/version"
|
||||||
|
|
||||||
mkdir -p "$1/boot" "$1/usr/lib/modules"
|
mkdir -p "$1/boot" "$1/usr/lib/modules"
|
||||||
|
|
||||||
make
|
make
|
||||||
|
@ -13,3 +16,6 @@ make \
|
||||||
INSTALL_PATH="$1/boot" \
|
INSTALL_PATH="$1/boot" \
|
||||||
INSTALL_MOD_PATH="$1/usr" \
|
INSTALL_MOD_PATH="$1/usr" \
|
||||||
install
|
install
|
||||||
|
|
||||||
|
# Rename 'vmlinuz' according to package version.
|
||||||
|
mv "$1/boot/vmlinuz" "$1/boot/vmlinuz-$version" || :
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
5.1.16 3
|
5.1.16 4
|
||||||
|
|
Loading…
Reference in New Issue
Block a user