Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HbfGz-0000nf-IQ for mharc-grub-devel@gnu.org; Wed, 11 Apr 2007 12:02:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HbfGy-0000nB-3x for grub-devel@gnu.org; Wed, 11 Apr 2007 12:02:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HbfGx-0000mq-96 for grub-devel@gnu.org; Wed, 11 Apr 2007 12:02:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbfGv-0000mb-9S for grub-devel@gnu.org; Wed, 11 Apr 2007 12:02:14 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HbfCq-0001pi-9o for grub-devel@gnu.org; Wed, 11 Apr 2007 11:58:01 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1HbfCl-0003Sc-Bm for grub-devel@gnu.org; Wed, 11 Apr 2007 17:57:56 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1HbfCN-0001tM-8r for grub-devel@gnu.org; Wed, 11 Apr 2007 17:57:31 +0200 Date: Wed, 11 Apr 2007 17:57:31 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20070411155731.GB6722@aragorn> References: <20061015101842.GC4265@khazad.dyndns.org> <20061127170016.GA5132@aragorn> <200611272320.14526.subdino2004@yahoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200611272320.14526.subdino2004@yahoo.fr> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Subject: update-grub again (Re: ping (update-grub2)) 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: Wed, 11 Apr 2007 16:02:16 -0000 On Mon, Nov 27, 2006 at 11:20:06PM +0100, Vincent Pelletier wrote: > > That said, if you don't like the idea then we could proceed adding it in > > debian, but that might close the door to merging in the future (maintaining > > the script in debian ourselves implies accepting contributions from many > > people without any paperwork arrangements). > > Personally, the way update-grub works on all my applicable debian installs > suits me perfectly. When you just run it and see it works, everything seems wonderful. But have a look at the code; everyone has been adding their cruft for ages, and it's completely unmanageable now. By taking a modular approach, we can have a simple core that is easily maintainable, and unload the responsability for modules to the applications they're associated with. > But as Declan said, it's bad to overwrite the file... > I wonder if it could become just a generation of a file which would be > included (or not) by the "main" config file. > If that main config file does not exist at all, it could be generated - unless > we consider that a user might want not to have a config file at all. > > I don't know if the current scripting allows this, I haven't put an eye on it > for a looong time. I'm not particularly interested about that, but it's trivial to implement it later provided that grub scripting supports it. > Another idea, which I just had while writing this mail : > > What about putting the .d directory in /boot(/grub) and implementing a > mechanism in grub to be able to handle such configuration directory ? That's not feasible. The script modules do complex stuff that couldn't be done comfortably if we were in kernel-mode C instead of shell scripting (check out what my scripts do and you'll see what I mean). -- Robert Millan My spam trap is honeypot@aybabtu.com. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.