From 5d38bc7b6f377578277da13b4b219be9772197f7 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 f1111fadba..3362899ca0 100644 --- a/target/linux/bcm27xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/bcm27xx/base-files/lib/upgrade/platform.sh @@ -99,6 +99,6 @@ platform_copy_config() { cp -af "$CONF_TAR" /boot/ tar -C / -zxvf "$CONF_TAR" boot/cmdline.txt boot/config.txt sync - unmount /boot + umount /boot fi }