From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JPJwL-0003UC-Fc for mharc-grub-devel@gnu.org; Wed, 13 Feb 2008 10:54:29 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPJwK-0003Ta-4o for grub-devel@gnu.org; Wed, 13 Feb 2008 10:54:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPJwI-0003SV-O2 for grub-devel@gnu.org; Wed, 13 Feb 2008 10:54:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPJwH-0003S9-Hn for grub-devel@gnu.org; Wed, 13 Feb 2008 10:54:26 -0500 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 1JPJwG-0001G4-MI for grub-devel@gnu.org; Wed, 13 Feb 2008 10:54:24 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JPJuI-0006IB-25 for grub-devel@gnu.org; Wed, 13 Feb 2008 16:52:26 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JPJrz-0007us-1Z for grub-devel@gnu.org; Wed, 13 Feb 2008 16:49:59 +0100 Date: Wed, 13 Feb 2008 16:49:59 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080213154958.GC30040@thorin> References: <20080212005113.nlirwi2ko4gkg80s@webmail.spamcop.net> <20080212113451.GB19144@thorin> <1202855846.20992.12.camel@dv> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1202855846.20992.12.camel@dv> 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-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Rename update-grub to grub-update? 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, 13 Feb 2008 15:54:28 -0000 On Tue, Feb 12, 2008 at 05:37:26PM -0500, Pavel Roskin wrote: > > I would actually prefer to avoid outright replacement of an existing > distribution-specific tool. Debian could continue installing > update-grub, perhaps as a wrapper for grub-update or whatever we call > our utility. update-grub never was really distribution-specific. Someone wrote it for Debian ages ago, when they could have tried to cooperate with GRUB maintainers like I did, but that's all. > > Calling it "update-grub" has a big advantage: for many GRUB Legacy users, > > when seeing a script called like this they will instantly know what it > > does. > > I think grub-update is just as descriptive, and grub-update-config even > more so. I don't think Debian users actually need to run update-grub > manually. Any good distribution should provide /sbin/installkernel, > which would be run when a new kernel is being installed. Debian has: /etc/kernel-img.conf:postinst_hook = update-grub /etc/kernel-img.conf:postrm_hook = update-grub which as you can guess it's a PITA to update in maintainer scripts (I already went through this once). In addition, a number of packages that provide GRUB add-ons (memtest86, grub-invaders, desktop-base) have started providing update-grub hooks and calling that script in their scripts. This behaviour is GRUB 2 specific (the older update-grub was a monolithic script with all the cruft), and AFAICT to the date only in Debian, but there's no reason it can't be merged with their upstreams. All in all, even if you want to change it I think there should be a smooth transition that doesn't break current usage. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)