- The install scriptlet in %post was choosing the first grub.cfg
file it encountered, which was /boot/efi/EFI/redhat/grub.cfg.
This is a stub that defines grub boot disk UUID necessary for
proper grubenv setup, and it must not be overwritten or changed.
- Modify the scriptlet to target /boot/grub2/grub.cfg
- Additionally, remove any wrongly created /boot/grub2/x86_64-efi
directory and recreate the correct /boot/efi/EFI/redhat/grub.cfg
stub file.
- Added a %postun section to cleanup when removing tboot with
dnf erase.
- Thanks to Lenny Szubowicz for the bash code to recreate the
/boot/efi/EFI/redhat/grub.cfg stub file.
Resolves: rhbz#2112236
Signed-off-by: Tony Camuso <tcamuso@redhat.com>
- Added a Requires line to install grub2-efi-x64-modules
- Added a scriptlet to the tboot.spec file to automatically install
grub2-efi-x64-modules and move them to the correct directory.
- Removed three patches that are no longer needed.
- Added two patches from upstream, one for a fix, the other cosemetic.
- Resolves: rhbz#2041766
Resolves: rhbz#2040083
Signed-off-by: Tony Camuso <tcamuso@redhat.com>
Add the %{optflags} and %{build_ldflags} macros to get the standard
build flags to meet RHEL requirements.
Bump the nvr to 1.10.2-3.
Resolves: rhbz#1922002
Also added second patch to remove call to EVP_PKEY_set_alias_type
for SSL3 compliance.
Resolves: rhbz#1922002
Resolves: rhbz#1870520
Resolves: rhbz#1927374
Signed-off-by: Tony Camuso <tcamuso@redhat.com>