Commit Graph

302 Commits

Author SHA1 Message Date
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
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
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
Peter Jones
38f72d25e9 Fix linewrapping in edit menu.
Resolves: rhbz #976643
2013-06-21 14:46:49 -04:00
Peter Jones
9c5e36d017 Fix obsoletes to pull in -starfield-theme subpackage when it should. 2013-06-20 13:30:09 -04:00
Peter Jones
ab71b4de23 Put the theme entirely ento the subpackage where it belongs (#974667) 2013-06-14 15:30:46 -04:00
Peter Jones
5206323eb0 Rebase to upstream snapshot.
- Fix PPC build error (#967862)
- Fix crash on net_bootp command (#960624)
- Reset colors on ppc when appropriate (#908519)
- Left align "Loading..." messages (#908492)
- Fix probing of SAS disks on PPC (#953954)
- Add support for UEFI OSes returned by os-prober
- Disable "video" mode on PPC for now (#973205)
- Make grub fit better into the boot sequence, visually (#966719)
2013-06-13 10:06:04 -04:00
Peter Jones
f74b50e380 Rebase to upstream, fix a pile of bugs. The usual.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-06-12 15:37:08 -04:00
William Jon McCann
6c7b1edb29 Work around missing en.mo.gz issue. 2013-06-10 15:41:42 -04:00
Peter Jones
31004e676e Rebase to upstream snapshot. 2013-06-07 14:03:56 -04:00
William Jon McCann
2961fa6052 Don't print GNU GRUB header
No one cares.
2013-06-03 11:16:59 -04:00
William Jon McCann
3a1a6259bc Add a patch to make the boot a bit quieter 2013-06-03 11:15:28 -04:00
William Jon McCann
909ac684df Add missing builddeps 2013-06-03 11:07:01 -04:00
Peter Jones
ed8842afb0 Fix release to -18 as that's the build we're doing...
This build:
- Moves starfield to a subpackage
- Doesn't allow SSE or MMX on UEFI builds (#949761)

Signed-off-by: Peter Jones <pjones@redhat.com>
2013-05-16 16:45:06 -04:00
Matthias Clasen
3c1bb2b181 Fix a typo: dir should be %dir in the file list 2013-05-15 15:34:31 -04:00
Matthias Clasen
fa0bb1c570 Add a starfield-theme subpackage
starfield takes up >3M on disk without being used, and we're oversize for
the live image. It also contains some copies of dejavu fonts...

Signed-off-by: Peter Jones <pjones@redhat.com>
2013-05-13 14:42:38 -04:00
Peter Jones
a5bd9f682f Rebase to newer upstream (git snapshot) 2013-05-02 16:54:52 -04:00
Peter Jones
c766879b05 Trim some changelogs from last decade.
One of these includes an invalid date, which rpm now complains about,
because hey, what's life without some additional meaningless and purposeless
suffering?

Signed-off-by: Peter Jones <pjones@redhat.com>
2013-04-04 11:17:19 -04:00
Peter Jones
50b8f8e890 Add lvm support for /boot
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-04-04 11:15:30 -04:00
Peter Jones
3987410b84 pj0 shouldn't be in the committed release number. Woops. 2013-04-04 11:14:36 -04:00
Peter Jones
3801bfdc74 Move bash completions to their new location.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-04-03 16:10:32 -04:00
Peter Jones
3ad78fdcc9 Fix booting from drives with 4k sectors on UEFI. 2013-04-03 14:14:27 -04:00
Peter Jones
56aa737e59 Allow the user to disable submenu generation
- (partially) support BLS-style configuration stanzas.
2013-02-14 14:03:59 -05:00
Peter Jones
2ea29c3086 Don't use a separate module list for CDs. 2013-02-14 14:02:42 -05:00
Dennis Gilmore
d86e0a2344 bump nvr 2012-12-20 11:04:30 -06:00
Karsten Hopp
83401c6de5 add bootpath device to the device list (pfsmorigo, #886685) 2012-12-17 17:32:53 +01:00
Peter Jones
5e0db243b0 Various updates required for PPC. 2012-11-27 15:08:53 -05:00
Peter Jones
4788033714 Don't load modules when grub transitions to "normal" mode on UEFI.
Signed-off-by: Peter Jones <pjones@redhat.com>
2012-10-23 10:49:45 -04:00
Peter Jones
5598b7f41e Bump release as well...
Signed-off-by: Peter Jones <pjones@redhat.com>
2012-10-22 14:44:52 -04:00
Peter Jones
66cba4fda2 Rebuild with newer pesign so we'll get signed with the final signing keys.
Signed-off-by: Peter Jones <pjones@redhat.com>
2012-10-22 14:39:46 -04:00
Peter Jones
09ea065fc4 Revert "Rebuild with newer pesign so we'll get signed with the final signing keys."
This reverts commit 1a0dbd0641.
2012-10-22 14:39:02 -04:00
Peter Jones
1a0dbd0641 Rebuild with newer pesign so we'll get signed with the final signing keys.
Signed-off-by: Peter Jones <pjones@redhat.com>
2012-10-22 14:06:28 -04:00
Peter Jones
f2e5630d7d Various ppc updates. 2012-10-18 13:47:39 -04:00
Peter Jones
c8494619a4 Work around bug with using "\x20" in linux command line.
Related: rhbz#855849

Signed-off-by: Peter Jones <pjones@redhat.com>
2012-10-01 13:40:41 -04:00
Peter Jones
4ae6c6e738 sneak in sleep added to the module list 2012-09-25 16:24:24 -04:00
Peter Jones
aec4448a0d Use grub2-owner@ instead of pjones@ to apply patches.
Ninjas all the way down.

Signed-off-by: Peter Jones <pjones@fedoraproject.org>
2012-09-20 16:08:41 -04:00
Peter Jones
9d784831ea Don't error on insmod on UEFI/SB, but also don't do any insmodding.
- Increase device path size for ieee1275
  Resolves: rhbz#857936
- Make network booting work on ieee1275 machines.
  Resolves: rhbz#857936
2012-09-20 16:07:02 -04:00
Matthew Garrett
62fd5b9b37 Add Apple partition map support for EFI 2012-09-05 17:58:48 -04:00
David Cantrell
d38088ed67 Only require pesign on EFI architectures (#851215) 2012-08-23 11:12:09 -04:00
Peter Jones
c1a25d07e6 Work around AHCI firmware bug in efidisk driver.
- Move to newer pesign macros
- Don't allow insmod if we're in secure-boot mode.
2012-08-15 14:40:02 -04:00
Peter Jones
f742f42fc2 Move to newer pesign macros
- Don't allow insmod if we're in secure-boot mode.
2012-08-14 15:53:38 -04:00
Peter Jones
945dd8118c Include fix efi memory map fix from upstream (#839363) 2012-08-08 14:27:31 -04:00
Peter Jones
5d4d4776f9 Split module lists for UEFI boot vs UEFI cd images.
- Add raid modules for UEFI image (related: #750794)
- Include a prelink whitelist for binaries that need execstack (#839813)
2012-08-08 14:27:31 -04:00
Peter Jones
711f8a06f9 Correct grub-mkimage invocation to use efidir RPM macro (jwb)
- Sign with test keys on UEFI systems.
- PPC - Handle device paths with commas correctly.
  Related: rhbz#828740
2012-08-08 11:56:14 -04:00
Josh Boyer
2047240414 Correct grub-mkimage invocation to use efidir RPM macro 2012-08-07 09:57:51 -04:00
Peter Jones
58a808c009 Add some more code to support Secure Boot
Add some more code to support Secure Boot, and temporarily disable
ome other bits that don't work well enough yet.

Resolves: rhbz#836695
2012-07-25 09:35:05 -04:00
Peter Jones
9bf0fc0b5e Keep on fixing gnulib. 2012-06-28 15:16:53 -04:00
Peter Jones
a37bbabf64 Rebase to grub-2.00 release. 2012-06-28 15:02:12 -04:00
Peter Jones
4ce656b370 Update to 2.00 release. 2012-06-28 14:50:33 -04:00
Mads Kiilerich
3734d8af18 update to grub 2.0 rc1
- drop backports of changes already included in 2.0rc1
- update grub-2.00-Add-fwsetup.patch
2012-06-28 14:48:08 -04:00
Peter Jones
8205bedc55 Fix double-free in grub-probe. 2012-06-18 15:52:14 -04:00
Peter Jones
c4a749da08 Build with patch19 applied. 2012-06-06 12:40:54 -04:00
Peter Jones
9a9b1f34d6 Comment out the most recent patch so we'll have a build without it. 2012-06-06 12:39:42 -04:00
Peter Jones
ad980577a2 More ppc fixes. 2012-06-06 12:23:56 -04:00
Peter Jones
fe507e9b64 Revert "Handle ppc nvram stuff in anaconda instead of here."
Since anaconda is frozen, we still have to do this here.

This reverts commit 008a5c45cb.
2012-06-06 11:23:28 -04:00
Peter Jones
fc6558ce1a Add IBM PPC fixes. 2012-06-06 11:22:51 -04:00
Peter Jones
008a5c45cb Handle ppc nvram stuff in anaconda instead of here. 2012-06-04 12:38:39 -04:00
Peter Jones
37801c12bd Don't use a macro for the beta since it screws up changelog 2012-06-04 12:11:22 -04:00
Peter Jones
460f2c58f0 Update to beta6.
- Various fixes from mads.
2012-06-04 11:49:11 -04:00
Peter Jones
f6b642dfbe Merge remote-tracking branch 'kiilerix/f17'
Conflicts:
	grub2.spec
2012-06-04 11:47:16 -04:00
Peter Jones
a7c00b4543 Update to beta6. 2012-06-04 11:09:16 -04:00
Mads Kiilerich
47b7f153f4 ExcludeArch %{arm}
- mentioned by dgilmore on irc
2012-06-04 02:29:21 +02:00
Mads Kiilerich
420dddcbf5 rename the global variable for efi archs to efiarchs
- that makes it less confusing to search for 'efi'
2012-06-02 01:55:36 +02:00
Mads Kiilerich
c95e580d52 clarify arch-specific glibc-devel buildrequires 2012-06-02 01:55:32 +02:00
Mads Kiilerich
356609bad2 add grub-2.00-no-huge-video.patch (#827003) 2012-06-02 01:54:48 +02:00
Mads Kiilerich
7f44b9b444 add grub-2.00-linux-mbr.patch - fix upstream bug #36490
backport upstream rev 4405

bug #36490: grub-probe doesn't work with fat32 file systems
2012-06-02 01:55:15 +02:00
Mads Kiilerich
7045ce64ed add grub-2.00-no-canon.patch (#737370)
backport upstream rev 4408:
Don't canonicalise /dev/root and /dev/dm-*.
2012-06-04 02:29:21 +02:00
Mads Kiilerich
5e9c41e4fe add grub-2.00-ieee1276.patch
backport upstream rev 4405
2012-06-04 02:29:21 +02:00