24fce8
Name: grubby
24fce8
Version: 8.40
1c6adf
Release: 41%{?dist}
24fce8
Summary: Command line tool for updating BootLoaderSpec files
24fce8
License: GPLv2+
24fce8
URL: https://github.com/rhinstaller/grubby
24fce8
# we only pull git snaps at the moment
24fce8
# git clone git@github.com:rhinstaller/grubby.git
24fce8
# git archive --format=tar --prefix=grubby-%%{version}/ HEAD |bzip2 > grubby-%%{version}.tar.bz2
24fce8
# Source0: %%{name}-%%{version}.tar.bz2
24fce8
Source0: https://github.com/rhboot/grubby/archive/%{version}-1.tar.gz
24fce8
Source1: grubby-bls
24fce8
Source2: grubby.in
24fce8
Source3: installkernel.in
24fce8
Source4: installkernel-bls
1c6adf
Source5: grubby.8
24fce8
Patch0001: 0001-Set-envFile-from-env-when-bootloader-is-not-specifie.patch
24fce8
Patch0002: 0002-add-README-with-description-of-the-test-suite.patch
24fce8
Patch0003: 0003-Fix-some-stray-whitespace.patch
24fce8
Patch0004: 0004-grubby-properly-handle-mixed-and-and-nested-quotes.patch
24fce8
Patch0005: 0005-Don-t-put-spaces-in-debug-entries-on-zipl-platforms.patch
24fce8
Patch0006: 0006-Drop-SEGV-handler.patch
24fce8
Patch0007: 0007-Add-a-bunch-of-tests-for-various-default-kernel-titl.patch
24fce8
Patch0008: 0008-Emit-better-systemd-debug-settings-on-debug-entries.patch
24fce8
Patch0009: 0009-Add-a-new-makefile-target-that-does-everything-neede.patch
24fce8
Patch0010: 0010-Make-the-grub1-defaultkernel-test-more-reliable.patch
24fce8
Patch0011: 0011-Don-t-leak-from-one-extractTitle-call.patch
24fce8
Patch0012: 0012-ppc64le-sync-grub.cfg-changes-to-disk-1212114.patch
24fce8
Patch0013: 0013-Make-it-possible-to-run-test.sh-verbose-from-the-mak.patch
24fce8
Patch0014: 0014-Lindent-dammit.patch
24fce8
Patch0015: 0015-Make-SET_VARIABLE-get-handled-individually-in-GetNex.patch
24fce8
Patch0016: 0016-Specify-bootloader-directory-in-the-test-case-for-11.patch
24fce8
Patch0017: 0017-Fix-dracut-cmdline-options-and-conditionalize-them-t.patch
24fce8
Patch0018: 0018-Add-missing-space.patch
24fce8
Patch0019: 0019-Always-do-the-rungrubby-debug-after-the-normal-kerne.patch
24fce8
Patch0020: 0020-grubby-add-set-index-to-specify-which-position-to-ad.patch
24fce8
Patch0021: 0021-Fix-thinko-on-set-index-naming.patch
24fce8
Patch0022: 0022-Add-a-test-case-for-a-failure-rmarshall-saw-in-set-i.patch
24fce8
Patch0023: 0023-Ensure-command-line-updates-also-honor-set-index.patch
24fce8
Patch0024: 0024-Change-debug-entry-insertion-order-rhbz-1285601.patch
24fce8
Patch0025: 0025-Reorganize-grubby-man-page-1232168.patch
24fce8
Patch0026: 0026-Update-grubby-man-page-contents-bz1232168.patch
24fce8
Patch0027: 0027-Fix-inline-help-typo-1232168.patch
24fce8
Patch0028: 0028-More-edits-for-grubby.8-1232168.patch
24fce8
Patch0029: 0029-Minor-man-page-changes-1232168.patch
24fce8
Patch0030: 0030-Rename-setDefaultImage-variables.patch
24fce8
Patch0031: 0031-Add-index-constant-definitions-instead-of-open-coded.patch
24fce8
Patch0032: 0032-Track-configuration-modifications.patch
24fce8
Patch0033: 0033-Fix-some-test-cases-where-the-resulting-default-inde.patch
24fce8
Patch0034: 0034-Don-t-assume-make-default-just-because-set-index-was.patch
24fce8
Patch0035: 0035-Clarify-set-default-index-in-the-man-page.patch
24fce8
Patch0036: 0036-Add-multi-entry-removal-test-1285601.patch
24fce8
Patch0037: 0037-Fix-findTemplate-index-logic-1285601.patch
24fce8
Patch0038: 0038-Write-correct-default-to-environment-1285601.patch
24fce8
Patch0039: 0039-Initialize-variable-for-ppc-environment-1285601.patch
24fce8
Patch0040: 0040-Fix-initial-saved_entry-read-issue-1285601.patch
24fce8
Patch0041: 0041-Add-s390-s390x-info-test-1285601.patch
24fce8
Patch0042: 0042-Fix-info-for-s390x-s390-1285601.patch
24fce8
Patch0043: 0043-Add-s390-s390x-set-default-index-test-1285601.patch
24fce8
Patch0044: 0044-Fix-setDefaultImage-for-s390-s390x-1285601.patch
24fce8
Patch0045: 0045-Be-more-thorough-about-flushing-our-config-file-when.patch
24fce8
Patch0046: 0046-Fix-incorrect-test-case-and-remove-args-with-a-value.patch
24fce8
Patch0047: 0047-grubby-Make-sure-configure-BOOTLOADER-variables-are-.patch
24fce8
Patch0048: 0048-remove-the-old-crufty-u-boot-support.patch
24fce8
Patch0049: 0049-Change-return-type-in-getRootSpecifier.patch
24fce8
Patch0050: 0050-Add-btrfs-subvolume-support-for-grub2.patch
24fce8
Patch0051: 0051-Add-tests-for-btrfs-support.patch
24fce8
Patch0052: 0052-Use-system-LDFLAGS.patch
24fce8
Patch0053: 0053-Honor-sbindir.patch
24fce8
Patch0054: 0054-Make-installkernel-to-use-kernel-install-scripts-on-.patch
24fce8
Patch0055: 0055-Add-usr-libexec-rpm-sort.patch
24fce8
Patch0056: 0056-Improve-man-page-for-info-option.patch
24fce8
24fce8
BuildRequires: gcc
24fce8
BuildRequires: pkgconfig glib2-devel popt-devel 
24fce8
BuildRequires: libblkid-devel git-core sed make
24fce8
# for make test / getopt:
24fce8
BuildRequires: util-linux-ng
24fce8
BuildRequires: rpm-devel
24fce8
%ifarch aarch64 i686 x86_64 %{power64}
24fce8
BuildRequires: grub2-tools-minimal
24fce8
Requires: grub2-tools-minimal
24fce8
Requires: grub2-tools
24fce8
%endif
24fce8
%ifarch s390 s390x
24fce8
Requires: s390utils-base
24fce8
%endif
24fce8
Requires: findutils
24fce8
Requires: util-linux
24fce8
24fce8
%description
24fce8
This package provides a grubby compatibility script that manages
24fce8
BootLoaderSpec files and is meant to only be used for legacy compatibility
24fce8
users with existing grubby users.
24fce8
24fce8
%prep
24fce8
%setup -q -n grubby-%{version}-1
24fce8
24fce8
git init
24fce8
git config user.email "noone@example.com"
24fce8
git config user.name "no one"
24fce8
git add .
24fce8
git commit -a -q -m "%{version} baseline"
24fce8
git branch start
24fce8
git am %{patches} 
24fce8
git config --unset user.email
24fce8
git config --unset user.name
24fce8
24fce8
%build
24fce8
%set_build_flags
24fce8
make %{?_smp_mflags} LDFLAGS="${LDFLAGS}"
24fce8
24fce8
%ifnarch aarch64 %{arm}
24fce8
%check
24fce8
make test
24fce8
%endif
24fce8
24fce8
%install
24fce8
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} sbindir=%{_sbindir} libexecdir=%{_libexecdir}
24fce8
24fce8
mkdir -p %{buildroot}%{_libexecdir}/{grubby,installkernel}/ %{buildroot}%{_sbindir}/
24fce8
mv -v %{buildroot}%{_sbindir}/grubby %{buildroot}%{_libexecdir}/grubby/grubby
24fce8
mv -v %{buildroot}%{_sbindir}/installkernel %{buildroot}%{_libexecdir}/installkernel/installkernel
1c6adf
install -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/grubby/
1c6adf
install -m 0755 %{SOURCE4} %{buildroot}%{_libexecdir}/installkernel/
24fce8
sed -e "s,@@LIBEXECDIR@@,%{_libexecdir}/grubby,g" %{SOURCE2} \
24fce8
	> %{buildroot}%{_sbindir}/grubby
24fce8
sed -e "s,@@LIBEXECDIR@@,%{_libexecdir}/installkernel,g" %{SOURCE3} \
24fce8
	> %{buildroot}%{_sbindir}/installkernel
1c6adf
rm %{buildroot}%{_mandir}/man8/grubby.8*
1c6adf
install -m 0644 %{SOURCE5} %{buildroot}%{_mandir}/man8/
24fce8
24fce8
%package deprecated
24fce8
Summary: Legacy command line tool for updating bootloader configs
24fce8
Conflicts:	%{name} <= 8.40-13
24fce8
24fce8
%description deprecated
24fce8
This package provides deprecated, legacy grubby.  This is for temporary
24fce8
compatibility only.
24fce8
24fce8
grubby is a command line tool for updating and displaying information about
24fce8
the configuration files for the grub, lilo, elilo (ia64), yaboot (powerpc)
24fce8
and zipl (s390) boot loaders. It is primarily designed to be used from
24fce8
scripts which install new kernels and need to find information about the
24fce8
current boot environment.
24fce8
24fce8
%files
24fce8
%{!?_licensedir:%global license %%doc}
24fce8
%license COPYING
24fce8
%dir %{_libexecdir}/grubby
24fce8
%dir %{_libexecdir}/installkernel
24fce8
%attr(0755,root,root) %{_libexecdir}/grubby/grubby-bls
24fce8
%attr(0755,root,root) %{_libexecdir}/grubby/rpm-sort
24fce8
%attr(0755,root,root) %{_sbindir}/grubby
24fce8
%attr(0755,root,root) %{_libexecdir}/installkernel/installkernel-bls
24fce8
%attr(0755,root,root) %{_sbindir}/installkernel
24fce8
%{_mandir}/man8/[gi]*.8*
24fce8
24fce8
%files deprecated
24fce8
%{!?_licensedir:%global license %%doc}
24fce8
%license COPYING
24fce8
%dir %{_libexecdir}/grubby
24fce8
%dir %{_libexecdir}/installkernel
24fce8
%attr(0755,root,root) %{_libexecdir}/grubby/grubby
24fce8
%attr(0755,root,root) %{_libexecdir}/installkernel/installkernel
24fce8
%attr(0755,root,root) %{_sbindir}/grubby
24fce8
%attr(0755,root,root) %{_sbindir}/installkernel
24fce8
%attr(0755,root,root) %{_sbindir}/new-kernel-pkg
24fce8
%{_mandir}/man8/*.8*
24fce8
24fce8
%changelog
1c6adf
* Thu May 07 2020 Javier Martinez Canillas <javierm@redhat.com> - 8.40-41
1c6adf
- grubby-bls: only attempt to update the cmdline if was already set
1c6adf
  Related: rhbz#1152027
1c6adf
1c6adf
* Wed May 06 2020 Javier Martinez Canillas <javierm@redhat.com> - 8.40-40
1c6adf
- Fix installed man page file mode bits
1c6adf
  Related: rhbz#1812065
1c6adf
1c6adf
* Wed Apr 29 2020 Javier Martinez Canillas <javierm@redhat.com> - 8.40-39
1c6adf
- grubby-bls: strip only /boot from paths
1c6adf
  Resolves: rhbz#1738238
1c6adf
- Make grubby to also update GRUB_CMDLINE_LINUX in /etc/default/grub
1c6adf
  Resolves: rhbz#1152027
1c6adf
- grubby-bls: fix corner case when a kernel param value contains a '='
1c6adf
  Resolves: rhbz#1787584
1c6adf
- grubby-bls: update man page to match options in current wrapper script
1c6adf
  Resolves: rhbz#1812065
1c6adf
- grubby-bls: always escape the delimiter character used in sed commands
1c6adf
  Related: rhbz#1787584
1c6adf
- grubby-bls: add a --no-etc-grub-update option
1c6adf
  Related: rhbz#1152027
1c6adf
69c48d
* Thu Nov 28 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-38
69c48d
- grubby-bls: don't print rpm-sort error messages
69c48d
  Resolves: rhbz#1731924
69c48d
- grubby-bls: remove -o option and support -c for ppc64le grub config
69c48d
  Resolves: rhbz#1758598
69c48d
- grubby-bls: fix logic to check if the kernelopts var is defined in a BLS
69c48d
  Resolves: rhbz#1726514
69c48d
- grubby-bls: don't update grubenv when generating grub.cfg for ppc64le
69c48d
  Related: rhbz#1726514
69c48d
24fce8
* Mon May 20 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-37
24fce8
- grubby-bls: unset default entry if is the one being removed
24fce8
  Resolves: rhbz#1668329
24fce8
- grubby-bls: error if args or remove-args is used without update-kernel
24fce8
  Related: rhbz#1690765
24fce8
- grubby-bls: make --update-kernel ALL to update kernelopts var in grubenv
24fce8
  Resolves: rhbz#1690765
24fce8
- grubby-bls: fix --add-kernel not working when using the --args option
24fce8
  Related: rhbz#1690765
24fce8
24fce8
* Mon May 06 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-36
24fce8
- grubby-bls: show absolute path when printing error about incorrect param
24fce8
  Related: rhbz#1706091
24fce8
24fce8
* Fri May 03 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-35
24fce8
- Use mountpoint command to check whether /boot is a mount point
24fce8
  Resolves: rhbz#1706091
24fce8
24fce8
* Wed Dec 19 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-34
24fce8
- grubby-bls: expand all variables in options field when updating it
24fce8
  Resolves: rhbz#1660700
24fce8
24fce8
* Tue Dec 18 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-33
24fce8
- Correctly set LDFLAGS to include hardened flags (pjones)
24fce8
  Related: rhbz#1654936
24fce8
24fce8
* Tue Dec 04 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-32
24fce8
- grubby-bls: lookup default entry by either id or title on grub2
24fce8
  Related: rhbz#1654936
24fce8
24fce8
* Fri Nov 23 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-31
24fce8
- grubby-bls: allow to specify the same kernel param multiple times
24fce8
  Resolves: rhbz#1652486
24fce8
- grubby-bls: expand kernel options if these are environment variables
24fce8
  Resolves: rhbz#1649785
24fce8
- grubby-bls: always generate the BLS snippets when adding new entries
24fce8
  Resolves: rhbz#1653365
24fce8
- Improve man page for --info option (jstodola)
24fce8
  Resolves: rhbz#1651672
24fce8
24fce8
* Tue Nov 20 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-30
24fce8
- grubby-bls: also print the absolute path in the --default-kernel option
24fce8
  Resolves: rhbz#1649778
24fce8
24fce8
* Mon Nov 19 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-29
24fce8
- grubby-bls: print the absolute kernel and initramfs images paths
24fce8
  Resolves: rhbz#1649778
24fce8
- grubby-bls: make info print the root parameter if is present in cmdline
24fce8
  Resolves: rhbz#1649791
24fce8
24fce8
* Mon Nov 12 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-28
24fce8
- grubby-bls: use title field instead of version for zipl default entry
24fce8
  Related: rhbz#1645200
24fce8
24fce8
* Thu Nov 08 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-27
24fce8
- installkernel-bls: remove unnecessary check for GRUB_ENABLE_BLSCFG=true
24fce8
  Resolves: rhbz#1647721
24fce8
24fce8
* Mon Nov 05 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-26
24fce8
- grubby-bls: only compare using relative paths if /boot is a mount point
24fce8
  Resolves: rhbz#1642078
24fce8
24fce8
* Wed Oct 31 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-25
24fce8
- grubby-bls: fix --default-* options for s390x
24fce8
  Resolves: rhbz#1644608
24fce8
24fce8
* Fri Oct 26 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-24
24fce8
- grubby-bls: allow to add many BLS entries for the same kernel image
24fce8
  Resolves: rhbz#1634752
24fce8
24fce8
* Fri Oct 19 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-23
24fce8
- grubby-bls: use ~debug instead of -debug as suffix to sort correctly
24fce8
  Related: rhbz#1638103
24fce8
24fce8
* Fri Oct 19 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-22
24fce8
- grubby-bls: grubby-bls: use id instead of title to get the default entry
24fce8
  Resolves: rhbz#1638103
24fce8
24fce8
* Wed Oct 17 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-21
24fce8
- grubby-bls: escape delimiter character before replacing the options field
24fce8
  Resolves: rhbz#1640017
24fce8
24fce8
* Tue Oct 16 2018 Peter Jones <pjones@redhat.com> - 8.40-20
24fce8
- Add missing patches from RHEL-7 for grubby-deprecated.
24fce8
  Resolves: rhbz#1561919
24fce8
- grubby-bls: make a copy of the cmdline if is modified for an entry
24fce8
  Resolves: rhbz#1629054
24fce8
24fce8
* Mon Oct 15 2018 Peter Jones <pjones@redhat.com> - 8.40-19
24fce8
- grubby-bls: Make grubby-bls sort everything the same way grub2 does
24fce8
  Resolves: rhbz#1638103
24fce8
- grubby-bls: Consistently use the filename as the bls id
24fce8
  Related: rhbz#1638103
24fce8
- grubby-bls: check if entry exists before attempting to print its info
24fce8
  Resolves: rhbz#1634712
24fce8
24fce8
* Thu Oct 11 2018 Peter Jones <pjones@redhat.com> - 8.40-18
24fce8
- grubby-bls: make "id" be the filename, and include it in --info=ALL
24fce8
  Related: rhbz#1638103
24fce8
24fce8
* Fri Oct 05 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-17
24fce8
- grubby-bls should only check if kernel exists and not if was installed
24fce8
  Resolves: rhbz#1634740
24fce8
- Use ! instead of , as sed delimiter in grubby-bls script
24fce8
  Resolves: rhbz#1634744
24fce8
- Print information about the entry set as default
24fce8
  Resolves: rhbz#1636180
24fce8
24fce8
* Thu Oct 04 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-16
24fce8
- Make grubby-bls execute grub2-mkconfig on ppc64
24fce8
  Resolves: rhbz#1636039
24fce8
24fce8
* Fri Sep 28 2018 Peter Jones <pjones@redhat.com> - 8.40-15
24fce8
- Install installkernel-bls here as well, not just in the grub2 package,
24fce8
  since s390x doesn't have grubby packages.
24fce8
  Related: rhbz#1619344
24fce8
24fce8
* Fri Sep 28 2018 Peter Jones <pjones@redhat.com> - 8.40-14
24fce8
- Re-enable debuginfo generation.
24fce8
  Related: rhbz#1619344
24fce8
24fce8
* Fri Aug 31 2018 Peter Jones <pjones@redhat.com> - 8.40-13
24fce8
- Make the temporary config wrapper be what "grubby" contains, and put
24fce8
  traditional grubby in grubby-deprecated.
24fce8
24fce8
* Tue Apr 10 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-12
24fce8
- Use .rpmsave as backup suffix when switching to BLS configuration
24fce8
24fce8
* Fri Apr 06 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-11
24fce8
- Switch grub2 config to BLS configuration on %%postun
24fce8
24fce8
* Sat Mar 03 2018 Nathaniel McCallum <npmccallum@redhat.com> - 8.40-10
24fce8
- Add support for /boot on btrfs subvolumes
24fce8
24fce8
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-9
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
24fce8
24fce8
* Wed Jan 24 2018 Peter Robinson <pbrobinson@fedoraproject.org> 8.40-8
24fce8
- Drop u-boot uImage generation on ARMv7
24fce8
- Minor cleanups
24fce8
24fce8
* Tue Sep 12 2017 Peter Jones <pjones@redhat.com> - 8.40-7
24fce8
- Explicitly require grub2-tools on platforms that need grub2-editenv
24fce8
- Minor packaging cleanups
24fce8
24fce8
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-6
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
24fce8
24fce8
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-5
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
24fce8
24fce8
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-4
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
24fce8
24fce8
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-3
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
24fce8
24fce8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.40-2
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
24fce8
24fce8
* Wed Apr 15 2015 Peter Jones <pjones@redhat.com> - 8.40-1
24fce8
- Update to 8.40
24fce8
- More work on the thing that went to testing in 8.39
24fce8
  Resolves: rhbz#1211887
24fce8
24fce8
* Tue Apr 14 2015 Peter Jones <pjones@redhat.com> - 8.39-1
24fce8
- Update to 8.39
24fce8
- Fix title extraction with some config file types
24fce8
  Resolves: rhbz#1204353
24fce8
  Resolves: rhbz#1204888
24fce8
  Resolves: rhbz#1206943
24fce8
24fce8
* Tue Apr 14 2015 Peter Jones <pjones@redhat.com> - 8.38-1
24fce8
- Update to 8.38
24fce8
- Fix title extraction with some config file types
24fce8
  Resolves: rhbz#1204353
24fce8
  Resolves: rhbz#1204888
24fce8
  Resolves: rhbz#1206943
24fce8
24fce8
* Tue Mar 17 2015 Peter Jones <pjones@redhat.com> - 8.37-1
24fce8
- Update to 8.37
24fce8
- Fix test case from 8.35 on ppc64
24fce8
  Resolves: rhbz#1202876
24fce8
24fce8
* Thu Nov 13 2014 Peter Jones <pjones@redhat.com> - 8.35-9
24fce8
- Disable "make check" on arm builds; right now the test suite is broken
24fce8
  there and raises false positives constantly.
24fce8
24fce8
* Mon Oct 27 2014 Peter Jones <pjones@redhat.com> - 8.35-8
24fce8
- Treat kernel and kernel-core as identical in terms of --make-default
24fce8
  Resolves: rhbz#1141414
24fce8
24fce8
* Thu Oct 16 2014 Peter Jones <pjones@redhat.com> - 8.35-7
24fce8
- Revert "debug" image creation for now
24fce8
  Resolves: rhbz#1153410
24fce8
- Fix minor quoting errors in dtbdir code
24fce8
  Resolves: rhbz#1088933
24fce8
24fce8
* Wed Oct 15 2014 Peter Jones <pjones@redhat.com> - 8.35-6
24fce8
- Update grubby to support device tree options for arm.  Again.
24fce8
  Resolves: rhbz#1088933
24fce8
24fce8
* Fri Sep 26 2014 Peter Jones <pjones@redhat.com> - 8.35-5
24fce8
- See if what people are seeing in 1141414 is actually 957681
24fce8
  Related: rhbz#957681
24fce8
  Related: rhbz#1141414
24fce8
24fce8
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.35-4
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
24fce8
24fce8
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 8.35-3
24fce8
- fix license handling
24fce8
24fce8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.35-2
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
24fce8
24fce8
* Wed May 21 2014 Peter Jones <pjones@redhat.com> - 8.35-1
24fce8
- Fix a minor test case error that causes koji builds to fail.
24fce8
  Related: rhbz#1096358
24fce8
24fce8
* Wed May 21 2014 Peter Jones <pjones@redhat.com> - 8.34-1
24fce8
- Make grub2 "--copy-default --add-kernel=foo --initrd=bar" work when default
24fce8
  has no initrd line.
24fce8
  Resolves: rhbz#1099627
24fce8
  Related: rhbz#1096358
24fce8
24fce8
* Tue Apr 01 2014 Peter Jones <pjones@redhat.com> - 8.33-1
24fce8
- Fix --devtree test in new-kernel-pkg even harder (#1082318)
24fce8
24fce8
* Mon Mar 31 2014 Peter Jones <pjones@redhat.com> - 8.32-1
24fce8
- Fix --devtree test in new-kernel-pkg (#1082318)
24fce8
- Fix aarch64 #define test.
24fce8
24fce8
* Fri Mar 28 2014 Peter Jones <pjones@redhat.com> - 8.31-1
24fce8
- Update to 8.31
24fce8
- Fold in patches from Fedora and RHEL 7 trees
24fce8
24fce8
* Mon Jan 20 2014 Lubomir Rintel <lkundrak@v3.sk> - 8.28-2
24fce8
- Fix extlinux default
24fce8
24fce8
* Fri Aug 02 2013 Peter Jones <pjones@redhat.com> - 8.28-1
24fce8
- More work on grub's "saved_entry" system. 
24fce8
  Resolves: rhbz#768106
24fce8
  Resolves: rhbz#736188
24fce8
24fce8
* Tue Jul 30 2013 Peter Jones <pjones@redhat.com> - 8.27-1
24fce8
- Make grubby understand grub's "saved_entry" system
24fce8
  Resolves: rhbz#768106
24fce8
  Resolves: rhbz#736188
24fce8
- BuildRequire grub2 on appropriate platforms, for the test suite.
24fce8
24fce8
* Fri Jun 07 2013 Dennis Gilmore <dennis@ausil.us> - 8.26-2
24fce8
- add patch to update extlinux.conf file on arm if it exists
24fce8
24fce8
* Fri May 10 2013 Peter Jones <pjones@redhat.com> - 8.26-1
24fce8
- Conditionally call arm-boot-config's boot.scr generator if available
24fce8
  Resolves: rhbz#952428
24fce8
24fce8
* Tue Apr 09 2013 Peter Jones <pjones@redhat.com> - 8.25-1
24fce8
- Error instead of segfaulting if we can't find any working config
24fce8
  Resolves: rhbz#912873
24fce8
  Resolves: rhbz#751608
24fce8
24fce8
* Tue Mar 19 2013 Peter Jones <pjones@redhat.com> - 8.24-1
24fce8
- Fix module remove code from Harald (#923441)
24fce8
24fce8
* Mon Mar 11 2013 Peter Jones <pjones@redhat.com> - 8.23-1
24fce8
- Update to 8.23
24fce8
- Fix empty root device in case of an empty /etc/fstab (lemenkov)
24fce8
- General refactoring and cleanup (harald)
24fce8
- Don't clean up modules.* so aggressively (harald)
24fce8
24fce8
* Wed Feb 20 2013 Peter Jones <pjones@redhat.com> - 8.22-3
24fce8
- Add --debug style logging (for both success and failures) to /var/log/grubby
24fce8
24fce8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.22-2
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
24fce8
24fce8
* Fri Jan 04 2013 Peter Jones <pjones@redhat.com> - 8.22-1
24fce8
- Revert test case for rhbz#742885 - it's a work in progress that isn't
24fce8
  ready yet.
24fce8
24fce8
* Fri Jan 04 2013 Peter Jones <pjones@redhat.com> - 8.21-1
24fce8
- Use systemd vconsole.conf and locale.conf if present
24fce8
  Resolves rhbz#881908
24fce8
- Avoid unnecessary stat calls (from Ville Skyttä)
24fce8
  Resolves rhbz#741135
24fce8
- Spelling fixes (Ville Skyttä)
24fce8
- Add a test case for rhbz#742885
24fce8
- Handle case-insensitive extlinux config files properly (from Johannes Weiner)
24fce8
24fce8
* Tue Oct 02 2012 Peter Jones <pjones@redhat.com> - 8.20-1
24fce8
- Handle linuxefi initrd and removal correctly.
24fce8
  Resolves: rhbz#859285
24fce8
24fce8
* Wed Sep 26 2012 Peter Jones <pjones@redhat.com> - 8.19-1
24fce8
- Don't accidentally migrate from linuxefi back to linux
24fce8
  Related: rhbz#859285
24fce8
24fce8
* Fri Sep 21 2012 Peter Jones <pjones@redhat.com> - 8.18-1
24fce8
- Change the way the kernel load address is determined for ARM U-Boot.
24fce8
24fce8
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 8.17-1
24fce8
- Update to 8.17
24fce8
- Fixes a "make test" failure.
24fce8
24fce8
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 8.16-1
24fce8
- Update to 8.16
24fce8
- Handle "linuxefi" directive on grub2/uefi machines.
24fce8
24fce8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.15-2
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
24fce8
24fce8
* Mon Jun 25 2012 Peter Jones <pjones@redhat.com> - 8.15-1
24fce8
- Update to 8.15
24fce8
- Revert dirname change from 8.13; it was wrong.
24fce8
24fce8
* Thu Jun 14 2012 Peter Jones <pjones@redhat.com> - 8.14-1
24fce8
- Update to 8.14 to fix a build problem.
24fce8
24fce8
* Thu Jun 14 2012 Peter Jones <pjones@redhat.com> - 8.13-1
24fce8
- Update to 8.13
24fce8
- Add some more ARM tweaks (dmartin)
24fce8
- Better support for other distros (crosa)
24fce8
24fce8
* Tue Jun 12 2012 Peter Jones <pjones@redhat.com> - 8.12-2
24fce8
- Support UBOOT_IMGADDR override on ARM (blc)
24fce8
24fce8
* Thu May 31 2012 Peter Jones <pjones@redhat.com> - 8.12-1
24fce8
- Update to 8.12
24fce8
- Preserve trailing indentation when splitting line elements (mads)
24fce8
  Resolves: rhbz#742720
24fce8
- Pick last device mounted on / (pjones,bcl)
24fce8
  Related: rhbz#820340
24fce8
  Related: rhbz#820351
24fce8
24fce8
* Wed Mar 21 2012 Peter Jones <pjones@redhat.com> - 8.11-1
24fce8
- Update to 8.11
24fce8
  Resolves: rhbz#805310
24fce8
24fce8
* Thu Mar 15 2012 Peter Jones <pjones@redhat.com> - 8.10-1
24fce8
- Update to 8.10
24fce8
- Use "isquote" where appropriate
24fce8
- Make --remove-kenrel support titles in grub2 (jianzhong.huang)
24fce8
- Use grub2 if it's there on ppc.
24fce8
24fce8
* Fri Mar 02 2012 Peter Jones <pjones@redhat.com> - 8.9-1
24fce8
- Refactor grub2 title extraction, making it a function (Cleber Rosa)
24fce8
- Include prefix when printing kernel information (Cleber Rosa)
24fce8
- Implement support for "default saved" for grub2 (Cleber Rosa)
24fce8
- Try to display title when printing information with '--info' (Cleber Rosa)
24fce8
- new-kernel-pkg fails to find U-Boot. (D. Marlin)
24fce8
- Add support to new-kernel-pkg to recognize ARCH == armv5tel needed for Kir
24fce8
  (D.Marlin)
24fce8
- Include a / when one is missing in paths (#769641)
24fce8
- Fix hard coded paths so kernel's "make install" will DTRT.
24fce8
- Fix endswith() to correctly test its input for validity.
24fce8
24fce8
* Tue Feb 07 2012 Dennis Gilmore <dennis@ausil.us> - 8.8-3
24fce8
- add uboot-tools requires on arm arches
24fce8
- add uboot config file on arm arches
24fce8
24fce8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.8-2
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
24fce8
24fce8
* Tue Dec 20 2011 Peter Jones <pjones@redhat.com> - 8.8-1
24fce8
- Fix test cases from 8.7 to work on a system without /boot mounted.
24fce8
24fce8
* Tue Dec 20 2011 Peter Jones <pjones@redhat.com> - 8.7-1
24fce8
- Add a --debug to try to help diagnose "No suitable template". (sandeen,pjones)
24fce8
24fce8
* Mon Dec 19 2011 Peter Jones <pjones@redhat.com> - 8.6-1
24fce8
- Fix a "make test" errors introduced in 8.4-1
24fce8
24fce8
* Sat Dec 17 2011 Peter Jones <pjones@redhat.com> - 8.5-1
24fce8
- Don't hardcode dracut path
24fce8
  Resolves: #768645
24fce8
24fce8
* Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 8.4-1
24fce8
- Update to 8.4:
24fce8
	+ fix Loading... line for updated kernels
24fce8
	+ Add new '--default-title' feature
24fce8
	+ Add new '--default-index' feature
24fce8
	+ add feature for testing the output of a grubby command
24fce8
	+ Fix detection when comparing stage1 to MBR
24fce8
	+ do not link against glib-2.0
24fce8
	+ Don't crash if grubConfig not found
24fce8
	+ Adding extlinux support for new-kernel-pkg
24fce8
	+ Look for Debian / Ubuntu grub config files (#703260)
24fce8
	+ Make grubby recognize Ubuntu's spin of Grub2 (#703260)
24fce8
24fce8
* Thu Sep 29 2011 Peter Jones <pjones@redhat.com> - 8.3-1
24fce8
- Fix new-kernel-pkg invocation of grubby for grub (patch from Mads Kiilerich)
24fce8
  Resolves: rhbz#725185
24fce8
24fce8
* Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 8.2-1
24fce8
- Fixes for xen (from Michael Petullo)
24fce8
  Resolves: rhbz#658387
24fce8
24fce8
* Fri Jul 22 2011 Peter Jones <pjones@redhat.com> - 8.1-1
24fce8
- Update to 8.1
24fce8
- Fix miss-spelled variable name in new-kernel-pkg
24fce8
24fce8
* Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 8.0-1
24fce8
- Add support for grub2.
24fce8
24fce8
* Tue Jun 07 2011 Brian C. Lane <bcl@redhat.com> - 7.0.18-1
24fce8
- Bump version to 7.0.18 (bcl)
24fce8
- Fixup new-kernel-pkg errors (#711493) (bcl)
24fce8
24fce8
* Mon Jun 06 2011 Peter Jones <pjones@redhat.com> - 7.0.17-1
24fce8
- Fix references to wrong program name in new-kernel-pkg.8
24fce8
  Resolves: rhbz#663981
24fce8
24fce8
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.16-3
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
24fce8
24fce8
* Mon Jan 24 2011 Karsten Hopp <karsten@redhat.com> 7.0.16-2
24fce8
- add BR utils-linux-ng for getopt
24fce8
24fce8
* Tue Jul 13 2010 Brian C. Lane <bcl@redhat.com> - 7.0.16-1
24fce8
- Update to 7.0.16
24fce8
- Add patch to check the return value of getuuidbydev
24fce8
- Resolves: rhbz#592294
24fce8
24fce8
* Wed Apr 14 2010 Peter Jones <pjones@redhat.com> - 7.0.15-1
24fce8
- Update to 7.0.15
24fce8
- Add man pages for installkernel and new-kernel-pkg
24fce8
  Resolves: rhbz#529333
24fce8
24fce8
* Wed Apr 14 2010 Peter Jones <pjones@redhat.com> - 7.0.14-1
24fce8
- Update to 7.0.14
24fce8
24fce8
* Thu Feb 11 2010 Peter Jones <pjones@redhat.com> - 7.0.13-1
24fce8
- Strip boot partition prefix from initrd path if present during --update.
24fce8
  Related: rhbz#557922
24fce8
- add host only support for local kernel compiles (airlied)
24fce8
24fce8
* Mon Feb 08 2010 Peter Jones <pjones@redhat.com> - 7.0.12-1
24fce8
- compare rootdev using uuid instead of stat, for better btrfs support (josef)
24fce8
  Resolves: rhbz#530108
24fce8
24fce8
* Mon Feb 08 2010 Peter Jones <pjones@redhat.com> - 7.0.11-1
24fce8
- Make it possible to update the initrd without any other change.
24fce8
  Related: rhbz#557922
24fce8
24fce8
* Fri Feb 05 2010 Peter Jones <pjones@redhat.com> - 7.0.10-1
24fce8
- Make --update able to add an initramfs.
24fce8
  Related: rhbz#557922
24fce8
24fce8
* Mon Nov 30 2009 Peter Jones <pjones@redhat.com> - 7.0.9-3
24fce8
- Use s390utils-base as the s390 dep, not s390utils
24fce8
  Related: rhbz#540565
24fce8
24fce8
* Tue Nov 24 2009 Peter Jones <pjones@redhat.com> - 7.0.9-2
24fce8
- Add s390utils dep when on s390, since new-kernel-package needs it.
24fce8
  Resolves: rhbz#540565
24fce8
24fce8
* Fri Oct 30 2009 Peter Jones <pjones@redhat.com> - 7.0.9-1
24fce8
- Add support for dracut to installkernel (notting)
24fce8
24fce8
* Thu Oct  1 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.8-1
24fce8
- Stop using nash
24fce8
24fce8
* Fri Sep 11 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.7-1
24fce8
- Remove writing rd_plytheme=$theme to kernel args in dracut mode (hansg)
24fce8
- Add a couple of test cases for extra initrds (rstrode)
24fce8
- Allow tmplLine to be NULL in getInitrdVal (rstrode)
24fce8
24fce8
* Fri Sep 11 2009 Peter Jones <pjones@redhat.com> - 7.0.6-1
24fce8
- Fix test case breakage from 7.0.5 (rstrode)
24fce8
24fce8
* Fri Sep 11 2009 Peter Jones <pjones@redhat.com> - 7.0.5-1
24fce8
- Add support for plymouth as a second initrd. (rstrode)
24fce8
  Resolves: rhbz#520515
24fce8
24fce8
* Wed Sep 09 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.4-1
24fce8
- Add --dracut cmdline argument for %%post generation of dracut initrd
24fce8
24fce8
* Wed Aug 26 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.3-1
24fce8
- Silence error when no /etc/sysconfig/keyboard (#517187)
24fce8
24fce8
* Fri Aug  7 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.2-1
24fce8
- Add --add-dracut-args new-kernel-pkg cmdline option
24fce8
24fce8
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.1-2
24fce8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
24fce8
24fce8
* Fri Jul 17 2009 Jeremy Katz <katzj@redhat.com> - 7.0.1-1
24fce8
- Fix blkid usage (#124246)
24fce8
24fce8
* Wed Jun 24 2009 Jeremy Katz <katzj@redhat.com> - 7.0-1
24fce8
- BR libblkid-devel now instead of e2fsprogs-devel
24fce8
- Add bits to switch to using dracut for new-kernel-pkg
24fce8
24fce8
* Wed Jun  3 2009 Jeremy Katz <katzj@redhat.com> - 6.0.86-2
24fce8
- add instructions for checking out from git
24fce8
24fce8
* Tue Jun  2 2009 Jeremy Katz <katzj@redhat.com> - 6.0.86-1
24fce8
- initial build after splitting out from mkinitrd
24fce8