Commit graph

266 commits

Author SHA1 Message Date
Matthew Garrett
8a7df50949 fix up various grub2-efi issues 2011-12-14 15:07:51 -05:00
Adam Williamson
8a04b0c277 add an upstream reference for the grub-probe call patch 2011-12-08 12:05:28 -08:00
Peter Jones
c07e9a4da9 ExcludeArch s390*, which is not supported by this package.
Resolves: rhbz#758333
2011-12-08 14:36:18 -05:00
Adam Williamson
64c72fe7f7 bump the rev 2011-12-08 10:00:13 -08:00
Adam Williamson
6c1e129663 fix the hardwired call to grub-probe in 30_os-prober (RH #737203) 2011-12-08 09:59:29 -08:00
Peter Jones
212d822ae8 Lots of .spec fixes from Mads Kiilerich:
Remove comment about update-grub - it isn't run in any scriptlets
patch info pages so they can be installed and removed correctly when renamed
fix references to grub/grub2 renames in info pages (#743964)
update README.Fedora (#734090)
fix comments for the hack for upgrading from grub2 < 1.99-4
fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820)
make /etc/grub2*.cfg %config(noreplace)
make grub.cfg %ghost - an empty file is of no use anyway
create /etc/default/grub more like anaconda would create it (#678453)
don't create rescue entries by default - grubby will not maintain them anyway
set GRUB_SAVEDEFAULT=true so saved defaults works (rbhz#732058)
grub2-efi should have its own bash completion
don't set gfxpayload in efi mode - backport upstream r3402
Handle dmraid better. Resolves: rhbz#742226
2011-11-07 11:44:55 -05:00
Mads Kiilerich
b4e6bbb0ec don't set gfxpayload in efi mode - backport upstream r3402 2011-11-07 11:42:04 -05:00
Peter Jones
dfcf823ef8 Handle dmraid better.
Resolves: rhbz#742226
2011-11-07 11:41:53 -05:00
Mads Kiilerich
e61d26e2a3 grub2-efi should have its own bash completion 2011-11-07 11:39:37 -05:00
Mads Kiilerich
204ee270c4 set GRUB_SAVEDEFAULT=true so saved defaults works (rbhz#732058) 2011-11-07 11:39:28 -05:00
Mads Kiilerich
12d8378872 don't create rescue entries by default - grubby will not maintain them anyway 2011-11-07 11:39:18 -05:00
Mads Kiilerich
16c009c051 create /etc/default/grub more like anaconda would create it (#678453) 2011-11-07 11:38:58 -05:00
Mads Kiilerich
bf4e2d266e make grub.cfg %ghost - an empty file is of no use anyway 2011-11-07 11:38:48 -05:00
Mads Kiilerich
21f0c0b86e /etc/grub2*.cfg symlinks can be customized to point somewhere else - make them %config(noreplace) 2011-11-07 11:38:38 -05:00
Mads Kiilerich
d5f74283a0 fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820) 2011-11-07 11:38:24 -05:00
Mads Kiilerich
e3760090e5 move comments for the hack for upgrading from grub2 < 1.99-4 so they appear in the right place 2011-11-07 11:38:11 -05:00
Mads Kiilerich
21d845a6c3 update README.Fedora (#734090) 2011-11-07 11:37:47 -05:00
Mads Kiilerich
51c2ea75cb fix references to grub/grub2 renames in info pages (#743964) 2011-11-07 11:37:33 -05:00
Mads Kiilerich
ee18b8d4c1 patch info pages so they can be installed and removed correctly when renamed 2011-11-07 11:37:17 -05:00
Mads Kiilerich
1068837011 Remove comment about update-grub - it isn't run in any scriptlets 2011-11-07 11:36:57 -05:00
Dennis Gilmore
7cabf5f6f8 - Rebuilt for glibc bug#747377 2011-10-26 18:59:55 -05:00
Adam Williamson
7c419b815b mark /etc/default/grub as config(noreplace) 2011-10-19 13:41:11 -07:00
Adam Williamson
a9b3287b03 Merge commit '328405c9f5f69dd1f41d5c0a742ad64bd19698de'
Conflicts:
	grub2.spec
2011-10-13 13:31:42 -07:00
Peter Jones
328405c9f5 grub has an epoch, so we need that expressed in the obsolete as well.
Today isn't my day.
2011-10-11 16:53:55 -04:00
Peter Jones
ba6990d52a Fix my bad obsoletes syntax. 2011-10-11 15:00:17 -04:00
Peter Jones
091a3cda9d Fix extra patch added that shouldn't have gone in yet. 2011-10-06 17:07:18 -04:00
Peter Jones
5606a4e17d Obsolete grub-0.97 . 2011-10-06 16:58:34 -04:00
Peter Jones
1156d47d8e Use mv not cp to try to avoid moving disk blocks around for -5 fix
Related: rhbz#735259
handle initramfs on xen better (patch from Marko Ristola)
Resolves: rhbz#728775
2011-09-14 16:09:24 -04:00
Peter Jones
3e87d77807 Use mv not cp to try to avoid moving disk blocks around for -5 fix
Related: rhbz#735259
handle initramfs on xen better (patch from Marko Ristola)
Resolves: rhbz#728775
2011-09-14 16:08:42 -04:00
Kalev Lember
eb5089f407 Fix upgrades from grub2 < 1.99-4 (#735259)
grub2 versions older than 1.99-4 had the following in %preun:
  # XXX Ugly
  rm -f /boot/%{name}/*.mod
  rm -f /boot/%{name}/*.img
  rm -f /boot/%{name}/*.lst
  rm -f /boot/%{name}/device.map

This change tries to work around the damage caused on upgrades, by first
backuping the files and later restoring them after the old packages's
%preun has been run.

Complements the change in 5c9195d.

https://bugzilla.redhat.com/show_bug.cgi?id=735259
2011-09-03 22:06:18 +03:00
Peter Jones
6098d129ab Don't do sysadminny things in %preun or %post ever. (#735259)
Actually include the changelog in this build (sorry about -3)
2011-09-02 12:18:20 -04:00
Peter Jones
2cf9915645 Bump release version to -3 2011-09-02 11:59:29 -04:00
Peter Jones
5c9195d690 Don't do sysadminny things in %preun or %post ever. (#735259)
grub2-install and removing old installs are not the package's business,
and they break package updates.
2011-09-02 10:57:30 -04:00
Peter Jones
62686d201e Require os-prober (#678456) (patch from Elad Alfassa)
Require which (#734959) (patch from Elad Alfassa)
2011-09-01 16:50:42 -04:00
Peter Jones
ee1d6dae6f Update to grub-1.99 final.
Fix crt1.o require on x86-64 (fix from Mads Kiilerich)
Various CFLAGS fixes (from Mads Kiilerich)
fexceptions and -m64
Temporarily ignore translations (from Mads Kiilerich)
2011-09-01 11:33:20 -04:00
Peter Jones
b35cdf37f7 Update to -0.3 2011-07-21 17:20:22 -04:00
Peter Jones
34b46d9fe8 Set sbindir correctly. 2011-07-20 11:23:00 -04:00
Peter Lemenkov
b577e7c89e Fixes for ppc
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2011-06-23 23:47:53 +04:00
Peter Jones
b87b26e070 BuildRequire texinfo 2011-05-11 10:54:21 -04:00
Peter Jones
7c097239ad Don't modify grub config in the grub package scriptlets.
It's just really bad style.
2011-05-03 14:02:11 -04:00
Peter Jones
41a54de8fa Clean up spec file a bit and move EFI to a subpackage.
Still not completely ready...
2011-03-14 17:02:57 -04:00
Peter Jones
95e479dce1 Build grub2-efi as a subpackage, and update some build deps. 2011-03-10 14:25:50 -05:00
Peter Jones
624cc16288 There's another unused variable that some GCC versions complain about... 2011-03-10 13:21:52 -05:00
Peter Jones
1fcd613638 Make 1.99~rc1 build on i686... 2011-03-04 13:24:23 -05:00
Peter Jones
b2860346f4 Fix whitespace... 2011-03-02 10:21:28 -05:00
Dennis Gilmore
62330688f3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 00:24:08 -06:00
Fedora Release Engineering
a07a75d7c1 dist-git conversion 2010-07-28 17:08:45 +00:00
Dennis Gilmore
7eb1bde81a correctly generate a grub config on kernel updates 2010-07-17 19:30:49 +00:00
Dennis Gilmore
692a7783dd update to 1.98 add patch to make config generation work correctly with
lvm/devicemapper remove all the old patches
2010-05-29 01:48:15 +00:00
Dennis Gilmore
7c607f14ce update to 1.97.2 2010-02-12 23:02:53 +00:00