forked from redhat-performance/tuned
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change is already a PR: redhat-performance#387 Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
- Loading branch information
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 6768dc5befacf4c05846157a2927a54ee5e48ac5 Mon Sep 17 00:00:00 2001 | ||
From: Adriaan Schmidt <adriaan.schmidt@siemens.com> | ||
Date: Thu, 10 Mar 2022 08:19:36 +0000 | ||
Subject: [PATCH] debian: path to grub.cfg | ||
|
||
--- | ||
tuned/consts.py | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/tuned/consts.py b/tuned/consts.py | ||
index 06e7cac..d8d35bb 100644 | ||
--- a/tuned/consts.py | ||
+++ b/tuned/consts.py | ||
@@ -26,7 +26,7 @@ ERROR_THRESHOLD = 3 | ||
|
||
# bootloader plugin configuration | ||
BOOT_DIR = "/boot" | ||
-GRUB2_CFG_FILES = ["/etc/grub2.cfg", "/etc/grub2-efi.cfg"] | ||
+GRUB2_CFG_FILES = ["/boot/grub/grub.cfg"] | ||
GRUB2_CFG_DIR = "/etc/grub.d" | ||
GRUB2_TUNED_TEMPLATE_NAME = "00_tuned" | ||
GRUB2_TUNED_TEMPLATE_PATH = GRUB2_CFG_DIR + "/" + GRUB2_TUNED_TEMPLATE_NAME | ||
-- | ||
2.35.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
etc-default.patch | ||
explicitly-use-bin-bash-for-tuned-scripts.patch | ||
path-to-grub.cfg.patch |