projects
/
openwrt
/
staging
/
jogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: add preinit hook for bootloader upgrade
[openwrt/staging/jogo.git]
/
target
/
linux
/
x86
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/x86/base-files/lib/upgrade/platform.sh
b/target/linux/x86/base-files/lib/upgrade/platform.sh
index 8be96dfcd45f7a85e11683c1d4a218e1c4680719..53c751861cccc1c3ba2b0a0518d0e7a01cff93ff 100644
(file)
--- a/
target/linux/x86/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/x86/base-files/lib/upgrade/platform.sh
@@
-60,7
+60,8
@@
platform_do_bootloader_upgrade() {
-m "/tmp/device.map" \
-d "/tmp/boot/boot/grub" \
-r "hd0,msdos1" \
- "/dev/$diskdev"
+ "/dev/$diskdev" \
+ && touch /boot/grub/upgraded
umount /tmp/boot
fi