nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0269-squish-give-up-on-rhgb-quiet.patch

b35c50
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
b35c50
From: Robbie Harwood <rharwood@redhat.com>
b35c50
Date: Wed, 17 Aug 2022 11:30:30 -0400
b35c50
Subject: [PATCH] squish: give up on rhgb quiet
b35c50
b35c50
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
b35c50
---
b35c50
 util/grub.d/10_linux.in | 4 ----
b35c50
 1 file changed, 4 deletions(-)
b35c50
b35c50
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
b35c50
index 41c6cb1dc2..5d1fa072f2 100644
b35c50
--- a/util/grub.d/10_linux.in
b35c50
+++ b/util/grub.d/10_linux.in
b35c50
@@ -166,10 +166,6 @@ update_bls_cmdline()
b35c50
 	# anaconda has the correct information to create this during install;
b35c50
 	# afterward, grubby will take care of syncing on updates.  If the user
b35c50
 	# has modified /etc/default/grub, try to cope.
b35c50
-	if [[ ! "$cmdline" =~ "rhgb quiet" ]]; then
b35c50
-	    # ensure these only show up once
b35c50
-	    cmdline="$cmdline rhgb quiet"
b35c50
-	fi
b35c50
 	echo "$cmdline" > /etc/kernel/cmdline
b35c50
     fi
b35c50