Bug#667610: Please allow for bypassing the autoconfiguration of grub2

Colin Watson cjwatson at debian.org
Thu Apr 5 11:05:34 UTC 2012


On Thu, Apr 05, 2012 at 11:55:44AM +0200, Wouter Verhelst wrote:
> I'm currently working on a script for a customer to generate a
> customized image for them to use on their embedded devices. The output
> of this script will be a CompactFlash device, ready to be put in their
> device (an Atom-based board). This script must run fully noninteractive,
> so has DEBCONF_FRONTEND=noninteractive.
> 
> One of the things the script must do is install a boot loader, in casu
> grub2. However, this fails because grub2 assumes that it must at all
> times be installed to a boot record if it's installed somewhere, and
> will fail to install properly if that isn't true.

Why not install grub-pc-bin (etc.) instead?  I am very strongly averse
to further complicating the postinst, which is already nightmarishly
complicated; I designed the -bin packages to support this kind of thing.

Cheers,

-- 
Colin Watson                                       [cjwatson at debian.org]





More information about the Pkg-grub-devel mailing list