Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29125 - [grub2-common] "core repo kernel" displayed instead of linux kernel version

Attached to Project: Arch Linux
Opened by Aurélien Tamisier (VirtualTam) - Monday, 26 March 2012, 20:46 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 04 April 2012, 01:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When using grub-mkconfig to generate /boot/grub/grub.cfg, the default string "core repo kernel" is displayed instead of the actual kernels' versions.
The concerned script file is /etc/grub.d/00_header, at line 192 :

version="core repo kernel"

which could be replaced by a fancier :

version=`uname -r | sed -e "s,\-ARCH$,,g"`


Additional info:
* grub2-common version : 1:2.00beta2-2
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 04 April 2012, 01:39 GMT
Reason for closing:  Won't fix
Additional comments about closing:  See comments
Comment by Keshav Amburay (the.ridikulus.rat) - Tuesday, 27 March 2012, 18:25 GMT
This won't work if the current running kernel is not same as the detected kernel file.
Comment by Aurélien Tamisier (VirtualTam) - Wednesday, 28 March 2012, 13:45 GMT
By the way, the script file that is actually concerned is /etc/grub.d/10_linux (and not 00_header ...)

Loading...