Magellan Linux

Revision 1722


Jump to revision: Previous Next
Author: niro
Date: Sat Feb 18 00:53:14 2012 UTC (12 years, 1 month ago)
Changed paths: 5
Log Message:
Update "echo 'Loading..." messages to the new kernel version

grub2-mkconfig will create lines like:
		echo    'Loading Linux 3.1.0-0.rc6.git0.0.fc16.x86_64 
...'
- depending on the content of /etc/default/grub.

grubby would recognize these lines and replace them with lines with the 
right
version number such as:
	echo 'Loading Fedora (3.1.0-0.rc6.git0.0.fc16.x86_64)'

these lines were however not recognized by grubby and would not be 
updated on
next kernel update when this entry would be used as template.

With this patch grubby will no longer look for a specific title but 
patch any
"echo 'Loading" line immediately before the kernel line.

Signed-off-by: Adam Williamson <awilliam@redhat.com>



Changed paths

Path Details
Directorytrunk/grubby/grubby.c modified , text changed
Directorytrunk/grubby/test/grub2.1 modified , text changed
Directorytrunk/grubby/test/results/add/g2-1.1 modified , text changed
Directorytrunk/grubby/test/results/add/g2-1.2 modified , text changed
Directorytrunk/grubby/test/results/add/g2-1.3 modified , text changed