On Jan 25, 2016, at 8:07 AM, Kilian Krause <kil...@debian.org> wrote:

> Package: u-boot
> Severity: wishlist
> Tags: d-i
> 
> Hi Vagrant,
> 
> as just discussed the d-i mimic of installing u-boot should also be
> available when updating u-boot packages in an installed system.
> 
> There may be cases, where automatic updates may not be desired or where
> defaults are just simply not matching, so there should probably be a
> /etc/defaults/u-boot with:
> - an option to ENABLE/DISABLE
> - dd parameters like offset
> - the u-boot flavor and image file (if one would want to override it)
> 
> When enabled the u-boot postinst should ensure the latest code is
> auto-activated just like at the end of d-i when installing the system.
> 
> Since duplicating d-i code is not what we want, this probably means also
> creating a udeb with the u-boot-tools (and especially this "installer")
> and moving the relevant installer heuristic over to u-boot and replacing
> it in d-i with a matching structure to call this new tool.
> 
> Best,
> Kilian

With all due respect...

Please don't do this!

Installing u-boot is not at all like installing grub.

If something goes wrong with installing grub, you can boot from a CD or via 
ethernet and recover or re-install.
If something goes wrong with installing u-boot, you have bricked your device.  
The only recourse is J-tag.  Not fun at all!

Installing u-boot is something that should only be undertaken very carefully if 
you know what you're doing and are prepared to recover from a mishap.  Doing it 
automatically every time there's an update is not wise.

Thanks for including me in the discussion!

Rick

Reply via email to