[OpenWrt-Devel] [PATCH 0/3] x86: upgrade bootloader on sysupgrade

Tomasz Maciej Nowak tomek_n at o2.pl
Mon May 27 08:46:27 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.


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    | 21 ++++++++++++++++++-
 target/linux/x86/image/Makefile               |  9 +++++---
 4 files changed, 50 insertions(+), 4 deletions(-)
 create mode 100644 target/linux/x86/base-files/lib/preinit/81_upgrade_bootloader


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list