Red Hat Bugzilla – Bug 117352
savedefault command not documented
Last modified: 2007-11-30 17:10:37 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux)
Description of problem:
I am using Fedora Core 1 on a remote system, and upgraded the kernel
using yum. I want it to boot the new kernel for the next boot only.
Based on a bit of Googling and then looking at the source,
savedefault needs to be documented.
do not mention the 'savedefault' command.
grub> help savedefault
Displays a helpful message. Yay! But if you know to ask for that
help, then, um, you don't really need the help. *doh*
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. # /sbin/grub
2. grub> help
3. *No mention of savedefault*
Actual Results: No mention of the savedefault command in any help
or documentation that I could find.
Expected Results: I expected the command to be documented.
Created attachment 98230 [details]
Proposed fix for lack of savedefault in grub> help
I /think/ this patch should do what I want. HOWEVER, this is untested,
because an rpmbuild --rebuild of the grub-0.93-7 source rpm fails. *sigh*
Once I finish this bug report, I'll report that one too.
info grub --index-search=savedefault
There are lots of commands not listed on the BUILTIN_HELP_LIST. It's a
matter of choice.
grep -B 2 BUILTIN grub-0.93/stage2/builtins.c|less
I could build grub with and without your patch.
$ rpmbuild -ba grub.spec > stdout.txt 2> stderr.txt && echo $?
Closing as "not a bug".
Created attachment 101884 [details]
Log of grub build failure
$ rpm-build --rebuild grub-0.93-7.src.rpm > grub-rebuild 2>&1; echo $?
Find the build log failure attached. Perhaps there is a build dependency
Originally reported against FC1.
In FC3, I was able to --rebuild the grub srpm.