alarm/rpi-eeprom to 20230929-3

Add nano as optdepends unless the user has EDITOR var defined, the script
will fail since it defaults back to nano
This commit is contained in:
graysky 2023-10-08 14:21:13 -04:00
parent 3569b28a04
commit 73aa143bdd

View file

@ -5,7 +5,7 @@ pkgname=(rpi4-eeprom rpi5-eeprom)
_commit=4f2d676b4e2a9c2d9ee1ab42015ce711fde97afa
pkgver=20230929
pkgrel=2
pkgrel=3
arch=(any)
url='https://github.com/raspberrypi/rpi-eeprom'
license=(custom)
@ -15,6 +15,7 @@ md5sums=('5a4d33d67a10035b214b43e4a8e7d52d')
package_rpi4-eeprom() {
pkgdesc="Bootloader and VLI USB controller EEPROM update for bcm2711/RPi4 SoC"
depends=(python pciutils raspberrypi-firmware coreutils binutils)
optdepends=('nano: required for using rpi-eeprom-config')
conflicts=(rpi5-eeprom rpi-eeprom)
replaces=(rpi-eeprom)
backup=("etc/default/$pkgbase-update")
@ -49,6 +50,7 @@ package_rpi4-eeprom() {
package_rpi5-eeprom() {
pkgdesc="Bootloader and VLI USB controller EEPROM update for bcm2712/RPi5 SoC"
depends=(python pciutils raspberrypi-firmware coreutils binutils)
optdepends=('nano: required for using rpi-eeprom-config')
conflicts=(rpi4-eeprom)
backup=("etc/default/$pkgbase-update")
install="rpi-eeprom.install"