a9eb1f4
Name: grubby
2ba2a6e
Version: 8.40
69e614e
Release: 67%{?dist}
a9eb1f4
Summary: Command line tool for updating bootloader configs
a9eb1f4
License: GPLv2+
e6b270b
URL: https://github.com/rhinstaller/grubby
e6b270b
# we only pull git snaps at the moment
e6b270b
# git clone git@github.com:rhinstaller/grubby.git
e6b270b
# git archive --format=tar --prefix=grubby-%%{version}/ HEAD |bzip2 > grubby-%%{version}.tar.bz2
e6b270b
# Source0: %%{name}-%%{version}.tar.bz2
e6b270b
Source0: https://github.com/rhboot/grubby/archive/%{version}-1.tar.gz
19db5c4
Source1: grubby-bls
e6b270b
Source2: grubby.in
e6b270b
Source3: installkernel.in
e4c6ac2
Source4: installkernel-bls
b50c79e
Source5: 95-kernel-hooks.install
536f42d
Source6: 10-devicetree.install
536f42d
Source7: grubby.8
536f42d
e6b270b
Patch0001: 0001-remove-the-old-crufty-u-boot-support.patch
e6b270b
Patch0002: 0002-Change-return-type-in-getRootSpecifier.patch
e6b270b
Patch0003: 0003-Add-btrfs-subvolume-support-for-grub2.patch
e6b270b
Patch0004: 0004-Add-tests-for-btrfs-support.patch
e6b270b
Patch0005: 0005-Use-system-LDFLAGS.patch
e6b270b
Patch0006: 0006-Honor-sbindir.patch
e6b270b
Patch0007: 0007-Make-installkernel-to-use-kernel-install-scripts-on-.patch
e6b270b
Patch0008: 0008-Add-usr-libexec-rpm-sort.patch
e6b270b
Patch0009: 0009-Improve-man-page-for-info-option.patch
e6b270b
Patch0010: 0010-Fix-GCC-warnings-about-possible-string-truncations-a.patch
e6b270b
Patch0011: 0011-Fix-stringop-overflow-warning.patch
e6b270b
Patch0012: 0012-Fix-maybe-uninitialized-warning.patch
e6b270b
Patch0013: 0013-Fix-build-with-rpm-4.16.patch
e6b270b
87beb89
BuildRequires: gcc
e6b270b
BuildRequires: pkgconfig glib2-devel popt-devel 
e6b270b
BuildRequires: libblkid-devel sed make
e6b270b
# for make test / getopt:
e6b270b
BuildRequires: util-linux-ng
a5e56a6
BuildRequires: rpm-devel
415ad45
BuildRequires: sed
79765ad
%ifarch aarch64 x86_64 %{power64}
9c7b4eb
BuildRequires: grub2-tools-minimal
9c7b4eb
Requires: grub2-tools-minimal
c834974
Requires: grub2-tools
0d3237c
%endif
b3b4435
%ifarch s390 s390x
3498276
Requires: s390utils-core
b3b4435
%endif
a5e56a6
Requires: findutils
73b809b
Requires: util-linux
a9eb1f4
79765ad
ExcludeArch: %{ix86}
536f42d
Conflicts:	uboot-tools < 2021.01-0.1.rc2
5f9558c
Obsoletes:	%{name}-bls < %{version}-%{release}
f9d8ee1
a9eb1f4
%description
c864700
This package provides a grubby compatibility script that manages
e944252
BootLoaderSpec files and is meant to be backward compatible with
e944252
the previous grubby tool.
a9eb1f4
a9eb1f4
%prep
e6b270b
%autosetup -p1 -n grubby-%{version}-1
d344961
a9eb1f4
%build
290786e
%set_build_flags
e6b270b
%make_build LDFLAGS="${LDFLAGS}"
a9eb1f4
e6b270b
%ifnarch aarch64 %{arm}
e6b270b
%check
e6b270b
make test
e6b270b
%endif
415ad45
e6b270b
%install
e6b270b
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} sbindir=%{_sbindir} libexecdir=%{_libexecdir}
415ad45
e6b270b
mkdir -p %{buildroot}%{_libexecdir}/{grubby,installkernel}/ %{buildroot}%{_sbindir}/
e6b270b
mv -v %{buildroot}%{_sbindir}/grubby %{buildroot}%{_libexecdir}/grubby/grubby
e6b270b
mv -v %{buildroot}%{_sbindir}/installkernel %{buildroot}%{_libexecdir}/installkernel/installkernel
e6b270b
install -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/grubby/
e6b270b
install -m 0755 %{SOURCE4} %{buildroot}%{_libexecdir}/installkernel/
e6b270b
sed -e "s,@@LIBEXECDIR@@,%{_libexecdir}/grubby,g" %{SOURCE2} \
e6b270b
	> %{buildroot}%{_sbindir}/grubby
e6b270b
sed -e "s,@@LIBEXECDIR@@,%{_libexecdir}/installkernel,g" %{SOURCE3} \
e6b270b
	> %{buildroot}%{_sbindir}/installkernel
b50c79e
install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE5}
536f42d
install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE6}
e6b270b
rm %{buildroot}%{_mandir}/man8/grubby.8*
536f42d
install -m 0644 %{SOURCE7} %{buildroot}%{_mandir}/man8/
87beb89
f9d8ee1
%post
f9d8ee1
if [ "$1" = 2 ]; then
f9d8ee1
    arch=$(uname -m)
8213073
    [[ $arch == "s390x" ]] && \
8213073
    zipl-switch-to-blscfg --backup-suffix=.rpmsave &>/dev/null || :
f9d8ee1
fi
f9d8ee1
e6b270b
%package deprecated
e6b270b
Summary:	Legacy command line tool for updating bootloader configs
e6b270b
Conflicts:	%{name} <= 8.40-18
e6b270b
e6b270b
%description deprecated
e6b270b
This package provides deprecated, legacy grubby.  This is for temporary
e6b270b
compatibility only.
e6b270b
e6b270b
grubby is a command line tool for updating and displaying information about
e6b270b
the configuration files for the grub, lilo, elilo (ia64), yaboot (powerpc)
e6b270b
and zipl (s390) boot loaders. It is primarily designed to be used from
e6b270b
scripts which install new kernels and need to find information about the
e6b270b
current boot environment.
e6b270b
214bb84
%files
961d5e3
%license COPYING
87beb89
%dir %{_libexecdir}/grubby
e6b270b
%dir %{_libexecdir}/installkernel
e6b270b
%attr(0755,root,root) %{_libexecdir}/grubby/grubby-bls
a5e56a6
%attr(0755,root,root) %{_libexecdir}/grubby/rpm-sort
1f93330
%attr(0755,root,root) %{_sbindir}/grubby
e6b270b
%attr(0755,root,root) %{_libexecdir}/installkernel/installkernel-bls
1f93330
%attr(0755,root,root) %{_sbindir}/installkernel
536f42d
%attr(0755,root,root) %{_prefix}/lib/kernel/install.d/10-devicetree.install
b50c79e
%attr(0755,root,root) %{_prefix}/lib/kernel/install.d/95-kernel-hooks.install
e6b270b
%{_mandir}/man8/[gi]*.8*
e6b270b
e6b270b
%files deprecated
e6b270b
%license COPYING
e6b270b
%dir %{_libexecdir}/grubby
e6b270b
%dir %{_libexecdir}/installkernel
e6b270b
%attr(0755,root,root) %{_libexecdir}/grubby/grubby
e6b270b
%attr(0755,root,root) %{_libexecdir}/installkernel/installkernel
e6b270b
%attr(0755,root,root) %{_sbindir}/grubby
e6b270b
%attr(0755,root,root) %{_sbindir}/installkernel
e6b270b
%attr(0755,root,root) %{_sbindir}/new-kernel-pkg
e6b270b
%{_mandir}/man8/*.8*
87beb89
a9eb1f4
%changelog
69e614e
* Mon Aug 22 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-67
69e614e
- Give up and just pull the config from BLS
69e614e
- Suggested-by: Bojan Smojver <bojan@rexursive.com>
69e614e
e6b270b
* Thu Aug 18 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-66
e6b270b
- Bring back -deprecated for fedora 36
e6b270b
74ff481
* Wed Aug 17 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-65
74ff481
- Mark package as obsoleting -deprecated
74ff481
- Resolves: #2117817
74ff481
1faea2d
* Tue Aug 02 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-64
1faea2d
- Handle updating /etc/kernel/cmdline
1faea2d
c824146
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-63
c824146
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
c824146
29fb24f
* Tue Jul 19 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-62
29fb24f
- Clarify that grub files aren't used on s390x in man page
29fb24f
810b5ee
* Wed Jun 22 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-61
810b5ee
- Revert previous change
810b5ee
810b5ee
* Tue May 31 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-60
810b5ee
- Additionally write to /etc/kernel/cmdline
810b5ee
415ad45
* Wed Apr 27 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-59
415ad45
- Remove upstream and layers of indirection around -bls
415ad45
1bc3038
* Thu Mar 10 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-58
1bc3038
- Remove grubby-deprecated
1bc3038
dfdd26c
* Mon Feb 07 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-57
dfdd26c
- grubby-bls: wire up -h (help)
dfdd26c
0dd1a4f
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-56
0dd1a4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
0dd1a4f
eaef784
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-55
eaef784
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
eaef784
e69860d
* Wed Jun 23 2021 Javier Martinez Canillas <javierm@redhat.com> - 8.40-54
e69860d
- Clarify package description
e69860d
  Resolves: rhbz#1913299
e69860d
- Update man page to not mention the GRUB config in the ESP anymore
e69860d
  Resolves: rhbz#1958458
e69860d
2b59d13
* Wed Jun 09 2021 Javier Martinez Canillas <javierm@redhat.com> - 8.40-53
2b59d13
- grubby-bls: expand only the kernelopts variable
2b59d13
5d39638
* Mon Apr 26 2021 Javier Martinez Canillas <javierm@redhat.com> - 8.40-52
5d39638
- grubby-bs: Fix changing kernel cmdline params not working on ppc64le
5d39638
786a133
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-51
786a133
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
786a133
fd57e03
* Wed Dec 30 2020 Tom Stellard <tstellar@redhat.com> - 8.40-50
fd57e03
- Use make_build macro instead of plain make
fd57e03
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
fd57e03
536f42d
* Fri Nov 20 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 8.40-49
536f42d
- Add device tree kernel install option
536f42d
b91640a
* Mon Oct 26 2020 Josh Boyer <jwb@redhat.com> - 8.40-48
b91640a
- Only require s390utils-core, not s390utils-base
b91640a
1ead121
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-47
1ead121
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1ead121
a5c9c3a
* Fri Jun 26 2020 Javier Martinez Canillas <javierm@redhat.com> - 8.40-46
a5c9c3a
- fix build with rpm-4.16
a5c9c3a
- grubby-bls: fix --extra-initrd option not adding the correct path
a5c9c3a
12e62c4
* Wed May 13 2020 Javier Martinez Canillas <javierm@redhat.com> - 8.40-45
12e62c4
- grubby-bls: don't replace options with kernelopts if values are the same
12e62c4
959c481
* Wed May 06 2020 Javier Martinez Canillas <javierm@redhat.com> - 8.40-44
959c481
- Fix installed man page file mode bits
959c481
b2ab290
* Tue May 05 2020 Javier Martinez Canillas <javierm@redhat.com> - 8.40-43
b2ab290
- grubby-bls: always escape the delimiter character used in sed commands
b2ab290
- grubby-bls: add a --no-etc-grub-update option
b2ab290
670185c
* Wed Apr 29 2020 Javier Martinez Canillas <javierm@redhat.com> - 8.40-42
670185c
- grubby-bls: fix corner case when a kernel param value contains a '='
670185c
- grubby-bls: update man page to match options in current wrapper script
670185c
8c7d866
* Mon Mar 30 2020 Javier Martinez Canillas <javierm@redhat.com> - 8.40-41
8c7d866
- Make grubby to also update GRUB_CMDLINE_LINUX in /etc/default/grub
8c7d866
  Related: rhbz#1287854
8c7d866
5f9558c
* Mon Feb 10 2020 Javier Martinez Canillas <javierm@redhat.com> - 8.40-40
5f9558c
- Fix FTBFS
5f9558c
  Resolves: rhbz#1799496
5f9558c
- Fix wrong S-o-B tag in patch
5f9558c
- Fix warning about using unversioned Obsoletes
5f9558c
03b13ce
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-39
03b13ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
03b13ce
b5070e2
* Fri Nov 29 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-38
b5070e2
- grubby-bls: don't update grubenv when generating grub.cfg for ppc64le
b5070e2
  Related: rhbz#1726514
b5070e2
3ffa2d2
* Thu Nov 28 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-37
3ffa2d2
- grubby-bls: don't print rpm-sort error messages
3ffa2d2
  Resolves: rhbz#1731924
3ffa2d2
- grubby-bls: remove -o option and support -c for ppc64le grub config
3ffa2d2
  Resolves: rhbz#1758598
3ffa2d2
- grubby-bls: fix logic to check if the kernelopts var is defined in a BLS
3ffa2d2
  Resolves: rhbz#1726514
3ffa2d2
Yuval Turgeman 9baffd0
* Tue Aug 06 2019 Yuval Turgeman <yturgema@redhat.com> - 8.40-36
Yuval Turgeman 9baffd0
- grubby-bls: strip only /boot from paths
Yuval Turgeman 9baffd0
4009bc7
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-35
4009bc7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4009bc7
b50c79e
* Mon Jun 17 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-34
b50c79e
- Add a kernel-install plugin to execute hook scripts in /etc/kernel/
b50c79e
  Resolves: rhbz#1696202
b50c79e
7c6e97e
* Mon Jun 10 22:13:19 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.40-33
7c6e97e
- Rebuild for RPM 4.15
7c6e97e
7b4b34a
* Mon Jun 10 15:42:02 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.40-32
7b4b34a
- Rebuild for RPM 4.15
7b4b34a
73b809b
* Fri May 03 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-31
73b809b
- Use mountpoint command to check whether /boot is a mount point
73b809b
  Resolves: rhbz#1706091
73b809b
dc24f2c
* Thu Mar 21 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-30
dc24f2c
- grubby-bls: fix --add-kernel not working when using the --args option
dc24f2c
  Resolves: rhbz#1691004
dc24f2c
8213073
* Mon Mar 11 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-29
8213073
- Only switch to BLS config for s390x / zipl
8213073
  Related: rhbz#1652806
8213073
6abeb6f
* Fri Mar 01 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-28
6abeb6f
- grubby-bls: make --update-kernel ALL to update kernelopts var in grubenv
6abeb6f
40d7338
* Thu Feb 14 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-27
40d7338
- grubby-bls: error if args or remove-args is used without update-kernel
40d7338
ac9b25b
* Tue Feb 05 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-26
ac9b25b
- Fix GCC warnings about possible string truncations and buffer overflows
ac9b25b
- grubby-bls: unset default entry if is the one being removed
ac9b25b
- grubby-bls: show absolute path when printing error about incorrect param
ac9b25b
9f336a6
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-25
9f336a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9f336a6
290786e
* Mon Jan 14 2019 Javier Martinez Canillas <javierm@redhat.com> - 8.40-24
290786e
- Correctly set LDFLAGS to include hardened flags (pjones)
290786e
  Related: rhbz#1654936
290786e
- grubby-bls: expand all variables in options field when updating it
290786e
  Resolves: rhbz#1660700
290786e
6b2ae0e
* Tue Dec 11 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-23
6b2ae0e
- grubby-bls: lookup default entry by either id or title on grub2
6b2ae0e
  Related: rhbz#1654936
6b2ae0e
2ad4f48
* Fri Nov 30 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-22
2ad4f48
- grubby-bls: also print the absolute path in the --default-kernel option
2ad4f48
  Resolves: rhbz#1649778
2ad4f48
- grubby-bls: allow to specify the same kernel param multiple times
2ad4f48
  Resolves: rhbz#1652486
2ad4f48
- grubby-bls: expand kernel options if these are environment variables
2ad4f48
  Resolves: rhbz#1649785
2ad4f48
- grubby-bls: always generate the BLS snippets when adding new entries
2ad4f48
  Resolves: rhbz#1653365
2ad4f48
- Improve man page for --info option (jstodola)
2ad4f48
  Resolves: rhbz#1651672
2ad4f48
- Make the old grubby take precedence over grubby-bls if is installed
2ad4f48
  Related: rhbz#165484
2ad4f48
e777519
* Wed Nov 21 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-21
e777519
- installkernel-bls: remove unnecessary check for GRUB_ENABLE_BLSCFG=true
e777519
  Resolves: rhbz#1647721
e777519
- grubby-bls: use title field instead of version for zipl default entry
e777519
  Related: rhbz#1645200
e777519
- grubby-bls: print the absolute kernel and initramfs images paths
e777519
  Resolves: rhbz#1649778
e777519
- grubby-bls: make info print the root parameter if is present in cmdline
e777519
  Resolves: rhbz#1649791
e777519
f9d8ee1
* Tue Nov 13 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-20
f9d8ee1
- Switch to a BLS configuration on %%post
f9d8ee1
d72135e
* Tue Nov 06 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-19
6ed7104
- Make the temporary config wrapper be what "grubby" contains, and put
6ed7104
  traditional grubby in grubby-deprecated (pjones)
6ed7104
- Re-enable debuginfo generation (pjones)
6ed7104
  Related: rhbz#1619344
6ed7104
- Install installkernel-bls here as well, not just in the grub2 package,
6ed7104
  since s390x doesn't have grubby packages (pjones)
6ed7104
  Related: rhbz#1619344
6ed7104
- Make grubby-bls execute grub2-mkconfig on ppc64
6ed7104
  Resolves: rhbz#1636039
6ed7104
- grubby-bls should only check if kernel exists and not if was installed
6ed7104
  Resolves: rhbz#1634740
6ed7104
- Use ! instead of , as sed delimiter in grubby-bls script
6ed7104
  Resolves: rhbz#1634744
6ed7104
- Print information about the entry set as default
6ed7104
  Resolves: rhbz#1636180
6ed7104
- grubby-bls: make "id" be the filename, and include it in --info=ALL (pjones)
6ed7104
  Related: rhbz#1638103
6ed7104
- grubby-bls: Make grubby-bls sort everything the same way grub2 does (pjones)
6ed7104
  Resolves: rhbz#1638103
6ed7104
- grubby-bls: Consistently use the filename as the bls id
6ed7104
  Related: rhbz#1638103
6ed7104
- grubby-bls: check if entry exists before attempting to print its info
6ed7104
  Resolves: rhbz#1634712
6ed7104
- grubby-bls: make a copy of the cmdline if is modified for an entry
6ed7104
  Resolves: rhbz#1629054
6ed7104
- grubby-bls: escape delimiter character before replacing the options field
6ed7104
  Resolves: rhbz#1640017
6ed7104
- grubby-bls: grubby-bls: use id instead of title to get the default entry
6ed7104
  Resolves: rhbz#1638103
6ed7104
- grubby-bls: use ~debug instead of -debug as suffix to sort correctly
6ed7104
  Related: rhbz#1638103
6ed7104
- grubby-bls: allow to add many BLS entries for the same kernel image
6ed7104
  Resolves: rhbz#1634752
6ed7104
- grubby-bls: fix --default-* options for s390x
6ed7104
  Resolves: rhbz#1644608
7babbb0
- grubby-bls: only compare using relative paths if /boot is a mount point
7babbb0
  Resolves: rhbz#1642078
6ed7104
6a009b5
* Fri Aug 10 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-18
6a009b5
- Make installkernel to use kernel-install scripts on BLS configuration
6a009b5
5e1de1e
* Tue Jul 24 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-17
5e1de1e
- Fix grubby wrapper paths
5e1de1e
  Resolves: rhbz#1607981
5e1de1e
1f93330
* Tue Jul 24 2018 Peter Jones <pjones@redhat.com> - 8.40-16
1f93330
- Fix permissions on /usr/sbin/grubby
1f93330
87beb89
* Fri Jul 13 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-15
87beb89
- Add a grubby-bls package that conflicts with grubby
19db5c4
a7316b2
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-14
a7316b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a7316b2
b92599d
* Thu Jun 14 2018 Peter Jones <pjones@redhat.com> - 8.40-13
b92599d
- Use standard Fedora linker flags (rhbz#1543502) (rdossant)
b92599d
- Switch zipl config to BLS configuration on %%postun for s390x (javierm)
a631596
eedee25
* Tue Apr 10 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-12
eedee25
- Use .rpmsave as backup suffix when switching to BLS configuration
eedee25
c834974
* Fri Apr 06 2018 Javier Martinez Canillas <javierm@redhat.com> - 8.40-11
c834974
- Switch grub2 config to BLS configuration on %%postun
c834974
8a91c9f
* Sat Mar 03 2018 Nathaniel McCallum <npmccallum@redhat.com> - 8.40-10
8a91c9f
- Add support for /boot on btrfs subvolumes
8a91c9f
e0fe64c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-9
e0fe64c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e0fe64c
c5aefcd
* Wed Jan 24 2018 Peter Robinson <pbrobinson@fedoraproject.org> 8.40-8
c5aefcd
- Drop u-boot uImage generation on ARMv7
c5aefcd
- Minor cleanups
c5aefcd
5eb64ab
* Tue Sep 12 2017 Peter Jones <pjones@redhat.com> - 8.40-7
5eb64ab
- Explicitly require grub2-tools on platforms that need grub2-editenv
5eb64ab
- Minor packaging cleanups
5eb64ab
8f77e45
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-6
8f77e45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
8f77e45
17c40dc
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-5
17c40dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
17c40dc
c7f3e95
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-4
c7f3e95
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c7f3e95
9e56840
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-3
9e56840
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9e56840
796d03e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.40-2
796d03e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
796d03e
2ba2a6e
* Wed Apr 15 2015 Peter Jones <pjones@redhat.com> - 8.40-1
2ba2a6e
- Update to 8.40
2ba2a6e
- More work on the thing that went to testing in 8.39
2ba2a6e
  Resolves: rhbz#1211887
2ba2a6e
715a4d8
* Tue Apr 14 2015 Peter Jones <pjones@redhat.com> - 8.39-1
715a4d8
- Update to 8.39
715a4d8
- Fix title extraction with some config file types
715a4d8
  Resolves: rhbz#1204353
715a4d8
  Resolves: rhbz#1204888
715a4d8
  Resolves: rhbz#1206943
715a4d8
c095884
* Tue Apr 14 2015 Peter Jones <pjones@redhat.com> - 8.38-1
c095884
- Update to 8.38
c095884
- Fix title extraction with some config file types
c095884
  Resolves: rhbz#1204353
c095884
  Resolves: rhbz#1204888
c095884
  Resolves: rhbz#1206943
c095884
75676da
* Tue Mar 17 2015 Peter Jones <pjones@redhat.com> - 8.37-1
75676da
- Update to 8.37
75676da
- Fix test case from 8.35 on ppc64
75676da
  Resolves: rhbz#1202876
75676da
13b3f1d
* Thu Nov 13 2014 Peter Jones <pjones@redhat.com> - 8.35-9
13b3f1d
- Disable "make check" on arm builds; right now the test suite is broken
13b3f1d
  there and raises false positives constantly.
13b3f1d
e2a3f9c
* Mon Oct 27 2014 Peter Jones <pjones@redhat.com> - 8.35-8
e2a3f9c
- Treat kernel and kernel-core as identical in terms of --make-default
e2a3f9c
  Resolves: rhbz#1141414
e2a3f9c
ee98474
* Thu Oct 16 2014 Peter Jones <pjones@redhat.com> - 8.35-7
ee98474
- Revert "debug" image creation for now
ee98474
  Resolves: rhbz#1153410
ee98474
- Fix minor quoting errors in dtbdir code
ee98474
  Resolves: rhbz#1088933
ee98474
635a3b8
* Wed Oct 15 2014 Peter Jones <pjones@redhat.com> - 8.35-6
635a3b8
- Update grubby to support device tree options for arm.  Again.
635a3b8
  Resolves: rhbz#1088933
635a3b8
0370b22
* Fri Sep 26 2014 Peter Jones <pjones@redhat.com> - 8.35-5
0370b22
- See if what people are seeing in 1141414 is actually 957681
0370b22
  Related: rhbz#957681
0370b22
  Related: rhbz#1141414
0370b22
271f511
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.35-4
271f511
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
271f511
961d5e3
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 8.35-3
961d5e3
- fix license handling
961d5e3
d8d47e3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.35-2
d8d47e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d8d47e3
5ad2971
* Wed May 21 2014 Peter Jones <pjones@redhat.com> - 8.35-1
5ad2971
- Fix a minor test case error that causes koji builds to fail.
5ad2971
  Related: rhbz#1096358
5ad2971
03801fd
* Wed May 21 2014 Peter Jones <pjones@redhat.com> - 8.34-1
03801fd
- Make grub2 "--copy-default --add-kernel=foo --initrd=bar" work when default
03801fd
  has no initrd line.
03801fd
  Resolves: rhbz#1099627
03801fd
  Related: rhbz#1096358
03801fd
facc9c5
* Tue Apr 01 2014 Peter Jones <pjones@redhat.com> - 8.33-1
facc9c5
- Fix --devtree test in new-kernel-pkg even harder (#1082318)
facc9c5
dcde681
* Mon Mar 31 2014 Peter Jones <pjones@redhat.com> - 8.32-1
dcde681
- Fix --devtree test in new-kernel-pkg (#1082318)
dcde681
- Fix aarch64 #define test.
dcde681
58f61ff
* Fri Mar 28 2014 Peter Jones <pjones@redhat.com> - 8.31-1
58f61ff
- Update to 8.31
58f61ff
- Fold in patches from Fedora and RHEL 7 trees
58f61ff
dc1eb4a
* Mon Jan 20 2014 Lubomir Rintel <lkundrak@v3.sk> - 8.28-2
dc1eb4a
- Fix extlinux default
dc1eb4a
c8c92c6
* Fri Aug 02 2013 Peter Jones <pjones@redhat.com> - 8.28-1
c8c92c6
- More work on grub's "saved_entry" system. 
c8c92c6
  Resolves: rhbz#768106
c8c92c6
  Resolves: rhbz#736188
c8c92c6
0d3237c
* Tue Jul 30 2013 Peter Jones <pjones@redhat.com> - 8.27-1
8e77304
- Make grubby understand grub's "saved_entry" system
8e77304
  Resolves: rhbz#768106
8e77304
  Resolves: rhbz#736188
0d3237c
- BuildRequire grub2 on appropriate platforms, for the test suite.
8e77304
223896f
* Fri Jun 07 2013 Dennis Gilmore <dennis@ausil.us> - 8.26-2
223896f
- add patch to update extlinux.conf file on arm if it exists
223896f
efdb493
* Fri May 10 2013 Peter Jones <pjones@redhat.com> - 8.26-1
efdb493
- Conditionally call arm-boot-config's boot.scr generator if available
efdb493
  Resolves: rhbz#952428
efdb493
e7dc179
* Tue Apr 09 2013 Peter Jones <pjones@redhat.com> - 8.25-1
e7dc179
- Error instead of segfaulting if we can't find any working config
e7dc179
  Resolves: rhbz#912873
e7dc179
  Resolves: rhbz#751608
e7dc179
8766289
* Tue Mar 19 2013 Peter Jones <pjones@redhat.com> - 8.24-1
8766289
- Fix module remove code from Harald (#923441)
8766289
440ec26
* Mon Mar 11 2013 Peter Jones <pjones@redhat.com> - 8.23-1
440ec26
- Update to 8.23
440ec26
- Fix empty root device in case of an empty /etc/fstab (lemenkov)
440ec26
- General refactoring and cleanup (harald)
440ec26
- Don't clean up modules.* so aggressively (harald)
440ec26
a103458
* Wed Feb 20 2013 Peter Jones <pjones@redhat.com> - 8.22-3
a103458
- Add --debug style logging (for both success and failures) to /var/log/grubby
a103458
24e2f46
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.22-2
24e2f46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
24e2f46
5360404
* Fri Jan 04 2013 Peter Jones <pjones@redhat.com> - 8.22-1
5360404
- Revert test case for rhbz#742885 - it's a work in progress that isn't
5360404
  ready yet.
5360404
18940b4
* Fri Jan 04 2013 Peter Jones <pjones@redhat.com> - 8.21-1
18940b4
- Use systemd vconsole.conf and locale.conf if present
18940b4
  Resolves rhbz#881908
18940b4
- Avoid unnecessary stat calls (from Ville Skyttä)
18940b4
  Resolves rhbz#741135
18940b4
- Spelling fixes (Ville Skyttä)
18940b4
- Add a test case for rhbz#742885
18940b4
- Handle case-insensitive extlinux config files properly (from Johannes Weiner)
18940b4
1952dd2
* Tue Oct 02 2012 Peter Jones <pjones@redhat.com> - 8.20-1
1952dd2
- Handle linuxefi initrd and removal correctly.
1952dd2
  Resolves: rhbz#859285
1952dd2
6ca16bf
* Wed Sep 26 2012 Peter Jones <pjones@redhat.com> - 8.19-1
6ca16bf
- Don't accidentally migrate from linuxefi back to linux
1952dd2
  Related: rhbz#859285
6ca16bf
bfdd281
* Fri Sep 21 2012 Peter Jones <pjones@redhat.com> - 8.18-1
bfdd281
- Change the way the kernel load address is determined for ARM U-Boot.
bfdd281
64eecaa
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 8.17-1
64eecaa
- Update to 8.17
64eecaa
- Fixes a "make test" failure.
64eecaa
bc96cb6
* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 8.16-1
bc96cb6
- Update to 8.16
bc96cb6
- Handle "linuxefi" directive on grub2/uefi machines.
bc96cb6
6e0c65a
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.15-2
6e0c65a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6e0c65a
eb38b67
* Mon Jun 25 2012 Peter Jones <pjones@redhat.com> - 8.15-1
eb38b67
- Update to 8.15
eb38b67
- Revert dirname change from 8.13; it was wrong.
eb38b67
a376a87
* Thu Jun 14 2012 Peter Jones <pjones@redhat.com> - 8.14-1
a376a87
- Update to 8.14 to fix a build problem.
a376a87
41ada0d
* Thu Jun 14 2012 Peter Jones <pjones@redhat.com> - 8.13-1
41ada0d
- Update to 8.13
41ada0d
- Add some more ARM tweaks (dmartin)
41ada0d
- Better support for other distros (crosa)
41ada0d
d344961
* Tue Jun 12 2012 Peter Jones <pjones@redhat.com> - 8.12-2
d344961
- Support UBOOT_IMGADDR override on ARM (blc)
d344961
94529bf
* Thu May 31 2012 Peter Jones <pjones@redhat.com> - 8.12-1
94529bf
- Update to 8.12
94529bf
- Preserve trailing indentation when splitting line elements (mads)
94529bf
  Resolves: rhbz#742720
94529bf
- Pick last device mounted on / (pjones,bcl)
94529bf
  Related: rhbz#820340
94529bf
  Related: rhbz#820351
94529bf
7cb2f55
* Wed Mar 21 2012 Peter Jones <pjones@redhat.com> - 8.11-1
7cb2f55
- Update to 8.11
7cb2f55
  Resolves: rhbz#805310
7cb2f55
fe70e86
* Thu Mar 15 2012 Peter Jones <pjones@redhat.com> - 8.10-1
fe70e86
- Update to 8.10
fe70e86
- Use "isquote" where appropriate
fe70e86
- Make --remove-kenrel support titles in grub2 (jianzhong.huang)
fe70e86
- Use grub2 if it's there on ppc.
fe70e86
a1dfda3
* Fri Mar 02 2012 Peter Jones <pjones@redhat.com> - 8.9-1
a1dfda3
- Refactor grub2 title extraction, making it a function (Cleber Rosa)
a1dfda3
- Include prefix when printing kernel information (Cleber Rosa)
a1dfda3
- Implement support for "default saved" for grub2 (Cleber Rosa)
a1dfda3
- Try to display title when printing information with '--info' (Cleber Rosa)
a1dfda3
- new-kernel-pkg fails to find U-Boot. (D. Marlin)
a1dfda3
- Add support to new-kernel-pkg to recognize ARCH == armv5tel needed for Kir
a1dfda3
  (D.Marlin)
a1dfda3
- Include a / when one is missing in paths (#769641)
a1dfda3
- Fix hard coded paths so kernel's "make install" will DTRT.
a1dfda3
- Fix endswith() to correctly test its input for validity.
dbb2308
f62abfe
* Tue Feb 07 2012 Dennis Gilmore <dennis@ausil.us> - 8.8-3
f62abfe
- add uboot-tools requires on arm arches
f62abfe
- add uboot config file on arm arches
f62abfe
7698149
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.8-2
7698149
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7698149
992cb97
* Tue Dec 20 2011 Peter Jones <pjones@redhat.com> - 8.8-1
992cb97
- Fix test cases from 8.7 to work on a system without /boot mounted.
992cb97
9d9412e
* Tue Dec 20 2011 Peter Jones <pjones@redhat.com> - 8.7-1
9d9412e
- Add a --debug to try to help diagnose "No suitable template". (sandeen,pjones)
9d9412e
c021fe6
* Mon Dec 19 2011 Peter Jones <pjones@redhat.com> - 8.6-1
c021fe6
- Fix a "make test" errors introduced in 8.4-1
c021fe6
afb5036
* Sat Dec 17 2011 Peter Jones <pjones@redhat.com> - 8.5-1
afb5036
- Don't hardcode dracut path
afb5036
  Resolves: #768645
afb5036
203e662
* Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 8.4-1
203e662
- Update to 8.4:
5d5938c
  + fix Loading... line for updated kernels
5d5938c
  + Add new '--default-title' feature
5d5938c
  + Add new '--default-index' feature
5d5938c
  + add feature for testing the output of a grubby command
5d5938c
  + Fix detection when comparing stage1 to MBR
5d5938c
  + do not link against glib-2.0
5d5938c
  + Don't crash if grubConfig not found
5d5938c
  + Adding extlinux support for new-kernel-pkg
5d5938c
  + Look for Debian / Ubuntu grub config files (#703260)
5d5938c
  + Make grubby recognize Ubuntu's spin of Grub2 (#703260)
203e662
1ad83f1
* Thu Sep 29 2011 Peter Jones <pjones@redhat.com> - 8.3-1
1ad83f1
- Fix new-kernel-pkg invocation of grubby for grub (patch from Mads Kiilerich)
1ad83f1
  Resolves: rhbz#725185
1ad83f1
8bea9bd
* Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 8.2-1
8bea9bd
- Fixes for xen (from Michael Petullo)
8bea9bd
  Resolves: rhbz#658387
8bea9bd
bd7a6ca
* Fri Jul 22 2011 Peter Jones <pjones@redhat.com> - 8.1-1
bd7a6ca
- Update to 8.1
bd7a6ca
- Fix miss-spelled variable name in new-kernel-pkg
bd7a6ca
e98683f
* Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 8.0-1
e98683f
- Add support for grub2.
e98683f
0305287
* Tue Jun 07 2011 Brian C. Lane <bcl@redhat.com> - 7.0.18-1
0305287
- Bump version to 7.0.18 (bcl)
0305287
- Fixup new-kernel-pkg errors (#711493) (bcl)
0305287
8518bc6
* Mon Jun 06 2011 Peter Jones <pjones@redhat.com> - 7.0.17-1
8518bc6
- Fix references to wrong program name in new-kernel-pkg.8
8518bc6
  Resolves: rhbz#663981
8518bc6
ddaad05
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.16-3
ddaad05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ddaad05
bd6fd92
* Mon Jan 24 2011 Karsten Hopp <karsten@redhat.com> 7.0.16-2
bd6fd92
- add BR utils-linux-ng for getopt
bd6fd92
604a496
* Tue Jul 13 2010 Brian C. Lane <bcl@redhat.com> - 7.0.16-1
604a496
- Update to 7.0.16
604a496
- Add patch to check the return value of getuuidbydev
604a496
- Resolves: rhbz#592294
604a496
5bc936b
* Wed Apr 14 2010 Peter Jones <pjones@redhat.com> - 7.0.15-1
5bc936b
- Update to 7.0.15
17d5f29
- Add man pages for installkernel and new-kernel-pkg
17d5f29
  Resolves: rhbz#529333
17d5f29
5bc936b
* Wed Apr 14 2010 Peter Jones <pjones@redhat.com> - 7.0.14-1
5bc936b
- Update to 7.0.14
5bc936b
f515ba7
* Thu Feb 11 2010 Peter Jones <pjones@redhat.com> - 7.0.13-1
f515ba7
- Strip boot partition prefix from initrd path if present during --update.
f515ba7
  Related: rhbz#557922
f515ba7
- add host only support for local kernel compiles (airlied)
f515ba7
b7db526
* Mon Feb 08 2010 Peter Jones <pjones@redhat.com> - 7.0.12-1
b7db526
- compare rootdev using uuid instead of stat, for better btrfs support (josef)
b7db526
  Resolves: rhbz#530108
b7db526
2a3cb67
* Mon Feb 08 2010 Peter Jones <pjones@redhat.com> - 7.0.11-1
2a3cb67
- Make it possible to update the initrd without any other change.
2a3cb67
  Related: rhbz#557922
2a3cb67
79918d5
* Fri Feb 05 2010 Peter Jones <pjones@redhat.com> - 7.0.10-1
2dc2064
- Make --update able to add an initramfs.
2dc2064
  Related: rhbz#557922
2dc2064
ab7ba06
* Mon Nov 30 2009 Peter Jones <pjones@redhat.com> - 7.0.9-3
ab7ba06
- Use s390utils-base as the s390 dep, not s390utils
ab7ba06
  Related: rhbz#540565
ab7ba06
b3b4435
* Tue Nov 24 2009 Peter Jones <pjones@redhat.com> - 7.0.9-2
b3b4435
- Add s390utils dep when on s390, since new-kernel-package needs it.
b3b4435
  Resolves: rhbz#540565
b3b4435
4eebdab
* Fri Oct 30 2009 Peter Jones <pjones@redhat.com> - 7.0.9-1
4eebdab
- Add support for dracut to installkernel (notting)
4eebdab
e22efb9
* Thu Oct  1 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.8-1
e22efb9
- Stop using nash
e22efb9
149e660
* Fri Sep 11 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.7-1
149e660
- Remove writing rd_plytheme=$theme to kernel args in dracut mode (hansg)
149e660
- Add a couple of test cases for extra initrds (rstrode)
149e660
- Allow tmplLine to be NULL in getInitrdVal (rstrode)
149e660
03f900c
* Fri Sep 11 2009 Peter Jones <pjones@redhat.com> - 7.0.6-1
03f900c
- Fix test case breakage from 7.0.5 (rstrode)
03f900c
8c939a3
* Fri Sep 11 2009 Peter Jones <pjones@redhat.com> - 7.0.5-1
03f900c
- Add support for plymouth as a second initrd. (rstrode)
8c939a3
  Resolves: rhbz#520515
8c939a3
c1491bd
* Wed Sep 09 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.4-1
5eb64ab
- Add --dracut cmdline argument for %%post generation of dracut initrd
c1491bd
fe7d7fa
* Wed Aug 26 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.3-1
fe7d7fa
- Silence error when no /etc/sysconfig/keyboard (#517187)
fe7d7fa
2d87e7e
* Fri Aug  7 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.2-1
2d87e7e
- Add --add-dracut-args new-kernel-pkg cmdline option
2d87e7e
eb17b79
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.1-2
eb17b79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
eb17b79
01ded24
* Fri Jul 17 2009 Jeremy Katz <katzj@redhat.com> - 7.0.1-1
01ded24
- Fix blkid usage (#124246)
01ded24
a9eb1f4
* Wed Jun 24 2009 Jeremy Katz <katzj@redhat.com> - 7.0-1
a9eb1f4
- BR libblkid-devel now instead of e2fsprogs-devel
a9eb1f4
- Add bits to switch to using dracut for new-kernel-pkg
a9eb1f4
a9eb1f4
* Wed Jun  3 2009 Jeremy Katz <katzj@redhat.com> - 6.0.86-2
a9eb1f4
- add instructions for checking out from git
a9eb1f4
a9eb1f4
* Tue Jun  2 2009 Jeremy Katz <katzj@redhat.com> - 6.0.86-1
a9eb1f4
- initial build after splitting out from mkinitrd
a9eb1f4