From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LVuXw-0005v6-QY for mharc-grub-devel@gnu.org; Sat, 07 Feb 2009 16:17:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVuXu-0005sF-N0 for grub-devel@gnu.org; Sat, 07 Feb 2009 16:17:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVuXu-0005rR-5i for grub-devel@gnu.org; Sat, 07 Feb 2009 16:17:02 -0500 Received: from [199.232.76.173] (port=56326 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVuXt-0005r8-PJ for grub-devel@gnu.org; Sat, 07 Feb 2009 16:17:01 -0500 Received: from aybabtu.com ([69.60.117.155]:45803) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LVuXt-0000DC-F1 for grub-devel@gnu.org; Sat, 07 Feb 2009 16:17:01 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1LVuSe-00062j-De; Sat, 07 Feb 2009 22:11:36 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1LVuXK-0001dQ-MD; Sat, 07 Feb 2009 22:16:26 +0100 Date: Sat, 7 Feb 2009 22:16:26 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090207211626.GO988@thorin> References: <87fxji62u2.wl%neal@walfield.org> <20090116205145.4e3dbb03@gibibit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090116205145.4e3dbb03@gibibit.com> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: neal@walfield.org Subject: Re: customizing grub-mkrecue images X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 21:17:03 -0000 On Fri, Jan 16, 2009 at 08:51:45PM -0800, Colin D Bennett wrote: > On Sat, 17 Jan 2009 04:14:45 +0100 > "Neal H. Walfield" wrote: > > > Hi, > > > > grub-mkrescue is quite useful, however, I'd like to be able to > > customize the image it creates a bit more than it currently supports. > > In particular, I'd like to load another config file at boot time. The > > attached patch enables this by way of a new option, --configfile. > > > > A more general solution to the customization problem would be to load > > a config file at image compilation time. This could be used to solve > > my problem. However, as it is an additional level of indirection, > > perhaps both options would be useful. > > > > Thoughts? > > You can already do this with the --overlay=DIR option. I do this to > add fonts, images, and graphical menu themes to the resulting ISO image > in addition to my custom grub.cfg. > > Your option --configfile option does make the case when you only want > to include your own grub.cfg file easier, by not requiring you to > create a directory hierarchy of DIR/boot/grub/ to contain grub.cfg > first. I don't like the current interface very much, but --configfile sounds too ad-hoc (if we go this way we could end up adding --fontfile et al). How about an option that adds an arbitrary file to $prefix ? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."