alarm/rpi-eeprom to 20230802-1

This commit is contained in:
graysky 2023-08-02 16:36:39 -04:00
parent c51c97d84f
commit 6abfa69a6c

View file

@ -1,8 +1,8 @@
# Maintainer: graysky <therealgraysky AT protonmail DOT com>
pkgname=rpi-eeprom
_commit=75d3a760469130cb537e5d8d504f892336abd62b
pkgver=20230515
_commit=d774d5794cc63248e559bba201630d00a6e35762
pkgver=20230802
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=('126cc832ac145a254e7771ccbc74ce4a')
md5sums=('ba2922f352177078b7b208b8933180e2')
install="$pkgname.install"
package() {
@ -29,7 +29,7 @@ package() {
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
rm -f "$pkgdir/usr/lib/firmware/raspberrypi/bootloader/$target/"pieeprom-202[0,1,2]*.bin
done
ln -sf critical "$pkgdir/usr/lib/firmware/raspberrypi/bootloader/default"
ln -sf stable "$pkgdir/usr/lib/firmware/raspberrypi/bootloader/latest"