Overview
Request 814189 accepted
Introduce new raspberrypi-firmware-eeprom package to support upgrading the
first stage bootloader on the Raspberry Pi 4. The package for now only supports
installing the stable version of the bootloader image. This could be expanded
in the future to include the dev branch of the project.
See https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md
for more information on why RPi4 needs this.
This relates to: jsc#PM-1746
- Created by nsaenzjulienne
- In state accepted
- Package maintainers: Guillaume_G and nsaenzjulienne
- Supersedes 813276
Could you use the full URL for Source0, maybe? Like:
Source0: https://github.com/raspberrypi/rpi-eeprom/archive/v%{version}.tar.gz#/rpi-eeprom-%{version}.tar.gz
Otherwise, LGTM!
I looked into this, ideally I'd like to add the URL since it's nicer, but it's not as straightforward as it seems. See this URL: https://github.com/raspberrypi/rpi-eeprom/releases/download/v2020.04.16-137ad/rpi-boot-eeprom-recovery-2020-04-16-vl805-000137ad.zip
First of all, they are not using the exact same version string on the zip file as the one on the git tag. Not ideal, but I can deal with that.
Secondly their naming scheme doesn't match my package name. I guess that's on me. One thing I could do is rename the package so both match.
Ultimately, they are using zip to package their releases, which AFAIK doesn't play well with spec us.
Any ideas/suggestions?
Note that I'd really like to use the releases, as opposed to getting snapshots of the repo as this is firmware and we have to be extra careful.
For the version ('.' vs '-'), you can use: %define archive_version 2020-04-16-vl805-000137ad
For the archive, you can use any name you want, just update the %setup section, IIRC, %setup -n XXX, with XXX matching the folder in the archive.
With zip, you need to add 'BuildRequires: unzip'
Request History
nsaenzjulienne created request
Introduce new raspberrypi-firmware-eeprom package to support upgrading the
first stage bootloader on the Raspberry Pi 4. The package for now only supports
installing the stable version of the bootloader image. This could be expanded
in the future to include the dev branch of the project.
See https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md
for more information on why RPi4 needs this.
This relates to: jsc#PM-1746
Guillaume_G accepted request
LGTM, thanks!