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#21987 - [grub2] include an update-grub2 script

Attached to Project: Arch Linux
Opened by John (graysky) - Sunday, 05 December 2010, 15:57 GMT
Last edited by Ronald van Haren (pressh) - Friday, 28 January 2011, 22:04 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Include a simple script to update grub2 perhaps in /usr/bin or elsewhere. Attached a one-liner here.
This task depends upon

Closed by  Ronald van Haren (pressh)
Friday, 28 January 2011, 22:04 GMT
Reason for closing:  Won't implement
Additional comments about closing:  grub.cfg.example is updated when the package is updated. You should either copy that to grub.cfg or create a config by hand.
Comment by Thomas Dziedzic (tomd123) - Sunday, 05 December 2010, 17:59 GMT
I would think that having a script for such a simple command would be pointless. Especially since you only have to regenerate it once every time you install a new different kernel (not each time you upgrade an existing one).
Comment by John (graysky) - Sunday, 05 December 2010, 19:44 GMT
@Thomas - I don't think it would be pointless. I discovered though learning grub2 theming that ubuntu comes with a similar script. If you're doing any theme development or want to make changes to your grub2 background image or any other modification to /etc/default/grub the script is actually quite nice.
Comment by Thomas Dziedzic (tomd123) - Sunday, 05 December 2010, 20:14 GMT
I think that Arch's philosophy differs with Ubuntu's in this respect.
I think such a script should either be submitted upstream, or added to the aur (as a seperate package).
This is just my opinion though, I don't have the final say on this.
Comment by Anonymous Submitter - Tuesday, 14 December 2010, 08:52 GMT
Instead of using /etc/default/grub and then using grub-mkconfig (aka update-grub(2) ), you can directly edit the grub.cfg file as root. I suggest using grub-mkconfig for creating only a grub.cfg template and then modifying it manually to fit the user's needs.

Loading...