PKGBUILDs/alarm/raspberrypi-bootloader/PKGBUILD
graysky f7990c9d38 alarm/raspberrypi-bootloader to 20201215-1
This is actually a downgrade relative to 20201214-1 which
introduced a critical bug preventing booting all RPi 0-3
but not RPi 4 on which I tested the package.

Rather than adding an epoch= to the PKGBUILD, just bump the
pkgver but ship the last-good commit from upstream previously
provided by our 20201208-1 package.

Upstream bug report:
https://github.com/raspberrypi/firmware/issues/1511
2020-12-15 06:49:43 -05:00

35 lines
1.1 KiB
Bash

# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Maintainer: graysky <graysky@archlinux.us>
buildarch=28
pkgbase=raspberrypi-bootloader
pkgname=('raspberrypi-bootloader'
'raspberrypi-bootloader-x')
pkgver=20201215
pkgrel=1
_commit=919aee0ed75f7db48a38b8b96c13228a7584cfd7
arch=('any')
url="https://github.com/raspberrypi/firmware"
license=('custom')
options=(!strip)
source=("https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz")
md5sums=('d3407d589999647ad1dc481dfae70549')
package_raspberrypi-bootloader() {
pkgdesc="Bootloader files for Raspberry Pi"
replaces=('raspberrypi-firmware-bootloader')
mkdir -p "${pkgdir}"/boot
cp "${srcdir}"/firmware-${_commit}/boot/{*.dat,*.bin,*.elf} "${pkgdir}"/boot
rm "${pkgdir}"/boot/{start{_,4}x.elf,fixup{_,4}x.dat}
}
package_raspberrypi-bootloader-x() {
pkgdesc="Bootloader with extra codecs for Raspberry Pi"
depends=('raspberrypi-bootloader')
replaces=('raspberrypi-firmware-bootloader-x')
mkdir -p "${pkgdir}"/boot
cp "${srcdir}"/firmware-${_commit}/boot/{start{_,4}x.elf,fixup{_,4}x.dat} "${pkgdir}"/boot
}