From: appzer0 <appzer0@free.fr>
To: grub-devel@gnu.org
Subject: About grub.cfg{.new,} generation
Date: Wed, 12 Jan 2011 16:00:44 +0100 [thread overview]
Message-ID: <4D2DC21C.3050102@free.fr> (raw)
Hello,
I'd like to have some info about the 'grub-mkconfig script'. I'm
packaging grub 1.98.
Tell me if I'm wrong ; this script generates a '/boot/grub/grub.cfg.new'
then it renames it to '/boot/grub/grub.cfg'.
I see a line saying: echo /boot/grub | sed "s,x,x" ; what is it used
for? The sed command does not change anything here, I think.
The problem is that slackware and other distributions use a "*.new"
renaming pattern when upgrading packages, in order to not overwrite
important config files. Then the user has to deal with these .new files,
rename, overwrite or toss away.
If 'grub-mkconfig' is really doing what I think it does, then it would
just overwrite this important file, '/boot/grub/grub.cfg.new'.
Sorry for my english.
appzer0
next reply other threads:[~2011-01-12 14:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-12 15:00 appzer0 [this message]
2011-01-12 15:20 ` About grub.cfg{.new,} generation Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-12 16:07 ` appzer0
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=4D2DC21C.3050102@free.fr \
--to=appzer0@free.fr \
--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.