diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh index 829834471d3..1bcd492dd75 100644 --- a/target/linux/x86/base-files/lib/upgrade/platform.sh +++ b/target/linux/x86/base-files/lib/upgrade/platform.sh @@ -63,7 +63,7 @@ platform_do_bootloader_upgrade() { -d "/tmp/boot/boot/grub" \ -r "hd0,${parttable}1" \ "/dev/$diskdev" \ - && touch /tmp/boot/grub/upgraded + && touch /tmp/boot/boot/grub/upgraded umount /tmp/boot fi