aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/base-files
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2020-06-07 05:31:09 +0300
committerStijn Tintel <stijn@linux-ipv6.be>2020-06-07 06:00:08 +0300
commit050c31fa268461fbc0a61dc04eda1424c5542151 (patch)
treef99305bcb78a62aca3386132ef4573b1dea2f87f /target/linux/bcm27xx/base-files
parent9e7fe7faf582484690efc8d735eeb88619428981 (diff)
downloadupstream-050c31fa268461fbc0a61dc04eda1424c5542151.tar.gz
upstream-050c31fa268461fbc0a61dc04eda1424c5542151.tar.bz2
upstream-050c31fa268461fbc0a61dc04eda1424c5542151.zip
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 <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/bcm27xx/base-files')
-rw-r--r--target/linux/bcm27xx/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
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
}