[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#594189: initramfs-tools: environment variable to disable run_bootloader



On Tue, 2010-08-24 at 14:25 +0100, Colin Watson wrote:
> Package: initramfs-tools
> Version: 0.98
> Severity: wishlist
> User: ubuntu-devel@lists.ubuntu.com
> Usertags: origin-ubuntu maverick
> 
> In the case where one is building an image and part of the image build
> involves running update-initramfs, it would be useful to have a single
> guaranteed way to disable installing any bootloader.  Individual
> bootloader hooks in /etc/initramfs-tools/post-update.d/ can do this,

Minus the "-tools"; it's supposed to be shared with any other initramfs
builders.

> but it would be better to have something central.  Should this be an
> environment variable or perhaps a configuration file entry?

So far as I can see, the only reason to override post-update hooks is
that one is cross-building an initramfs.  In that case update-initramfs
is still used for updating the host's initramfs and should continue to
invoke the hooks when doing that.  So this should be a command-line
option and not a configuration option.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: