Skip to content

Commit 1f7349b

Browse files
fix: add fedora SBAT entries to grub2 (#10865)
Since we pull secure boot patches from Fedora's grub2, we should include their SBAT entries into our Azure Linux grub2 SBAT. Signed-off-by: Chris Co <chrco@microsoft.com>
1 parent b847500 commit 1f7349b

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

SPECS-SIGNED/grub2-efi-binary-signed/grub2-efi-binary-signed.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Summary: Signed GRand Unified Bootloader for %{buildarch} systems
1313
Name: grub2-efi-binary-signed-%{buildarch}
1414
Version: 2.06
15-
Release: 20%{?dist}
15+
Release: 21%{?dist}
1616
License: GPLv3+
1717
Vendor: Microsoft Corporation
1818
Distribution: Azure Linux
@@ -79,6 +79,9 @@ cp %{SOURCE3} %{buildroot}/boot/efi/EFI/BOOT/%{grubpxeefiname}
7979
/boot/efi/EFI/BOOT/%{grubpxeefiname}
8080

8181
%changelog
82+
* Mon Oct 28 2024 Chris Co <chrco@microsoft.com> - 2.06-21
83+
- Bump release number to match grub release
84+
8285
* Tue Aug 13 2024 Daniel McIlvaney <damcilva@microsoft.com> - 2.06-20
8386
- Move grub2-rpm-macros to the azurelinux-rpm-macros package
8487

SPECS/grub2/grub2.signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"Signatures": {
33
"gnulib-d271f868a8df9bbec29049d01e056481b7a1a263.tar.gz": "4e23415ae2977ffca15e07419ceff3e9334d0369eafc9e7ae2578f8dd9a4839c",
44
"grub-2.06.tar.gz": "660eaa2355a4045d8d0cdb5765169d1cad9912ec07873b86c9c6d55dbaa9dfca",
5-
"sbat.csv.in": "040bcd900845b53ef9124f70f8b40fbd169740681fdd519a688663a59a958cf1"
5+
"sbat.csv.in": "bda0c179d651655f126c508673bbf80505b4aa4b64c347409f4d7ec668b164f0"
66
}
77
}

SPECS/grub2/grub2.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Summary: GRand Unified Bootloader
77
Name: grub2
88
Version: 2.06
9-
Release: 20%{?dist}
9+
Release: 21%{?dist}
1010
License: GPLv3+
1111
Vendor: Microsoft Corporation
1212
Distribution: Azure Linux
@@ -428,6 +428,9 @@ cp $GRUB_PXE_MODULE_SOURCE $EFI_BOOT_DIR/$GRUB_PXE_MODULE_NAME
428428
%config(noreplace) %{_sysconfdir}/grub.d/41_custom
429429

430430
%changelog
431+
* Mon Oct 28 2024 Chris Co <chrco@microsoft.com> - 2.06-21
432+
- Add Fedora SBAT entries
433+
431434
* Tue Aug 13 2024 Daniel McIlvaney <damcilva@microsoft.com> - 2.06-20
432435
- Move grub2-rpm-macros to the azurelinux-rpm-macros package
433436

SPECS/grub2/sbat.csv.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md
22
grub,4,Free Software Foundation,grub,@@VERSION@@,https://www.gnu.org/software/grub/
33
grub.azurelinux,3,Microsoft,grub2,@@VERSION_RELEASE@@,https://github.com/microsoft/azurelinux
4+
grub.rh,2,Red Hat,grub2,@@VERSION_RELEASE@@,mailto:secalert@redhat.com

0 commit comments

Comments
 (0)