diff options
| author | Stijn Tintel | 2020-06-07 02:31:09 +0000 |
|---|---|---|
| committer | Stijn Tintel | 2020-06-07 03:00:08 +0000 |
| commit | 050c31fa268461fbc0a61dc04eda1424c5542151 (patch) | |
| tree | f99305bcb78a62aca3386132ef4573b1dea2f87f | |
| parent | 9e7fe7faf582484690efc8d735eeb88619428981 (diff) | |
| download | openwrt-050c31fa268461fbc0a61dc04eda1424c5542151.tar.gz | |
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>
| -rw-r--r-- | target/linux/bcm27xx/base-files/lib/upgrade/platform.sh | 2 |
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 } |