bcm27xx: fix unmounting /boot after sysupgrade
authorStijn Tintel <stijn@linux-ipv6.be>
Sun, 7 Jun 2020 02:31:09 +0000 (05:31 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Sun, 7 Jun 2020 03:00:08 +0000 (06:00 +0300)
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 <stijn@linux-ipv6.be>
target/linux/bcm27xx/base-files/lib/upgrade/platform.sh

index 37c77edb34033543963edd68827414132201a929..a48b7cc08a3ee534615521e61d3da830bbeee390 100644 (file)
@@ -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
 }