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