rpi-base: add rpi4

Closes: #29139
This commit is contained in:
Piraty 2021-02-28 19:56:40 +01:00
parent 70f3356508
commit bfa9075c40
No known key found for this signature in database
GPG key ID: 82F2CC796BD07077
3 changed files with 13 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Template file for 'rpi-base'
pkgname=rpi-base
version=3.0
revision=1
revision=2
archs="armv6l* armv7l* aarch64*"
_base_depends="virtual?ntp-daemon rpi-firmware"
depends="${_base_depends} rpi-kernel"
@ -22,7 +22,7 @@ case "$XBPS_TARGET_MACHINE" in
subpackages="rpi2-base"
;;
aarch64*)
subpackages="rpi3-base"
subpackages="rpi3-base rpi4-base"
;;
esac
@ -59,3 +59,12 @@ rpi3-base_package() {
vinstall "${FILESDIR}/71-raspberrypi.rules" 644 usr/lib/udev/rules.d
}
}
rpi4-base_package() {
depends="${_base_depends} rpi4-kernel"
short_desc="Void Linux Raspberry Pi 4 base files"
conflicts="rpi3-base"
pkg_install() {
vinstall "${FILESDIR}/71-raspberrypi.rules" 644 usr/lib/udev/rules.d
}
}

1
srcpkgs/rpi4-base Symbolic link
View file

@ -0,0 +1 @@
rpi-base

View file

@ -21,7 +21,7 @@ license="GPL-2.0-only"
short_desc="Linux kernel for Raspberry Pi 4 (${version%.*} series [git ${_gitshort}])"
distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
checksum=4a98ea0d68c6e74d479789c12fc97619c872cb2607ae87a881a9491c1c3fbc35
python_version=2
python_version=3
conflicts=rpi3-kernel
_kernver="${version}_${revision}"