Re: [OpenWrt-Devel] [RFC 6/6] grub2: add preinit hook for bootloader upgrade

2019-01-17 Thread Tomasz Maciej Nowak
Hi Dustin, find my answers inline. W dniu 17.01.2019 o 06:02, Dustin Howett pisze: > I'm somewhat apprehensive about this applying to all targets that consume > GRUB2. All images which employ GRUB2 use the same recipe to create image, I see no reason exempt any x86 subtarget. > > On x86 and x

Re: [OpenWrt-Devel] [RFC 6/6] grub2: add preinit hook for bootloader upgrade

2019-01-16 Thread Dustin Howett
I'm somewhat apprehensive about this applying to all targets that consume GRUB2. On x86 and x86_64 images, I believe sysupgrade lays down every partition in the image over its equivalent already on the device. Since the bootloader (MBR, presumably, for most x86 targets) lives in the early part of

[OpenWrt-Devel] [RFC 6/6] grub2: add preinit hook for bootloader upgrade

2019-01-13 Thread Tomasz Maciej Nowak
The current OpenWrt installations lack the necessary bits to upgrade bootloader on sysupgrade, therefore add preinit hook which will perform upgrade of bootloader on first boot. Signed-off-by: Tomasz Maciej Nowak --- package/boot/grub2/Makefile | 6 ++ .../boot/grub2/files