mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
parent
70f3356508
commit
bfa9075c40
3 changed files with 13 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rpi-base'
|
# Template file for 'rpi-base'
|
||||||
pkgname=rpi-base
|
pkgname=rpi-base
|
||||||
version=3.0
|
version=3.0
|
||||||
revision=1
|
revision=2
|
||||||
archs="armv6l* armv7l* aarch64*"
|
archs="armv6l* armv7l* aarch64*"
|
||||||
_base_depends="virtual?ntp-daemon rpi-firmware"
|
_base_depends="virtual?ntp-daemon rpi-firmware"
|
||||||
depends="${_base_depends} rpi-kernel"
|
depends="${_base_depends} rpi-kernel"
|
||||||
|
@ -22,7 +22,7 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
subpackages="rpi2-base"
|
subpackages="rpi2-base"
|
||||||
;;
|
;;
|
||||||
aarch64*)
|
aarch64*)
|
||||||
subpackages="rpi3-base"
|
subpackages="rpi3-base rpi4-base"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -59,3 +59,12 @@ rpi3-base_package() {
|
||||||
vinstall "${FILESDIR}/71-raspberrypi.rules" 644 usr/lib/udev/rules.d
|
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
1
srcpkgs/rpi4-base
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
rpi-base
|
|
@ -21,7 +21,7 @@ license="GPL-2.0-only"
|
||||||
short_desc="Linux kernel for Raspberry Pi 4 (${version%.*} series [git ${_gitshort}])"
|
short_desc="Linux kernel for Raspberry Pi 4 (${version%.*} series [git ${_gitshort}])"
|
||||||
distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
|
distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
|
||||||
checksum=4a98ea0d68c6e74d479789c12fc97619c872cb2607ae87a881a9491c1c3fbc35
|
checksum=4a98ea0d68c6e74d479789c12fc97619c872cb2607ae87a881a9491c1c3fbc35
|
||||||
python_version=2
|
python_version=3
|
||||||
conflicts=rpi3-kernel
|
conflicts=rpi3-kernel
|
||||||
|
|
||||||
_kernver="${version}_${revision}"
|
_kernver="${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue