bcm27xx-eeprom: Update to the latest master branch(47976e440)
[feed/packages.git] / utils / bcm27xx-eeprom / patches / 0004-rpi-eeprom-update-chmod-silent-f-is-not-supported.patch
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
9 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
10 ---
11 rpi-eeprom-update | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 --- a/rpi-eeprom-update
15 +++ b/rpi-eeprom-update
16 @@ -223,7 +223,7 @@ applyRecoveryUpdate()
17 || die "Failed to copy ${TMP_EEPROM_IMAGE} to ${BOOTFS}"
18
19 # For NFS mounts ensure that the files are readable to the TFTP user
20 - chmod -f go+r "${BOOTFS}/pieeprom.upd" "${BOOTFS}/pieeprom.sig" \
21 + chmod go+r "${BOOTFS}/pieeprom.upd" "${BOOTFS}/pieeprom.sig" \
22 || die "Failed to set permissions on eeprom update files"
23 fi
24
25 @@ -235,7 +235,7 @@ applyRecoveryUpdate()
26 || die "Failed to copy ${VL805_UPDATE_IMAGE} to ${BOOTFS}/vl805.bin"
27
28 # For NFS mounts ensure that the files are readable to the TFTP user
29 - chmod -f go+r "${BOOTFS}/vl805.bin" "${BOOTFS}/vl805.sig" \
30 + chmod go+r "${BOOTFS}/vl805.bin" "${BOOTFS}/vl805.sig" \
31 || die "Failed to set permissions on eeprom update files"
32 fi
33