public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Leo Sandoval <lsandova@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/grub2] rawhide: Remove grub-cc sub-package
Date: Mon, 05 Oct 2026 20:45:26 GMT [thread overview]
Message-ID: <179123312631.1.6192885325564171139.rpms-grub2-893506298314@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/grub2
Branch : rawhide
Commit : 8935062983145d03ee8dc6c8320892a59b0de565
Author : Leo Sandoval <lsandova@redhat.com>
Date : 2026-10-05T14:08:31-06:00
Stats : +4/-123 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/grub2/c/8935062983145d03ee8dc6c8320892a59b0de565?branch=rawhide
Log:
Remove grub-cc sub-package
A new and separate package has been integrated into Rawhide [1], thus
there is no need to have this sub-package.
[1] https://src.fedoraproject.org/rpms/grub-cc
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
---
diff --git a/grub-cc-prefix-embedded.cfg b/grub-cc-prefix-embedded.cfg
deleted file mode 100644
index 4eb2f98..0000000
--- a/grub-cc-prefix-embedded.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-set prefix='(memdisk)/grub2'
-configfile $prefix/grub.cfg
\ No newline at end of file
diff --git a/grub-cc.cfg b/grub-cc.cfg
deleted file mode 100644
index 1c3bbad..0000000
--- a/grub-cc.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-set timeout=5
-blscfg
\ No newline at end of file
diff --git a/grub-cc.macros b/grub-cc.macros
deleted file mode 100644
index e5fa35c..0000000
--- a/grub-cc.macros
+++ /dev/null
@@ -1,102 +0,0 @@
-%global grub_efi_cc_dir %{grub_evr_dir}/EFI/%{efi_vendor}/cc
-
-%global grubeficcname grub%{efiarch}-cc.efi
-%global grubeficccdname gcd%{efiarch}-cc.efi
-
-%global grub_cc_modules " all_video blscfg blsuki \\\
- configfile \\\
- echo fat \\\
- gfxmenu gfxterm \\\
- increment \\\
- linux \\\
- normal part_msdos part_gpt \\\
- password_pbkdf2 \\\
- search search_fs_uuid search_fs_file \\\
- search_label serial sleep \\\
- test version video " \
-
-%global efi_cc_modules " efi_netfs efifwsetup efinet lsefi lsefimmap connectefi bli "
-
-%global cc_modules " backtrace chain tpm "
-
-
-%define define_efi_cc_variant(o) \
-%{expand:%%package %{1}-cc} \
-Summary: GRUB for EFI Confidential Computing systems. \
-Requires: efi-filesystem \
-Requires: grub2-common = %{evr} \
-Requires: grub2-tools-minimal >= %{evr} \
-Requires: grub2-tools = %{evr} \
-Provides: grub2-efi-cc= %{evr} \
-%{?legacy_provides:Provides: grub2 = %{evr}} \
-%{-o:Obsoletes: grub2-efi < %{evr}} \
- \
-%{expand:%%description %{1}-cc} \
-%{desc} \
-This subpackage provides support for Confidential Computing %{1} systems. \
- \
-%{expand:%%{?!buildsubdir:%%define buildsubdir grub-%{1}-%{tarversion}-cc}}\
-
-%define do_primary_efi_cc_build() \
-cd grub-%{1}-%{tarversion} \
-%{expand:%%do_efi_cc_build_images %{grub_target_name} %{2} %{3} ./ } \
-cd .. \
-%{nil}
-
-%define do_efi_cc_build_images() \
-GRUB_MODULES+=%{grub_cc_modules} \
-GRUB_MODULES+=%{efi_cc_modules} \
-GRUB_MODULES+=%{cc_modules} \
-%{expand:%%{efi_cc_mkimage %{1} %{2} %{3} %{4}}} \
-%{nil}
-
-%define efi_cc_mkimage() \
-mkdir -p memdisk/fonts memdisk/grub2 \
-cp %{4}/unicode.pf2 memdisk/fonts \
-cp %{SOURCE16} memdisk/grub2/grub.cfg \
-mksquashfs memdisk memdisk.squashfs -comp lzo \
-%{4}./grub-mkimage -O %{1} -o %{2}.orig \\\
- -d grub-core \\\
- --sbat %{4}./sbat.csv \\\
- -m memdisk.squashfs \\\
- -c '%{SOURCE17}' \\\
- -p /EFI/%{efi_vendor} \\\
- --disable-tpm-string-pcr \\\
- --package-string "GRUB CC %{version}-%{release}" \\\
- ${GRUB_MODULES} \
-%{4}./grub-mkimage -O %{1} -o %{3}.orig \\\
- -d grub-core \\\
- --sbat %{4}./sbat.csv \\\
- -c '%{SOURCE17}' \\\
- -m memdisk.squashfs \\\
- -p /EFI/BOOT \\\
- --disable-tpm-string-pcr \\\
- --package-string "GRUB CC %{version}-%{release}" \\\
- ${GRUB_CC_MODULES} \
-%{expand:%%define ___pesign_client_cert %{?___pesign_client_cert}%{!?___pesign_client_cert:%{__pesign_client_cert}}} \
-%{?__pesign_client_cert:%{expand:%%define __pesign_client_cert %{___pesign_client_cert}}} \
-%{expand:%%{pesign -s -i %%{2}.orig -o %%{2}.onesig -a %%{5} -c %%{6} -n %%{7}}} \
-%{expand:%%{pesign -s -i %%{3}.orig -o %%{3}.onesig -a %%{5} -c %%{6} -n %%{7}}} \
-%{expand:%%define __pesign_client_cert grub2-signer} \
-%{expand:%%{pesign -s -i %%{2}.onesig -o %%{2} -a %%{5} -c %%{6} -n %%{7}}} \
-%{expand:%%{pesign -s -i %%{3}.onesig -o %%{3} -a %%{5} -c %%{6} -n %%{7}}} \
-%{nil}
-
-%define do_efi_cc_install() \
-cd grub-%{1}-%{tarversion} \
-install -d -m 0700 ${RPM_BUILD_ROOT}%{grub_efi_cc_dir}/ \
-install -m 700 %{2} $RPM_BUILD_ROOT%{grub_efi_cc_dir}/%{2} \
-%{expand:%%do_install_protected_file grub2-%{package_arch}-cc} \
-cd .. \
-%{nil}
-
-%define define_efi_cc_variant_files() \
-%{expand:%%files %{1}-cc} \
-%defattr(-,root,root,-) \
-%dir %attr(0700,root,root) %{grub_efi_cc_dir} \
-%attr(0700,root,root) %{grub_efi_cc_dir}/%{2} \
-%attr(0644,root,root) %config(noreplace) /etc/dnf/protected.d/grub2-%{1}-cc.conf \
-%{expand:%if 0%{?without_efi_modules} \
-%exclude %{_libdir}/grub/%{6} \
-%exclude %{_libdir}/grub/%{6}/* \
-%endif} \
diff --git a/grub2.spec b/grub2.spec
index 29a3ef7..bdd2e50 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -17,7 +17,7 @@
Name: grub2
Epoch: 1
Version: 2.12
-Release: 84%{?dist}
+Release: 85%{?dist}
Summary: Bootloader with support for Linux, Multiboot and more
License: GPL-3.0-or-later
URL: http://www.gnu.org/software/grub/
@@ -37,12 +37,8 @@ Source11: grub.patches
Source12: sbat.csv.in
Source13: gen_grub_cfgstub
Source14: 95-set-boot-entry.install
-Source15: grub-cc.macros
-Source16: grub-cc.cfg
-Source17: grub-cc-prefix-embedded.cfg
%include %{SOURCE1}
-%include %{SOURCE15}
BuildRequires: autoconf
BuildRequires: automake
@@ -159,9 +155,6 @@ This subpackage provides tools for support of all platforms.
%if 0%{with_efi_arch}
%{expand:%define_efi_variant %%{package_arch} -o}
-%if 0%{with_efi_cc}
-%{expand:%define_efi_cc_variant %%{package_arch} -o}
-%endif
%endif
%if 0%{with_alt_efi_arch}
%{expand:%define_efi_variant %%{alt_package_arch}}
@@ -249,9 +242,6 @@ git commit -m "After making subdirs"
%build
%if 0%{with_efi_arch}
%{expand:%do_primary_efi_build %%{grubefiarch} %%{grubefiname} %%{grubeficdname} %%{_target_platform} %%{efi_target_cflags} %%{efi_host_cflags}}
-%if 0%{with_efi_cc}
-%{expand:%do_primary_efi_cc_build %%{grubefiarch} %%{grubeficcname} %%{grubeficccdname} %%{_target_platform} %%{efi_target_cflags} %%{efi_host_cflags}}
-%endif
%endif
%if 0%{with_alt_efi_arch}
%{expand:%do_alt_efi_build %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname} %%{_alt_target_platform} %%{alt_efi_target_cflags} %%{alt_efi_host_cflags}}
@@ -287,9 +277,6 @@ rm -fr $RPM_BUILD_ROOT
%do_common_install
%if 0%{with_efi_arch}
%{expand:%do_efi_install %%{grubefiarch} %%{grubefiname} %%{grubeficdname}}
-%if 0%{with_efi_cc}
-%{expand:%do_efi_cc_install %%{grubefiarch} %%{grubeficcname} %%{grubeficccdname}}
-%endif
%endif
%if 0%{with_alt_efi_arch}
%{expand:%do_alt_efi_install %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname}}
@@ -674,9 +661,6 @@ fi
%if 0%{with_efi_arch}
%{expand:%define_efi_variant_files %%{package_arch} %%{grubefiname} %%{grubeficdname} %%{grubefiarch} %%{target_cpu_name} %%{grub_target_name}}
-%if 0%{with_efi_cc}
-%{expand:%define_efi_cc_variant_files %%{package_arch} %%{grubeficcname} %%{grubeficccdname} %%{grubefiarch} %%{target_cpu_name} %%{grub_target_name}}
-%endif
%endif
%if 0%{with_alt_efi_arch}
%{expand:%define_efi_variant_files %%{alt_package_arch} %%{grubaltefiname} %%{grubalteficdname} %%{grubaltefiarch} %%{alt_target_cpu_name} %%{alt_grub_target_name}}
@@ -702,6 +686,9 @@ fi
%endif
%changelog
+* Fri Oct 02 2026 Leo Sandoval <lsandova@redhat.com> - 2.12-85
+- Remove grub-cc sub-package
+
* Fri Oct 02 2026 Leo Sandoval <lsandova@redhat.com> - 2.12-84
- Include chain module on aarch64, arm and riscv64 platforms
- Resolves: #2545182
reply other threads:[~2026-10-05 20:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179123312631.1.6192885325564171139.rpms-grub2-893506298314@fedoraproject.org \
--to=lsandova@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox