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

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

-- 
2.21.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to