Commit Graph

99 Commits

Author SHA1 Message Date
Javier Martinez Canillas
504ff4446b
Add grubby-bls package
Add a grubby wrapper script that allows to manage BootLoaderSpec files by
using the same command line options supported by the grubby tool. This is
provided for backward compatibility for grubby users that swtich to BLS.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-07-13 18:59:53 +02:00
Javier Martinez Canillas
83d4145e20 Use .rpmsave as backup suffix when switching to BLS configuration
By default the grub2-switch-to-blscfg script uses .bak as the suffix for
saved files, but it should use .rpmsave when called from a RPM scriptlet.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-04-11 10:09:46 -04:00
Javier Martinez Canillas
8813fe1f7c Switch grub2 config to BLS configuration on %postun
When grubby is not installed, the GRUB 2 configuration has to be
changed to use the BLS configuration files.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-04-06 14:03:37 -04:00
Nathaniel McCallum
7d47e62c2e Add support for /boot on btrfs 2018-03-06 10:24:41 -05:00
Fedora Release Engineering
e0fe64ca89 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 15:30:57 +00:00
Peter Robinson
c5aefcde03 Drop u-boot uImage generation on ARMv7, Minor cleanups 2018-01-24 08:53:33 +00:00
Peter Jones
9c7b4eb905 Actually require grub2-tools-minimal, which has grub2-editenv in it.
Signed-off-by: Peter Jones <pjones@redhat.com>
2017-09-12 10:07:05 -04:00
Peter Jones
5eb64ab406 Cleanup deps for new grub2 packaging.
- Explicitly require grub2-tools on platforms that need grub2-editenv
- Minor packaging cleanups

Signed-off-by: Peter Jones <pjones@redhat.com>
2017-09-12 09:21:37 -04:00
Fedora Release Engineering
8f77e4538d - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 23:05:04 +00:00
Fedora Release Engineering
17c40dca81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 12:05:52 +00:00
Adam Jackson
1ddd4fd7db Update URL, fix %description formatting 2017-02-27 13:07:26 -05:00
Fedora Release Engineering
c7f3e950d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 12:16:16 +00:00
Dennis Gilmore
9e56840728 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 23:22:14 +00:00
Dennis Gilmore
796d03e956 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 09:51:29 +00:00
Peter Jones
2ba2a6e6aa Update to 8.40
- More work on the thing that went to testing in 8.39
  Resolves: rhbz#1211887

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-04-15 15:40:01 -04:00
Peter Jones
715a4d823a Update to 8.39
- Fix title extraction with some config file types
  Resolves: rhbz#1204353
  Resolves: rhbz#1204888
  Resolves: rhbz#1206943

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-04-14 14:40:14 -04:00
Peter Jones
c095884218 Update to 8.38
- Fix title extraction with some config file types
  Resolves: rhbz#1204353
  Resolves: rhbz#1204888
  Resolves: rhbz#1206943

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-04-14 13:35:46 -04:00
Peter Jones
75676da88b Update to 8.37
- Fix test case from 8.35 on ppc64
  Resolves: rhbz#1202876

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-03-17 14:57:25 -04:00
Peter Jones
13b3f1d5f2 Disable "make check" on arm builds; right now the test suite is broken
there and raises false positives constantly.

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-11-13 09:46:21 -05:00
Peter Jones
e2a3f9ce83 Treat kernel and kernel-core as identical in terms of --make-default
Resolves: rhbz#1141414

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-10-27 18:14:26 -04:00
Peter Jones
ee984748a5 Don't create "debug" entries yet.
This apparently interacts poorly with grub2-mkconfig's title generation
and causes weird errors, so it's not ready yet.

This commit also fixes some quoting errors in the dtbdir n-k-p code.

Resolves: rhbz#1153410
Resolves: rhbz#1088933

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-10-17 18:56:25 -04:00
Peter Jones
635a3b8d37 Update grubby to support device tree options for arm. Again.
Resolves: rhbz#1088933

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-10-17 18:56:25 -04:00
Peter Jones
ac7dcc0da0 Fix a typo. 2014-10-17 18:56:25 -04:00
Peter Jones
0370b222f6 See if what people are seeing in 1141414 is actually 957681
Related: rhbz#957681
  Related: rhbz#1141414
2014-10-17 18:56:25 -04:00
Peter Robinson
271f511622 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 19:09:17 +00:00
Tom Callaway
961d5e363f fix license handling 2014-07-12 11:39:13 -04:00
Dennis Gilmore
d8d47e3998 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 13:47:48 -05:00
Peter Jones
5ad297103f Fix a minor test case error that causes koji builds to fail.
Related: rhbz#1096358
2014-05-21 17:39:20 -04:00
Peter Jones
03801fd005 Make grub2 "--copy-default --add-kernel=foo --initrd=bar" work when default
has no initrd line.
  Resolves: rhbz#1099627
  Related: rhbz#1096358
2014-05-21 17:24:54 -04:00
Peter Jones
facc9c5785 Fix --devtree test in new-kernel-pkg even harder (#1082318) 2014-04-01 08:50:29 -04:00
Peter Jones
dcde681ed2 Fix --devtree test in new-kernel-pkg (#1082318)
- Fix aarch64 #define test.
2014-03-31 15:48:55 -04:00
Peter Jones
58f61ff2e5 Update to 8.31
- Fold in patches from Fedora and RHEL 7 trees
2014-03-28 15:44:11 -04:00
Lubomir Rintel
dc1eb4a29a Fix extlinux default support
*proven packager hat on*
Package maintainer unresponsive. All patches submitted upstream, no response
either.
2014-01-20 12:37:56 +01:00
Peter Jones
c8c92c6872 More work on grub's "saved_entry" system.
Resolves: rhbz#768106
  Resolves: rhbz#736188
2013-08-02 15:04:59 -04:00
Peter Jones
e0c126c7f0 Add aarch64 to the things we run grub2 tests on.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-07-30 14:16:23 -04:00
Peter Jones
0d3237c8cf Fix "make test" to work when grub2 isn't present.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-07-30 14:05:29 -04:00
Peter Jones
8e7730434e Make grubby understand grub's "saved_entry" system
Resolves: rhbz#768106
  Resolves: rhbz#736188
2013-07-30 13:39:16 -04:00
Dennis Gilmore
223896f6d9 add patch to update extlinux.conf file on arm if it exists 2013-06-07 14:54:11 -05:00
Peter Jones
efdb493d76 Conditionally call arm-boot-config's boot.scr generator if available
Resolves: rhbz#952428
2013-05-10 15:07:00 -04:00
Peter Jones
e7dc179a7b Error instead of segfaulting if we can't find any working config
Resolves: rhbz#912873
  Resolves: rhbz#751608
2013-04-09 11:37:11 -04:00
Peter Jones
87662898db Fix module remove code from Harald (#923441) 2013-03-19 16:41:23 -04:00
Peter Jones
440ec26a25 Update to 8.23
- Fix empty root device in case of an empty /etc/fstab (lemenkov)
- General refactoring and cleanup (harald)
- Don't clean up modules.* so aggressively (harald)
2013-03-11 13:41:56 -04:00
Peter Jones
a10345813c Add --debug style logging (for both success and failures) to /var/log/grubby
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-02-20 11:07:13 -05:00
Dennis Gilmore
24e2f46051 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 18:34:28 -06:00
Peter Jones
5360404058 Revert test case for rhbz#742885 - it's a work in progress that isn't
ready yet.
2013-01-04 11:41:24 -05:00
Peter Jones
18940b4635 Use systemd vconsole.conf and locale.conf if present
Resolves rhbz#881908
- Avoid unnecessary stat calls (from Ville Skyttä)
  Resolves rhbz#741135
- Spelling fixes (Ville Skyttä)
- Add a test case for rhbz#742885
- Handle case-insensitive extlinux config files properly (from Johannes Weiner)
2013-01-04 10:58:55 -05:00
Peter Jones
1952dd25e7 Handle linuxefi initrd and removal correctly.
Resolves: rhbz#859285
2012-10-02 14:11:01 -04:00
Peter Jones
6ca16bfbe3 Don't accidentally migrate from linuxefi back to linux
Resolves: rhbz#859285
2012-09-26 17:34:12 -04:00
Peter Jones
bfdd281962 Change the way the kernel load address is determined for ARM U-Boot. 2012-09-21 15:34:51 -04:00
Peter Jones
64eecaa6e0 Update to 8.17
- Fixes a "make test" failure.
2012-08-08 17:02:57 -04:00