Commit Graph

9 Commits

Author SHA1 Message Date
Daniele
048b1361c2 Changing grub2.install again, so that it restores the old configuration also when the package is upgraded.
That is because grub2 1.99 did own /boot/grub/grub.cfg, so upgrading to grub2 2.00 would result in that file being moved to its .pacsave entry.
To avoid this, which would break systems, I'll restore the old configuration, so that the configuration on disk and the bootloader in the MBR should match.
Any other choice (automatically run grub-mkconfig, or automatically run grub-install) is conceptually wrong and could lead to unwanted results or broken systems.
2012-07-16 02:33:19 +02:00
Daniele
897535df9c Fix some conceptual errors in grub2.install.
Removed a routine which only mattered to 2.6 kernels, which we stopped shipping like one year ago.
Stopped running update-grub automatically, or it will mean that a user might have an older GRUB installed in its MBR reading a configuration file targeted for a newer GRUB, thus failing in some funny ways.
2012-07-16 00:08:08 +02:00
Daniele
8efeacef65 Changing the grub2.install script so that it runs update-grub no matter what.
The old script only did this in the post_upgrade() hook if there was a
/boot/grub/grub.cfg file with non-zero size, but as we already tell pacman
to backup that file, we can safely regenerate it anyway.
2012-07-15 21:42:21 +02:00
philm
a22b67f098 grub2: make it work 2012-01-22 03:36:58 +01:00
Daniele
5dbaee10a3 Fixing detection of Chakra kernels in grub2. 2011-12-03 21:49:36 +00:00
Phil
2574cb180a fix install files 2011-08-08 12:03:42 +00:00
Phil
357c2e0362 burg,grub2: update, remove symlinks 2011-08-08 11:29:08 +00:00
philm
95eade3cb8 add grub2 with efi support 2011-06-12 13:55:37 +00:00
Manuel Tortosa
5fe2a2fbc4 Add grub2 and dependences 2010-11-13 22:20:42 +00:00