mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-kernel/dracut: change hostonly_cmdline default back to yes
Changing hostonly_cmdline default should not be taken lightly. Disabling it usually requires user action, since all necessary kernel command line arguments must be specified explicitly. Closes: https://bugs.gentoo.org/962586 Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Part-of: https://github.com/gentoo/gentoo/pull/43791 Closes: https://github.com/gentoo/gentoo/pull/43791 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
a4e1db1c94
commit
81173a4a1d
@@ -109,6 +109,8 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-108-elf-parsing-fixes.patch
|
||||
# https://github.com/dracut-ng/dracut-ng/pull/1122#issuecomment-3192110686
|
||||
"${FILESDIR}"/${PN}-108-disable-ukify-magic.patch
|
||||
# https://github.com/dracut-ng/dracut-ng/pull/1562
|
||||
"${FILESDIR}"/${PN}-108-hostonly_cmdline-default-yes.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
@@ -0,0 +1,23 @@
|
||||
From f0086c2f629365bdca8df76364747f7eb9799b59 Mon Sep 17 00:00:00 2001
|
||||
From: Jo Zzsi <jozzsicsataban@gmail.com>
|
||||
Date: Tue, 12 Aug 2025 07:17:52 -0400
|
||||
Subject: [PATCH] revert(efaee44): hostonly_cmdline should continue to default
|
||||
to yes
|
||||
|
||||
Despite the Fedora setting, let's keep the default to yes
|
||||
for distributions that do not whish to overwrite the default.
|
||||
---
|
||||
dracut.conf.d/hostonly/10-hostonly.conf | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/dracut.conf.d/hostonly/10-hostonly.conf b/dracut.conf.d/hostonly/10-hostonly.conf
|
||||
index c5bd9b22..72fc9299 100644
|
||||
--- a/dracut.conf.d/hostonly/10-hostonly.conf
|
||||
+++ b/dracut.conf.d/hostonly/10-hostonly.conf
|
||||
@@ -1,3 +1,2 @@
|
||||
# optimize initrd to be as small as possible for faster boot performance, tailored to the current host
|
||||
hostonly="yes"
|
||||
-hostonly_cmdline=no
|
||||
--
|
||||
2.49.1
|
||||
|
||||
Reference in New Issue
Block a user