public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grub2] rawhide: Remove creation of /boot/loader/entries
@ 2026-07-22 17:55 Josue Hernandez
  0 siblings, 0 replies; only message in thread
From: Josue Hernandez @ 2026-07-22 17:55 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/grub2
            Branch : rawhide
            Commit : dd219c8180d5ffa95847121c5b7a7440ef269005
            Author : Josue Hernandez <josherna@redhat.com>
            Date   : 2026-07-22T11:33:23-06:00
            Stats  : +4/-4 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/grub2/c/dd219c8180d5ffa95847121c5b7a7440ef269005?branch=rawhide

            Log:
            Remove creation of /boot/loader/entries

/boot/loader/entries is created by /lib/kernel/install.d/90-loaderentry.install
which is provided by systemd-udev package when a new kernel is added if
it doesn't exist

Signed-off-by: Josue Hernandez <josherna@redhat.com>

---
diff --git a/grub.macros b/grub.macros
index 69d6141..15fd284 100644
--- a/grub.macros
+++ b/grub.macros
@@ -833,7 +833,6 @@ cp docs/grub-dev.info						\\\
 	$RPM_BUILD_ROOT%{_infodir}/grub2-dev.info		\
 install -d -m 0700 ${RPM_BUILD_ROOT}%{efi_esp_dir}/		\
 install -d -m 0700 ${RPM_BUILD_ROOT}/boot/grub2/		\
-install -d -m 0700 ${RPM_BUILD_ROOT}/boot/loader/entries	\
 install -d -m 0700 ${RPM_BUILD_ROOT}/boot/grub2/themes/system	\
 install -d -m 0700 ${RPM_BUILD_ROOT}%{_sysconfdir}/default	\
 install -d -m 0700 ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig	\
@@ -851,7 +850,6 @@ ln -s ../boot/grub2/grub.cfg					\\\
 %defattr(-,root,root,-)						\
 %config(noreplace) %{_sysconfdir}/grub2.cfg			\
 %ghost %config(noreplace) %attr(0600,root,root)/boot/grub2/grub.cfg	\
-%dir %attr(0700,root,root)/boot/loader/entries			\
 %attr(0644,root,root) %config(noreplace) /etc/dnf/protected.d/grub2-%{1}.conf \
 %ifarch ppc64le							\
 %dir %{_libdir}/grub/%{2}/					\
@@ -887,7 +885,6 @@ ln -s ../boot/grub2/grub.cfg					\\\
 %endif								\
 %attr(0700,root,root)/boot/grub2/fonts			\
 %attr(0700,root,root)/usr/bin/gen_grub_cfgstub			\
-%dir %attr(0700,root,root)/boot/loader/entries			\
 %ghost %config(noreplace) %attr(0600,root,root)/boot/grub2/grub.cfg	\
 %ghost %config(noreplace) %attr(0700,root,root)%{efi_esp_dir}/grub.cfg	\
 %ghost %config(noreplace) %attr(0600,root,root)%{grub_efi_dir}/grub.cfg	\

diff --git a/grub2.spec b/grub2.spec
index dcb5046..9795f19 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -17,7 +17,7 @@
 Name:		grub2
 Epoch:		1
 Version:	2.12
-Release:	70%{?dist}
+Release:	71%{?dist}
 Summary:	Bootloader with support for Linux, Multiboot and more
 License:	GPL-3.0-or-later
 URL:		http://www.gnu.org/software/grub/
@@ -694,6 +694,9 @@ fi
 %endif
 
 %changelog
+* Mon Jul 20 2026 Josue Hernandez <josherna@redhat.com> - 2.12-71
+- Remove creation of /boot/loader/entries
+
 * Mon Jul 20 2026 Leo Sandoval <lsandova@redhat.com> - 2.12-70
 - Run grub2-install automatically on grub2-pc posttrans
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-22 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 17:55 [rpms/grub2] rawhide: Remove creation of /boot/loader/entries Josue Hernandez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox