mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
rpi-eeprom: update to 2023.12.14.
- install manpages (like is done in the debian rules) - adds rpi5 firmware
This commit is contained in:
parent
930d71886a
commit
60c2efa3c5
1 changed files with 22 additions and 9 deletions
|
@ -1,17 +1,18 @@
|
||||||
# Template file for 'rpi-eeprom'
|
# Template file for 'rpi-eeprom'
|
||||||
pkgname=rpi-eeprom
|
pkgname=rpi-eeprom
|
||||||
version=2023.09.29
|
version=2023.12.14
|
||||||
revision=1
|
revision=1
|
||||||
_githash="4f2d676b4e2a9c2d9ee1ab42015ce711fde97afa"
|
_githash=72cedfe5eea64bb8509b7d0fec68f5df5dd22f9e
|
||||||
archs="armv7* aarch64*"
|
archs="armv7l* aarch64*"
|
||||||
conf_files="/etc/default/rpi-eeprom-update"
|
conf_files="/etc/default/rpi-eeprom-update"
|
||||||
depends="binutils pciutils python3 rpi-firmware rpi-userland"
|
hostmakedepends="help2man python3"
|
||||||
short_desc="Bootloader and VL805 USB controller EEPROM update tool for RPi4"
|
depends="binutils pciutils python3 rpi-firmware rpi-utils"
|
||||||
|
short_desc="Bootloader and VL805 USB controller EEPROM update tool for RPi4/5"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="BSD-3-Clause, custom:Proprietary"
|
license="BSD-3-Clause, custom:Proprietary"
|
||||||
homepage="https://github.com/raspberrypi/rpi-eeprom/"
|
homepage="https://github.com/raspberrypi/rpi-eeprom/"
|
||||||
distfiles="https://github.com/raspberrypi/rpi-eeprom/archive/${_githash}.tar.gz"
|
distfiles="https://github.com/raspberrypi/rpi-eeprom/archive/${_githash}.tar.gz"
|
||||||
checksum="189c5d37f3102247cec72619e3cb357d027ec526fa3c7373d3107bd6c9e30e29"
|
checksum=542365a644b3d8e987bda8e0a7dc9d4c9c234ab97b11fa902798a21a08743c30
|
||||||
python_version=3
|
python_version=3
|
||||||
repository=nonfree
|
repository=nonfree
|
||||||
|
|
||||||
|
@ -21,9 +22,21 @@ do_install() {
|
||||||
vbin rpi-eeprom-digest
|
vbin rpi-eeprom-digest
|
||||||
vinstall rpi-eeprom-update-default 644 etc/default rpi-eeprom-update
|
vinstall rpi-eeprom-update-default 644 etc/default rpi-eeprom-update
|
||||||
|
|
||||||
vmkdir usr/lib/firmware/raspberrypi/bootloader
|
# from https://github.com/raspberrypi/rpi-eeprom/blob/debian/bookworm/debian/rules
|
||||||
# need to figure out how to package both pi4 (2711) and pi5 (2712) fw
|
help2man -N --version-string="${version}" --help-option="-h" \
|
||||||
vcopy firmware-2711/* usr/lib/firmware/raspberrypi/bootloader/
|
--name="Checks whether the Raspberry Pi bootloader EEPROM is up-to-date and updates the EEPROM" \
|
||||||
|
--output=rpi-eeprom-update.1 ./rpi-eeprom-update
|
||||||
|
vman rpi-eeprom-update.1
|
||||||
|
|
||||||
|
help2man -N --version-string="${version}" --help-option="-h" \
|
||||||
|
--name="Bootloader EEPROM configuration tool for the Raspberry Pi 4/5" \
|
||||||
|
--output=rpi-eeprom-config.1 ./rpi-eeprom-config
|
||||||
|
vman rpi-eeprom-config.1
|
||||||
|
|
||||||
|
for soc in 2711 2712; do
|
||||||
|
vmkdir usr/lib/firmware/raspberrypi/bootloader-"$soc"
|
||||||
|
vcopy firmware-"$soc"/* usr/lib/firmware/raspberrypi/bootloader-"$soc"/
|
||||||
|
done
|
||||||
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue