x86: fix grub-bios-setup fail during sysupgrade
[openwrt/openwrt.git] / target / linux / x86 / base-files / lib / upgrade / platform.sh
index ee88dfb08269fe4f347c9d3821c85f58a0662990..829834471d301e8b6eac5b5d25b91bd96e8c7824 100644 (file)
@@ -63,7 +63,7 @@ platform_do_bootloader_upgrade() {
                        -d "/tmp/boot/boot/grub" \
                        -r "hd0,${parttable}1" \
                        "/dev/$diskdev" \
-               && touch /boot/grub/upgraded
+               && touch /tmp/boot/grub/upgraded
 
                umount /tmp/boot
        fi