mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-21 06:13:33 +08:00
Update make-imager-release to remove the release-CHIP directories which contain the plain .zip files. These are used as the input to make-recovery-images which are disk images. RPi Imager expects to download disk-images rather than .zips so remove the temporary directories to avoid confusion. See: https://github.com/raspberrypi/rpi-eeprom/issues/770
19 lines
546 B
Bash
Executable File
19 lines
546 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
script_dir=$(cd "$(dirname "$0")" && pwd)
|
|
|
|
# Pi4, Pi400, CM4, CM4-S
|
|
${script_dir}/make-release critical 2025-11-05 000138c0 "${script_dir}/2711-config" release-2711 rpi-boot-eeprom-recovery 2711
|
|
|
|
# Pi5
|
|
${script_dir}/make-release critical 2025-11-05 "" "${script_dir}/2712-config" release-2712 rpi-boot-eeprom-recovery 2712
|
|
|
|
# Convert to disk image for RPi Imager downloads
|
|
sudo ${script_dir}/make-recovery-images
|
|
|
|
# Delete the plain .zip files. These should not be uploaded as releases.
|
|
rm -rf release-2711
|
|
rm -rf release-2712
|