1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-14 08:01:11 +01:00
slackware-current/testing/source/grub/0003-support-dropins-for-default-configuration.patch
Patrick J Volkerding 142322a437 Fri Dec 29 21:02:02 UTC 2023
a/sysvinit-scripts-15.1-noarch-10.txz:  Rebuilt.
  rc.M: Fix the name of the LDAP name service daemon (rc.nss-pam-ldap).
  Thanks to 0XBF.
d/subversion-1.14.3-x86_64-1.txz:  Upgraded.
l/libvisual-0.4.2-x86_64-1.txz:  Upgraded.
l/libvisual-plugins-0.4.2-x86_64-1.txz:  Upgraded.
l/netpbm-11.05.01-x86_64-1.txz:  Upgraded.
xfce/thunar-4.18.9-x86_64-1.txz:  Upgraded.
testing/packages/grub-2.12-x86_64-1.txz:  Added.
2023-12-29 22:35:49 +01:00

28 lines
766 B
Diff

From ac560966d09295663fa9516d8d137e0c0fd04c06 Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Mon, 12 Jun 2023 07:42:01 +0200
Subject: [PATCH 1/1] support dropins for default configuration
---
util/grub-mkconfig.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in
index 1a945085c..4338dceef 100644
--- a/util/grub-mkconfig.in
+++ b/util/grub-mkconfig.in
@@ -160,6 +160,11 @@ fi
if test -f ${sysconfdir}/default/grub ; then
. ${sysconfdir}/default/grub
fi
+for dropin in ${sysconfdir}/default/grub.d/*.cfg ; do
+ if test -f "${dropin}" ; then
+ . "${dropin}"
+ fi
+done
if [ "x${GRUB_DISABLE_UUID}" = "xtrue" ]; then
if [ -z "${GRUB_DISABLE_LINUX_UUID}" ]; then
--
2.41.0