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:
parent
9e7fe7faf5
commit
050c31fa26
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue