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>
|