FS#18714 - [grub2] Upgrading leaves you with no grub.cfg

Attached to Project: Arch Linux
Opened by Dave Reisner (falconindy) - Tuesday, 16 March 2010, 19:05 GMT
Last edited by Ronald van Haren (pressh) - Tuesday, 16 March 2010, 19:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: Upgrading Grub2 leaves you without a grub.cfg file. The problem appears to be that the PKGBUILD makes use of a backup array for grub.cfg when the package itself does not provide this file. The file is generated by grub-mkconfig in the install scriptlet if and only if /boot/grub/grub.cfg if not already found. It would seem that the backup array is handled after the install scriptlet is parsed so the install scriptlet finds the config file and shortly thereafter, it's moved.

Steps to reproduce:
1) Install Grub
2) Create /boot/grub/grub.cfg
3) Upgrade Grub
This task depends upon

Closed by  Ronald van Haren (pressh)
Tuesday, 16 March 2010, 19:20 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#18711 

Loading...