You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.8 KiB

  1. From da37f7b051fe6833e25e78184cc9217dd4379187 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
  3. Date: Mon, 23 Mar 2020 10:10:55 +0100
  4. Subject: [PATCH] rpi-eeprom-update: OpenWrt defaults
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
  9. ---
  10. rpi-eeprom-update | 6 +++---
  11. rpi-eeprom-update-default | 5 +++--
  12. 2 files changed, 6 insertions(+), 5 deletions(-)
  13. --- a/rpi-eeprom-update
  14. +++ b/rpi-eeprom-update
  15. @@ -24,14 +24,14 @@ else
  16. fi
  17. # May be used to select beta or stable releases instead of the default critical updates.
  18. -FIRMWARE_RELEASE_STATUS=${FIRMWARE_RELEASE_STATUS:-critical}
  19. +FIRMWARE_RELEASE_STATUS=${FIRMWARE_RELEASE_STATUS:-stable}
  20. FIRMWARE_IMAGE_DIR=${FIRMWARE_IMAGE_DIR:-${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}}
  21. -FIRMWARE_BACKUP_DIR=${FIRMWARE_BACKUP_DIR:-/var/lib/raspberrypi/bootloader/backup}
  22. +FIRMWARE_BACKUP_DIR=${FIRMWARE_BACKUP_DIR:-${FIRMWARE_ROOT}/backup}
  23. ENABLE_VL805_UPDATES=${ENABLE_VL805_UPDATES:-1}
  24. USE_FLASHROM=${USE_FLASHROM:-0}
  25. RECOVERY_BIN=${RECOVERY_BIN:-${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}/recovery.bin}
  26. BOOTFS=${BOOTFS:-/boot}
  27. -VCMAILBOX=${VCMAILBOX:-/opt/vc/bin/vcmailbox}
  28. +VCMAILBOX=${VCMAILBOX:-/usr/bin/vcmailbox}
  29. EXIT_SUCCESS=0
  30. EXIT_UPDATE_REQUIRED=1
  31. --- a/rpi-eeprom-update-default
  32. +++ b/rpi-eeprom-update-default
  33. @@ -1,8 +1,9 @@
  34. FIRMWARE_ROOT=/lib/firmware/raspberrypi/bootloader
  35. -FIRMWARE_RELEASE_STATUS="critical"
  36. +FIRMWARE_RELEASE_STATUS="stable"
  37. FIRMWARE_IMAGE_DIR="${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}"
  38. -FIRMWARE_BACKUP_DIR="/var/lib/raspberrypi/bootloader/backup"
  39. +FIRMWARE_BACKUP_DIR="${FIRMWARE_ROOT}/backup"
  40. BOOTFS=/boot
  41. USE_FLASHROM=0
  42. EEPROM_CONFIG_HOOK=
  43. +VCMAILBOX=/usr/bin/vcmailbox