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: 246916ddf4 ("brcm2708: use x86's upgrade scripts for all rpi targets")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
Stijn Tintel 2020-06-07 05:31:09 +03:00 committed by AmadeusGhost
parent 081d1e3327
commit 5d38bc7b6f

View File

@ -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
}