27d5f1e779464b0154fcbd9f1171775ebd82eb5f
[feed/packages.git] / utils / bcm27xx-eeprom / patches / 0003-rpi-eeprom-update-change-default-include-path.patch
1 From 6674d49dea0104031b3f54df4c7a356dc4307bb2 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Wed, 25 Mar 2020 20:58:35 +0100
4 Subject: [PATCH] rpi-eeprom-update: change default include path
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 | 8 ++++----
12 1 file changed, 4 insertions(+), 4 deletions(-)
13
14 --- a/rpi-eeprom-update
15 +++ b/rpi-eeprom-update
16 @@ -6,8 +6,8 @@ set -e
17
18 script_dir=$(cd "$(dirname "$0")" && pwd)
19
20 -if [ -f /etc/default/rpi-eeprom-update ]; then
21 - . /etc/default/rpi-eeprom-update
22 +if [ -f /etc/bcm27xx-eeprom.conf ]; then
23 + . /etc/bcm27xx-eeprom.conf
24 fi
25
26 LOCAL_MODE=0
27 @@ -386,7 +386,7 @@ The system should then boot normally.
28
29 If /boot does not correspond to the boot partition and this
30 is not a NOOBS system, then the mount point for BOOTFS should be defined
31 -in /etc/default/rpi-eeprom-update by defining the BOOTFS variable.
32 +in /etc/bcm27xx-eeprom.conf by defining the BOOTFS variable.
33
34 A backup of the current EEPROM config file is written to ${FIRMWARE_BACKUP_DIR}
35 before applying the update.
36 @@ -415,7 +415,7 @@ Options:
37 -u Install the specified VL805 (USB EEPROM) image file.
38
39 Environment:
40 -Environment variables should be defined in /etc/default/rpi-eeprom-update
41 +Environment variables should be defined in /etc/bcm27xx-eeprom.conf
42
43 EEPROM_CONFIG_HOOK
44