forked from pool/raspberrypi-eeprom
Guillaume GARDET
236ef8afdb
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/raspberrypi-eeprom?expand=0&rev=29
14 lines
539 B
Diff
14 lines
539 B
Diff
diff --git a/rpi-eeprom-update b/rpi-eeprom-update
|
|
index 984ade2..c50a5b1 100755
|
|
--- a/rpi-eeprom-update
|
|
+++ b/rpi-eeprom-update
|
|
@@ -688,7 +688,7 @@ findBootFS()
|
|
BOOTFS="${TMP_BOOTFS_MNT}"
|
|
elif [ -z "$BOOTFS" ]; then
|
|
if ! BOOTFS=$(/usr/lib/raspberrypi-sys-mods/get_fw_loc 2> /dev/null); then
|
|
- for BOOTFS in /boot/firmware /boot; do
|
|
+ for BOOTFS in /boot/efi /boot; do
|
|
if [ -f "${BOOTFS}/config.txt" ]; then
|
|
break
|
|
elif findmnt --fstab "$BOOTFS" > /dev/null; then
|