mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/rpi-eeprom to 20220520-1
Upstream update and ship less older .bin images. Users can pull these from github if they really want to do that. https://github.com/raspberrypi/rpi-eeprom/tree/master/firmware/critical https://github.com/raspberrypi/rpi-eeprom/tree/master/firmware/stable
This commit is contained in:
parent
09ae28e2b9
commit
53181af9e4
1 changed files with 6 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
# Maintainer: graysky <therealgraysky AT protonmail DOT com>
|
||||
|
||||
pkgname=rpi-eeprom
|
||||
_commit=51491abb9c360295625bdcf09fd9fc5658136630
|
||||
pkgver=20220428
|
||||
_commit=1c758a0904630da2ea905118bdf34fe2d8a6bb5e
|
||||
pkgver=20220520
|
||||
pkgrel=1
|
||||
pkgdesc="Bootloader and VL805 USB controller EEPROM update tool for RPi4"
|
||||
arch=('any')
|
||||
|
@ -11,7 +11,7 @@ license=('custom')
|
|||
depends=(python pciutils raspberrypi-firmware coreutils binutils)
|
||||
backup=("etc/default/$pkgname-update")
|
||||
source=("$pkgname-$pkgver-${_commit:0:10}.tar.gz::https://github.com/raspberrypi/rpi-eeprom/archive/$_commit.tar.gz")
|
||||
md5sums=('ffe962b61caecf771a62d2e633fbaa40')
|
||||
md5sums=('cdda1db6b95d0000ae29942a22ae335a')
|
||||
install="$pkgname.install"
|
||||
|
||||
package() {
|
||||
|
@ -28,6 +28,8 @@ package() {
|
|||
install -pd "$pkgdir/usr/lib/firmware/raspberrypi/bootloader/backup"
|
||||
for target in beta critical stable; do
|
||||
cp -a "firmware/$target" "$pkgdir/usr/lib/firmware/raspberrypi/bootloader"
|
||||
# remove old images
|
||||
rm -f "$pkgdir/usr/lib/firmware/raspberrypi/bootloader/$target/"pieeprom-202[0,1]*.bin
|
||||
done
|
||||
ln -sf critical "$pkgdir/usr/lib/firmware/raspberrypi/bootloader/default"
|
||||
ln -sf stable "$pkgdir/usr/lib/firmware/raspberrypi/bootloader/latest"
|
||||
|
@ -36,4 +38,5 @@ package() {
|
|||
|
||||
# firmware files should not be executable
|
||||
find "$pkgdir/usr/lib/firmware/raspberrypi/bootloader" -name '*.bin' -exec chmod 644 '{}' +
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue