Commit graph

347 commits

Author SHA1 Message Date
Peter Jones
9140c8d5d1 The previous fix was completely not right, so fix it a different way.
Resolves: rhbz#1249668

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-08-03 15:08:50 -04:00
Robert Marshall
7b98965227 Reverse rpmvercmp return value
RPM sort was returning kernels sorted from oldest to newest
instead of newest to oldest. Flipped the sign on the return
value to switch the order.

Related: rhbz#1124074

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-31 11:53:28 -04:00
Peter Jones
8facaba7e5 Fix a build failure on aarch64
Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-30 11:32:31 -04:00
Peter Jones
9074bf39f4 Fix changed symbol name.
Upstream's f8451af8 changed finalize_params to finalize_params_linux on
aarch64, and so we got a build failure because one of our patches also
referenced it.

This rectifies the two patches.

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-30 11:30:50 -04:00
Peter Jones
190143c8d4 Add missing rpm-devel requirement.
Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-22 15:03:11 -04:00
Peter Jones
f4c76c02ae Reconcile even harder, so that it actually works.
Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-22 13:12:37 -04:00
Peter Jones
8c6b1ac71e Reconcile with upstream once again.
Also include some minor fixes for gcc 5.1.1

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-22 09:46:32 -04:00
Peter Jones
b02c700d6c Be less terrible with .gitignore
We lost a man page because of this bzrignore<->gitignore junk, so solve
that slightly better.

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-22 09:16:02 -04:00
Peter Jones
a3296c1c92 Make %{efidir} dynamically from /etc/os-release
Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-22 09:02:34 -04:00
Peter Robinson
40524773a3 Don't build hardened (fixes FTBFS) 2015-07-19 15:23:39 +01:00
Peter Jones
d1197b4f47 Make kernel titles suck less.
Resolves: rhbz#1215839

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-04-28 16:07:35 -04:00
Peter Jones
3218556f85 grub-2.00 shouldn't be in sources.
Signed-off-by: Peter Jones <pjones@redhat.com>
2015-04-28 16:03:58 -04:00
Peter Jones
e44ede528a Add "loopback" module.
Signed-off-by: Peter Jones <pjones@redhat.com>
2015-04-21 11:37:34 -04:00
Till Maas
ac484fe622 Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:26:57 +01:00
Peter Jones
eb2c2e626a Bump release to rebuild with Ralf Corsépius's fixes.
Signed-off-by: Peter Jones <pjones@redhat.com>
2015-01-05 10:17:14 -05:00
Ralf Corsépius
767f985a92 Move grub2.info/grub2-dev.info install-info scriptlets into *-tools package.
- Use sub-shell in %__debug_install_post (RHBZ#1168732).
- Cleanup grub2-starfield-theme packaging.
2015-01-04 06:55:24 +01:00
Peter Jones
87ae4b9628 Update minilzo to 2.08 for CVE-2014-4607
Resolves: rhbz#1131793

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-12-05 09:23:50 -05:00
Peter Jones
497ed2ee41 Make sure gcdaa64.efi is packaged.
- Make backtrace and usb conditional on !arm
- Make sure gcdaa64.efi is packaged.
  Resolves: rhbz#1163481

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-11-20 10:50:52 -05:00
Peter Jones
dea2713c92 fix a copy-paste error in patch 0154.
Resolves: rhbz#964828

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-11-07 15:26:44 -05:00
Peter Jones
9d85b1d3af Handle os-prober and tftp path generation better.
- Try to emit linux16/initrd16 and linuxefi/initrdefi when appropriate
  in 30_os-prober.
  Resolves: rhbz#1108296
- If $fw_path doesn't work to find the config file, try $prefix as well
  Resolves: rhbz#1148652

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-10-27 09:30:59 -04:00
Peter Jones
58fe9aa736 Various updates that came from rhel 7.1 work.
- Clean up the build a bit to make it faster
- Make grubenv work right on UEFI machines
  Related: rhbz#1119943
- Sort debug and rescue kernels later than normal ones
  Related: rhbz#1065360
- Allow "fallback" to include entries by title as well as number.
  Related: rhbz#1026084
- Fix a segfault on aarch64.
- Load arm with SB enabled if available.
- Add some serial port options to GRUB_MODULES.

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-09-29 11:52:02 -04:00
Peter Jones
ab37733fec Don't specify -Wp,-D_FORTIFY_SOURCE; it makes no sense with other flags.
This option just generates a lot of I/O on stdout during the build...

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-09-10 15:00:22 -04:00
Peter Jones
ee7733c5eb Don't process a ton of grub modules with find-debuginfo.sh
It just rejects them anyway, and it slows down the build.

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-09-03 16:36:13 -04:00
Peter Jones
9ccddf4254 Make grubenv work correctly on UEFI machines.
Related: rhbz#1119943

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-09-03 15:46:21 -04:00
Peter Jones
7e21de47e7 Ignore all files name *.rpm
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-09-03 13:10:47 -04:00
Peter Jones
84fdd02b27 Remove some duplicates from GRUB_MODULES
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-08-25 14:48:35 -04:00
Peter Jones
4dcaf21223 Add ppc64le support.
Resolves: rhbz#1125540
2014-08-19 11:05:16 -04:00
Peter Jones
bcda470952 Enabled syslinuxcfg module. 2014-07-24 13:55:16 -04:00
Peter Jones
34a92f2f0d Add syslinuxcfg module.
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-07-22 14:55:50 -04:00
Peter Jones
37b39b7a40 Re-merge RHEL 7 changes and ARM works in progress. 2014-07-02 11:57:04 -04:00
Peter Jones
f178927fdb Avoid munging raw spaces when we're escaping command line arguments.
Resolves: rhbz#923374
2014-06-30 14:20:28 -04:00
Peter Jones
011fe811ba Update to newest upstream.
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-06-24 11:18:06 -04:00
Peter Jones
3f2879cb30 Rebase to upstream.
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-05-09 16:33:04 -04:00
Peter Jones
78a3d7dfd9 Merge in RHEL 7 changes and ARM works in progress.
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-03-13 14:52:25 -04:00
Peter Jones
864f3652f5 Fix FORTIFY_SOURCE for util/
Related: rhbz#1049047

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-03-13 13:48:55 -04:00
Peter Jones
8c7f7590b2 Some more cleanup of the 2.02~beta2 rebase, and make Aarch64 work.
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-01-14 13:47:16 -05:00
Peter Jones
5dc55b7bd8 Some more cleanup of our giant patch series.
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-01-07 10:02:18 -05:00
Peter Jones
95e3ce411f Pull in some lost changes from RHEL 7.0 branch to merge more easily.
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-01-06 15:49:50 -05:00
Peter Jones
481bf3bbf7 Update to grub-2.02~beta2
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-01-06 11:46:25 -05:00
Peter Jones
bf3e4ac5cb Ignore clog.
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-01-06 11:13:08 -05:00
Peter Jones
7d5b63aefa On UEFI, put modules in a subpackage.
Since they don't normally get used, there's no reason to normally
install them.

Signed-off-by: Peter Jones <pjones@redhat.com>
2013-10-02 16:47:55 -04:00
Peter Jones
39307a818d Last build failed because of a hardware error on the builder. 2013-08-10 11:36:39 -04:00
Peter Jones
31fa3b5d35 Fix compiler flags to deal with -fstack-protector-strong 2013-08-05 11:49:40 -04:00
Peter Jones
739a29165e Fix compiler flags to deal with -fstack-protector-strong 2013-08-05 10:19:48 -04:00
Dennis Gilmore
54c6370f47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 11:40:42 -05:00
Dennis Gilmore
54192aaaf3 pull in the extra fix done in f19
Merge branch 'f19'

Conflicts:
	grub2.spec
2013-07-02 13:29:51 -05:00
Dennis Gilmore
d0b05a7eb9 add epoch to obsoletes 2013-07-02 13:20:08 -05:00
Dennis Gilmore
4a42f9b3e3 add epoch to obsoletes 2013-07-02 13:16:14 -05:00
Dennis Gilmore
8fc7297927 add epoch to the Obsoletes lines in the spec 2013-07-02 13:13:49 -05:00
Peter Jones
9546739573 Fix linewrapping in edit menu.
Resolves: rhbz #976643
2013-06-21 14:47:42 -04:00