x86: fix grub-bios-setup fail during sysupgrade
author李国 <uxgood.org@gmail.com>
Tue, 7 Apr 2020 09:11:46 +0000 (09:11 +0000)
committerPetr Štetiar <ynezz@true.cz>
Thu, 9 Apr 2020 10:51:10 +0000 (12:51 +0200)
commit32f675ca9f7fb1e541aed704eb49467b07b4dce9
tree30278274cbae142bc238cd9734687ab4ca5d1e8c
parentfabcfa9222c4f683163514af667310178f8a45a0
x86: fix grub-bios-setup fail during sysupgrade

grub-bios-setup requires two images (boot.img and core.img),
but they are missing. This make an error during sysupgrade:
Upgrading bootloader on /dev/sda...
grub-bios-setup: error: cannot open `/tmp/boot/boot/grub/boot.img': No
such file or directory.

Signed-off-by: 李国 <uxgood.org@gmail.com>
target/linux/x86/base-files/lib/upgrade/platform.sh
target/linux/x86/image/Makefile