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" <[email protected]> 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." _______________________________________________ Grub-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/grub-devel
