From 050c31fa268461fbc0a61dc04eda1424c5542151 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Sun, 7 Jun 2020 05:31:09 +0300 Subject: [PATCH] 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 --- target/linux/bcm27xx/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.25.1