nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone
Blob Blame History Raw
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Robbie Harwood <rharwood@redhat.com>
Date: Wed, 17 Aug 2022 11:30:30 -0400
Subject: [PATCH] squish: give up on rhgb quiet

Signed-off-by: Robbie Harwood <rharwood@redhat.com>
(cherry picked from commit 12354f586f0748efc5c016b7d2053330f784ab4e)
---
 util/grub.d/10_linux.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
index becf5ba9c6..5a7e5326da 100644
--- a/util/grub.d/10_linux.in
+++ b/util/grub.d/10_linux.in
@@ -171,10 +171,6 @@ update_bls_cmdline()
 	# anaconda has the correct information to create this during install;
 	# afterward, grubby will take care of syncing on updates.  If the user
 	# has modified /etc/default/grub, try to cope.
-	if [[ ! "$cmdline" =~ "rhgb quiet" ]]; then
-	    # ensure these only show up once
-	    cmdline="$cmdline rhgb quiet"
-	fi
 	echo "$cmdline" > /etc/kernel/cmdline
     fi