[OpenWrt-Devel] [PATCH v2 0/3] x86: upgrade bootloader on sysupgrade
Tomasz Maciej Nowak
tomek_n at o2.pl
Thu Jul 18 09:31:32 EDT 2019
After gotten bit more familiar with OpenWrt, I found less intrusive
method to implement upgrading of bootloader, instead of rewriting image
generation code like in my previous attempt [1]. It had some value in
itself, so if anyone will request it, I'll respin these patches as
separate series in near future.
https://patchwork.ozlabs.org/cover/1024165
Changes in v2:
x86: add bootloader upgrade on sysupgrade:
move bootloader upgrade to function as suggested by Petr Å tetiar,
extend commit message
x86: add preinit hook for bootloader upgrade
rewrite commit message
Tomasz Maciej Nowak (3):
x86: image: cleanup before creating image
x86: add bootloader upgrade on sysupgrade
x86: add preinit hook for bootloader upgrade
package/boot/grub2/Makefile | 5 ++++
.../lib/preinit/81_upgrade_bootloader | 19 ++++++++++++++
.../x86/base-files/lib/upgrade/platform.sh | 25 +++++++++++++++++++
target/linux/x86/image/Makefile | 9 ++++---
4 files changed, 55 insertions(+), 3 deletions(-)
create mode 100644 target/linux/x86/base-files/lib/preinit/81_upgrade_bootloader
--
2.22.0
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list