void-packages/srcpkgs/linux-base/template

22 lines
613 B
Bash

# Template file for 'linux-base'
pkgname=linux-base
version=2023.05.29
revision=1
short_desc="Linux kernel base dependencies"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="Public Domain"
homepage="https://voidlinux.org/"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
depends="linux-firmware-amd linux-firmware-intel linux-firmware-nvidia linux-firmware-network dracut"
;;
ppc*|armv7l*|aarch64*)
depends="linux-firmware-amd linux-firmware-nvidia linux-firmware-network dracut"
;;
esac
do_install() {
vinstall ${FILESDIR}/50-bootsize.postinst 0755 etc/kernel.d/post-install 50-bootsize
}