From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Rename update-grub to grub-update?
Date: Wed, 13 Feb 2008 16:49:59 +0100 [thread overview]
Message-ID: <20080213154958.GC30040@thorin> (raw)
In-Reply-To: <1202855846.20992.12.camel@dv>
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
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
next prev parent reply other threads:[~2008-02-13 15:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-12 5:51 Rename update-grub to grub-update? Pavel Roskin
2008-02-12 7:23 ` Yoshinori K. Okuji
2008-02-12 9:09 ` Franklin PIAT
2008-02-12 22:37 ` Pavel Roskin
2008-02-12 11:34 ` Robert Millan
2008-02-12 22:37 ` Pavel Roskin
2008-02-13 15:49 ` Robert Millan [this message]
2008-03-20 13:10 ` Robert Millan
2008-03-20 15:31 ` Pavel Roskin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080213154958.GC30040@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.