mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-25 08:40:10 -07:00
22 lines
400 B
Bash
Executable File
22 lines
400 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# Grab the package version.
|
|
read -r version _ < "${0%/*}/version"
|
|
|
|
mkdir -p "$1/boot" "$1/usr/lib/modules"
|
|
|
|
make
|
|
|
|
make \
|
|
INSTALL_PATH="$1/boot" \
|
|
INSTALL_MOD_PATH="$1/usr" \
|
|
modules_install
|
|
|
|
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" || :
|