From: Stijn Tintel Date: Sun, 7 Jun 2020 02:31:09 +0000 (+0300) Subject: bcm27xx: fix unmounting /boot after sysupgrade X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=050c31fa268461fbc0a61dc04eda1424c5542151;p=oweals%2Fopenwrt.git bcm27xx: fix unmounting /boot after sysupgrade Due to a typo, /boot is not properly unmounted after copying the backup file to it. Fix the typo to solve this. Fixes: 246916ddf4a1 ("brcm2708: use x86's upgrade scripts for all rpi targets") Signed-off-by: Stijn Tintel --- diff --git a/target/linux/bcm27xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm27xx/base-files/lib/upgrade/platform.sh index 37c77edb34..a48b7cc08a 100644 --- a/target/linux/bcm27xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/bcm27xx/base-files/lib/upgrade/platform.sh @@ -94,6 +94,6 @@ platform_copy_config() { cp -af "$UPGRADE_BACKUP" "/boot/$BACKUP_FILE" tar -C / -zxvf "$UPGRADE_BACKUP" boot/cmdline.txt boot/config.txt sync - unmount /boot + umount /boot fi }