Commit Graph

158 Commits

Author SHA1 Message Date
Javier Martinez Canillas 6a009b55ac
Make installkernel to use kernel-install scripts on BLS configuration
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-08-11 21:33:16 +02:00
Javier Martinez Canillas 5e1de1e87d
Fix grubby wrapper paths
Resolves: rhbz#1607981

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-07-25 09:33:43 +02:00
Peter Jones 1f933303c9 Fix permissions on /usr/sbin/grubby
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-07-24 13:44:00 -04:00
Peter Jones 87beb89e75 Make this like the f28 package.
We need to cary this in f29 until we have the anaconda patches in and
get grubby out of the default install, so we'll have BLS configs and not
need grubby to update them.

Signed-off-by: Peter Jones <pjones@redhat.com>
2018-07-18 13:54:22 -04:00
Peter Jones 214bb840df Move grubby-bls to grubby and obsolete the old grubby package
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-07-18 13:44:06 -04:00
Javier Martinez Canillas 19db5c489a
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 20:05:41 +02:00
Fedora Release Engineering a7316b242a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 04:33:50 +00:00
Javier Martinez Canillas b92599df6e Switch zipl config to BLS configuration on %postun for s390x
When grubby is not installed, the zipl configuration has to be changed
to use the BLS configuration files.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-06-14 10:26:39 -04:00
Peter Jones 5d5938c58d Fix an old changelog entry rpmlint was complaining about
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-06-14 10:26:21 -04:00
Rafael dos Santos a631596958 Use Fedora standard linker flags
- Resolves rhbz#1543502

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2018-05-29 15:21:54 +02:00
Javier Martinez Canillas eedee25066 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:10:26 -04:00
Javier Martinez Canillas c8349748f2 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 13:50:22 -04:00
Nathaniel McCallum 8a91c9f29b Add support for /boot on btrfs 2018-03-05 13:52:23 -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
Peter Jones bc96cb63c8 Update to 8.16
- Handle "linuxefi" directive on grub2/uefi machines.
2012-08-08 16:48:16 -04:00
Dennis Gilmore 6e0c65afeb - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 05:18:23 -05:00
Peter Jones eb38b677ea Update to 8.15
- Revert dirname change from 8.13; it was wrong.
2012-06-25 10:19:45 -04:00
Peter Jones a376a8720c Update to 8.14 to fix a build problem. 2012-06-14 13:21:49 -04:00
Peter Jones 41ada0d60b Update to 8.13
- Add some more ARM tweaks (dmartin)
- Better support for other distros (crosa)
2012-06-14 12:49:00 -04:00
d.marlin 0352db6744 Add a default (empty) boot.scr file for ARM.
Signed-off-by: David A. Marlin <dmarlin@redhat.com>
2012-06-14 12:49:00 -04:00
Peter Jones d3449618fe Support UBOOT_IMGADDR override on ARM (blc) 2012-06-14 12:49:00 -04:00
Peter Jones 94529bf3fb Update to 8.12
- Preserve trailing indentation when splitting line elements (mads)
  Resolves: rhbz#742720
- Pick last device mounted on / (pjones,bcl)
  Related: rhbz#820340
  Related: rhbz#820351
2012-05-31 09:55:36 -04:00
Peter Jones 7cb2f55b29 Update to 8.11
Resolves: rhbz#805310
2012-03-21 14:48:05 -04:00
Peter Jones fe70e86f8c Update to 8.10
- Use "isquote" where appropriate
- Make --remove-kenrel support titles in grub2 (jianzhong.huang)
- Use grub2 if it's there on ppc.
2012-03-15 12:34:26 -04:00
Peter Jones a1dfda3852 Refactor grub2 title extraction, making it a function (Cleber Rosa)
- Include prefix when printing kernel information (Cleber Rosa)
- Implement support for "default saved" for grub2 (Cleber Rosa)
- Try to display title when printing information with '--info' (Cleber Rosa)
- new-kernel-pkg fails to find U-Boot. (D. Marlin)
- Add support to new-kernel-pkg to recognize ARCH == armv5tel needed for Kir
  (D.Marlin)
- Include a / when one is missing in paths (#769641)
- Fix hard coded paths so kernel's "make install" will DTRT.
- Fix endswith() to correctly test its input for validity.
2012-03-02 17:17:04 -05:00
Peter Jones dbb2308837 Add support for armv5tel. 2012-03-02 16:47:07 -05:00
Dennis Gilmore 302c25e80d mark the uboot file as %config(noreplace) 2012-02-07 11:27:28 -06:00
Dennis Gilmore f62abfe143 add uboot-tools requires on arm arches
- add uboot config file on arm arches
2012-02-07 11:15:03 -06:00
Dennis Gilmore 7698149da0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 22:22:30 -06:00
Peter Jones 992cb97b02 Fix test cases from 8.7 to work on a system without /boot mounted. 2011-12-20 18:14:25 -05:00
Peter Jones 9d9412e554 Update to grubby-8.7 2011-12-20 16:54:56 -05:00
Peter Jones c021fe6f32 Fix a "make test" errors introduced in 8.4-1 2011-12-19 09:23:08 -05:00
Peter Jones afb5036256 Don't hardcode dracut path
Resolves: #768645
2011-12-17 14:04:55 -05:00
Adam Williamson 203e662179 new release 8.4 2011-12-08 12:46:26 -08:00
Peter Jones 1ad83f1ab7 Fix new-kernel-pkg invocation of grubby for grub (patch from Mads Kiilerich)
Resolves: rhbz#725185
2011-09-29 16:42:19 -04:00
Peter Jones 8bea9bd242 Fixes for xen (from Michael Petullo)
Resolves: rhbz#658387
2011-09-14 15:55:58 -04:00
Peter Jones bd7a6ca65f Update to 8.1
Fix miss-spelled variable name in new-kernel-pkg
2011-07-22 16:37:58 -04:00
Peter Jones e98683f7ea Add support for grub2. 2011-07-21 16:19:09 -04:00
Brian C. Lane 0305287871 - Bump version to 7.0.18 (bcl)
- Fixup new-kernel-pkg errors (#711493) (bcl)
2011-06-07 11:29:40 -07:00
Peter Jones 8518bc6532 Update to 7.0.17-1 2011-06-06 11:25:35 -04:00
Dennis Gilmore ddaad0587c - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 00:24:43 -06:00
Karsten Hopp bd6fd92b76 add BR utils-linux-ng for getopt 2011-01-24 15:03:16 +01:00
Brian C. Lane 604a49698a - Update to 7.0.16
- Add patch to check the return value of getuuidbydev
- Resolves: rhbz#592294
2010-07-13 18:44:39 +00:00
Peter Jones 5bc936b9cc - Update to 7.0.15
- Add man pages for installkernel and new-kernel-pkg Resolves: rhbz#529333
2010-04-14 21:24:19 +00:00
Peter Jones 17d5f29ea4 - Update to 7.0.14
- Add man pages for installkernel and new-kernel-pkg Resolves: rhbz#529333
2010-04-14 21:10:52 +00:00
Peter Jones f515ba7a5a - Strip boot partition prefix from initrd path if present during --update.
Related: rhbz#557922
- add host only support for local kernel compiles (airlied)
2010-02-11 19:48:19 +00:00
Peter Jones b7db526663 - compare rootdev using uuid instead of stat, for better btrfs support
(josef) Resolves: rhbz#530108
2010-02-08 21:13:55 +00:00
Peter Jones 2a3cb67e6f - Make it possible to update the initrd without any other change. Related:
rhbz#557922
2010-02-08 19:13:18 +00:00
Peter Jones 79918d5ad9 - Make --update able to add an initramfs. Related: rhbz#557922 2010-02-05 22:59:38 +00:00
Peter Jones 2dc2064988 - Make --update able to add an initramfs. Related: rhbz#557922 2010-02-05 22:43:02 +00:00
Peter Jones ab7ba063ed - Use s390utils-base as the s390 dep, not s390utils Related: rhbz#540565 2009-11-30 15:27:42 +00:00
Peter Jones b3b4435394 - Add s390utils dep when on s390, since new-kernel-package needs it.
Resolves: rhbz#540565
2009-11-24 15:34:17 +00:00
Peter Jones 4eebdab8bc - Add support for dracut to installkernel (notting) 2009-10-30 18:15:53 +00:00
Hans de Goede e22efb9666 - Stop using nash 2009-10-01 08:13:23 +00:00
Hans de Goede 149e660189 - Remove writing rd_plytheme=$theme to kernel args in dracut mode (hansg)
- Add a couple of test cases for extra initrds (rstrode)
- Allow tmplLine to be NULL in getInitrdVal (rstrode)
2009-09-11 20:12:49 +00:00