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 [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org