2009-06-24 18:20:08 +00:00
|
|
|
Name: grubby
|
2012-03-02 22:17:04 +00:00
|
|
|
Version: 8.9
|
|
|
|
Release: 1%{?dist}
|
2009-06-24 18:20:08 +00:00
|
|
|
Summary: Command line tool for updating bootloader configs
|
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://git.fedorahosted.org/git/grubby.git
|
|
|
|
# we only pull git snaps at the moment
|
|
|
|
# git clone git://git.fedorahosted.org/git/grubby.git
|
|
|
|
# git archive --format=tar --prefix=grubby-%{version}/ HEAD |bzip2 > grubby-%{version}.tar.bz2
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: pkgconfig glib2-devel popt-devel
|
|
|
|
BuildRequires: libblkid-devel
|
2011-01-24 14:03:16 +00:00
|
|
|
# for make test / getopt:
|
|
|
|
BuildRequires: util-linux-ng
|
2009-11-24 15:34:17 +00:00
|
|
|
%ifarch s390 s390x
|
2009-11-30 15:27:42 +00:00
|
|
|
Requires: s390utils-base
|
2009-11-24 15:34:17 +00:00
|
|
|
%endif
|
2012-02-07 17:15:03 +00:00
|
|
|
%ifarch %{arm}
|
|
|
|
Requires: uboot-tools
|
|
|
|
%endif
|
2009-06-24 18:20:08 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
grubby is a command line tool for updating and displaying information about
|
|
|
|
the configuration files for the grub, lilo, elilo (ia64), yaboot (powerpc)
|
|
|
|
and zipl (s390) boot loaders. It is primarily designed to be used from scripts
|
|
|
|
which install new kernels and need to find information about the current boot
|
|
|
|
environment.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
|
2012-02-07 17:15:03 +00:00
|
|
|
%ifarch %{arm}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/
|
|
|
|
install -p uboot $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/uboot
|
|
|
|
%endif
|
2009-06-24 18:20:08 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING
|
|
|
|
/sbin/installkernel
|
|
|
|
/sbin/new-kernel-pkg
|
|
|
|
/sbin/grubby
|
2010-04-14 21:10:52 +00:00
|
|
|
%{_mandir}/man8/*.8*
|
2012-02-07 17:15:03 +00:00
|
|
|
%ifarch %{arm}
|
2012-02-07 17:27:28 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/uboot
|
2012-02-07 17:15:03 +00:00
|
|
|
%endif
|
2009-06-24 18:20:08 +00:00
|
|
|
|
|
|
|
%changelog
|
2012-03-02 22:17:04 +00:00
|
|
|
* Fri Mar 02 2012 Peter Jones <pjones@redhat.com> - 8.9-1
|
|
|
|
- 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 21:47:07 +00:00
|
|
|
|
2012-02-07 17:15:03 +00:00
|
|
|
* Tue Feb 07 2012 Dennis Gilmore <dennis@ausil.us> - 8.8-3
|
|
|
|
- add uboot-tools requires on arm arches
|
|
|
|
- add uboot config file on arm arches
|
|
|
|
|
2012-01-13 04:22:30 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-12-20 23:14:25 +00:00
|
|
|
* Tue Dec 20 2011 Peter Jones <pjones@redhat.com> - 8.8-1
|
|
|
|
- Fix test cases from 8.7 to work on a system without /boot mounted.
|
|
|
|
|
2011-12-20 21:54:56 +00:00
|
|
|
* Tue Dec 20 2011 Peter Jones <pjones@redhat.com> - 8.7-1
|
|
|
|
- Add a --debug to try to help diagnose "No suitable template". (sandeen,pjones)
|
|
|
|
|
2011-12-19 14:23:08 +00:00
|
|
|
* Mon Dec 19 2011 Peter Jones <pjones@redhat.com> - 8.6-1
|
|
|
|
- Fix a "make test" errors introduced in 8.4-1
|
|
|
|
|
2011-12-17 19:04:55 +00:00
|
|
|
* Sat Dec 17 2011 Peter Jones <pjones@redhat.com> - 8.5-1
|
|
|
|
- Don't hardcode dracut path
|
|
|
|
Resolves: #768645
|
|
|
|
|
2011-12-08 20:46:26 +00:00
|
|
|
* Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 8.4-1
|
|
|
|
- Update to 8.4:
|
|
|
|
+ fix Loading... line for updated kernels
|
|
|
|
+ Add new '--default-title' feature
|
|
|
|
+ Add new '--default-index' feature
|
|
|
|
+ add feature for testing the output of a grubby command
|
|
|
|
+ Fix detection when comparing stage1 to MBR
|
|
|
|
+ do not link against glib-2.0
|
|
|
|
+ Don't crash if grubConfig not found
|
|
|
|
+ Adding extlinux support for new-kernel-pkg
|
|
|
|
+ Look for Debian / Ubuntu grub config files (#703260)
|
|
|
|
+ Make grubby recognize Ubuntu's spin of Grub2 (#703260)
|
|
|
|
|
2011-09-29 20:42:05 +00:00
|
|
|
* Thu Sep 29 2011 Peter Jones <pjones@redhat.com> - 8.3-1
|
|
|
|
- Fix new-kernel-pkg invocation of grubby for grub (patch from Mads Kiilerich)
|
|
|
|
Resolves: rhbz#725185
|
|
|
|
|
2011-09-14 19:55:58 +00:00
|
|
|
* Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 8.2-1
|
|
|
|
- Fixes for xen (from Michael Petullo)
|
|
|
|
Resolves: rhbz#658387
|
|
|
|
|
2011-07-22 20:37:58 +00:00
|
|
|
* Fri Jul 22 2011 Peter Jones <pjones@redhat.com> - 8.1-1
|
|
|
|
- Update to 8.1
|
|
|
|
- Fix miss-spelled variable name in new-kernel-pkg
|
|
|
|
|
2011-07-21 20:19:09 +00:00
|
|
|
* Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 8.0-1
|
|
|
|
- Add support for grub2.
|
|
|
|
|
2011-06-07 18:29:40 +00:00
|
|
|
* Tue Jun 07 2011 Brian C. Lane <bcl@redhat.com> - 7.0.18-1
|
|
|
|
- Bump version to 7.0.18 (bcl)
|
|
|
|
- Fixup new-kernel-pkg errors (#711493) (bcl)
|
|
|
|
|
2011-06-06 15:25:35 +00:00
|
|
|
* Mon Jun 06 2011 Peter Jones <pjones@redhat.com> - 7.0.17-1
|
|
|
|
- Fix references to wrong program name in new-kernel-pkg.8
|
|
|
|
Resolves: rhbz#663981
|
|
|
|
|
2011-02-09 06:24:43 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.16-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-24 14:03:16 +00:00
|
|
|
* Mon Jan 24 2011 Karsten Hopp <karsten@redhat.com> 7.0.16-2
|
|
|
|
- add BR utils-linux-ng for getopt
|
|
|
|
|
2010-07-13 18:44:39 +00:00
|
|
|
* Tue Jul 13 2010 Brian C. Lane <bcl@redhat.com> - 7.0.16-1
|
|
|
|
- Update to 7.0.16
|
|
|
|
- Add patch to check the return value of getuuidbydev
|
|
|
|
- Resolves: rhbz#592294
|
|
|
|
|
2010-04-14 21:24:19 +00:00
|
|
|
* Wed Apr 14 2010 Peter Jones <pjones@redhat.com> - 7.0.15-1
|
|
|
|
- Update to 7.0.15
|
2010-04-14 21:10:52 +00:00
|
|
|
- Add man pages for installkernel and new-kernel-pkg
|
|
|
|
Resolves: rhbz#529333
|
|
|
|
|
2010-04-14 21:24:19 +00:00
|
|
|
* Wed Apr 14 2010 Peter Jones <pjones@redhat.com> - 7.0.14-1
|
|
|
|
- Update to 7.0.14
|
|
|
|
|
2010-02-11 19:48:19 +00:00
|
|
|
* Thu Feb 11 2010 Peter Jones <pjones@redhat.com> - 7.0.13-1
|
|
|
|
- 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-08 21:13:55 +00:00
|
|
|
* Mon Feb 08 2010 Peter Jones <pjones@redhat.com> - 7.0.12-1
|
|
|
|
- compare rootdev using uuid instead of stat, for better btrfs support (josef)
|
|
|
|
Resolves: rhbz#530108
|
|
|
|
|
2010-02-08 19:13:18 +00:00
|
|
|
* Mon Feb 08 2010 Peter Jones <pjones@redhat.com> - 7.0.11-1
|
|
|
|
- Make it possible to update the initrd without any other change.
|
|
|
|
Related: rhbz#557922
|
|
|
|
|
2010-02-05 22:59:38 +00:00
|
|
|
* Fri Feb 05 2010 Peter Jones <pjones@redhat.com> - 7.0.10-1
|
2010-02-05 22:43:02 +00:00
|
|
|
- Make --update able to add an initramfs.
|
|
|
|
Related: rhbz#557922
|
|
|
|
|
2009-11-30 15:27:42 +00:00
|
|
|
* Mon Nov 30 2009 Peter Jones <pjones@redhat.com> - 7.0.9-3
|
|
|
|
- Use s390utils-base as the s390 dep, not s390utils
|
|
|
|
Related: rhbz#540565
|
|
|
|
|
2009-11-24 15:34:17 +00:00
|
|
|
* Tue Nov 24 2009 Peter Jones <pjones@redhat.com> - 7.0.9-2
|
|
|
|
- Add s390utils dep when on s390, since new-kernel-package needs it.
|
|
|
|
Resolves: rhbz#540565
|
|
|
|
|
2009-10-30 18:15:53 +00:00
|
|
|
* Fri Oct 30 2009 Peter Jones <pjones@redhat.com> - 7.0.9-1
|
|
|
|
- Add support for dracut to installkernel (notting)
|
|
|
|
|
2009-10-01 08:13:23 +00:00
|
|
|
* Thu Oct 1 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.8-1
|
|
|
|
- Stop using nash
|
|
|
|
|
2009-09-11 20:12:49 +00:00
|
|
|
* Fri Sep 11 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.7-1
|
|
|
|
- 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 18:34:41 +00:00
|
|
|
* Fri Sep 11 2009 Peter Jones <pjones@redhat.com> - 7.0.6-1
|
|
|
|
- Fix test case breakage from 7.0.5 (rstrode)
|
|
|
|
|
2009-09-11 15:37:37 +00:00
|
|
|
* Fri Sep 11 2009 Peter Jones <pjones@redhat.com> - 7.0.5-1
|
2009-09-11 18:34:41 +00:00
|
|
|
- Add support for plymouth as a second initrd. (rstrode)
|
2009-09-11 15:37:37 +00:00
|
|
|
Resolves: rhbz#520515
|
|
|
|
|
2009-09-09 19:51:30 +00:00
|
|
|
* Wed Sep 09 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.4-1
|
|
|
|
- Add --dracut cmdline argument for %post generation of dracut initrd
|
|
|
|
|
2009-08-26 09:53:04 +00:00
|
|
|
* Wed Aug 26 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.3-1
|
|
|
|
- Silence error when no /etc/sysconfig/keyboard (#517187)
|
|
|
|
|
2009-08-07 16:01:42 +00:00
|
|
|
* Fri Aug 7 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.2-1
|
|
|
|
- Add --add-dracut-args new-kernel-pkg cmdline option
|
|
|
|
|
2009-07-25 01:32:04 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-17 14:02:58 +00:00
|
|
|
* Fri Jul 17 2009 Jeremy Katz <katzj@redhat.com> - 7.0.1-1
|
|
|
|
- Fix blkid usage (#124246)
|
|
|
|
|
2009-06-24 18:20:08 +00:00
|
|
|
* Wed Jun 24 2009 Jeremy Katz <katzj@redhat.com> - 7.0-1
|
|
|
|
- BR libblkid-devel now instead of e2fsprogs-devel
|
|
|
|
- Add bits to switch to using dracut for new-kernel-pkg
|
|
|
|
|
|
|
|
* Wed Jun 3 2009 Jeremy Katz <katzj@redhat.com> - 6.0.86-2
|
|
|
|
- add instructions for checking out from git
|
|
|
|
|
|
|
|
* Tue Jun 2 2009 Jeremy Katz <katzj@redhat.com> - 6.0.86-1
|
|
|
|
- initial build after splitting out from mkinitrd
|
|
|
|
|