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.

33 lines
1.4 KiB

  1. From 8376ac74390af0ad736c88615e128b82a75eebc0 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
  3. Date: Fri, 19 Feb 2021 10:54:23 +0100
  4. Subject: [PATCH] rpi-eeprom-update: chmod silent (-f) is not supported
  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 | 4 ++--
  11. 1 file changed, 2 insertions(+), 2 deletions(-)
  12. --- a/rpi-eeprom-update
  13. +++ b/rpi-eeprom-update
  14. @@ -212,7 +212,7 @@ applyRecoveryUpdate()
  15. || die "Failed to copy ${TMP_EEPROM_IMAGE} to ${BOOTFS}"
  16. # For NFS mounts ensure that the files are readable to the TFTP user
  17. - chmod -f go+r "${BOOTFS}/pieeprom.upd" "${BOOTFS}/pieeprom.sig" \
  18. + chmod go+r "${BOOTFS}/pieeprom.upd" "${BOOTFS}/pieeprom.sig" \
  19. || die "Failed to set permissions on eeprom update files"
  20. fi
  21. @@ -224,7 +224,7 @@ applyRecoveryUpdate()
  22. || die "Failed to copy ${VL805_UPDATE_IMAGE} to ${BOOTFS}/vl805.bin"
  23. # For NFS mounts ensure that the files are readable to the TFTP user
  24. - chmod -f go+r "${BOOTFS}/vl805.bin" "${BOOTFS}/vl805.sig" \
  25. + chmod go+r "${BOOTFS}/vl805.bin" "${BOOTFS}/vl805.sig" \
  26. || die "Failed to set permissions on eeprom update files"
  27. fi