From 101a861b23fabec5d17da47b23e4e2e94afeb2e4 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Aug 23 2018 13:33:00 +0000 Subject: Manual CentOS Debranding --- diff --git a/SOURCES/tuned-2.9.0-centos-rebranding.patch b/SOURCES/tuned-2.9.0-centos-rebranding.patch new file mode 100644 index 0000000..267b49c --- /dev/null +++ b/SOURCES/tuned-2.9.0-centos-rebranding.patch @@ -0,0 +1,12 @@ +diff -uNrp tuned-2.9.0.orig/tuned/consts.py tuned-2.9.0/tuned/consts.py +--- tuned-2.9.0.orig/tuned/consts.py 2017-10-29 19:57:37.000000000 +0000 ++++ tuned-2.9.0/tuned/consts.py 2018-08-23 13:29:03.336954048 +0000 +@@ -21,7 +21,7 @@ ERROR_THRESHOLD = 3 + + # bootloader plugin configuration + BOOT_DIR = "/boot" +-GRUB2_CFG_FILES = ["/boot/grub2/grub.cfg", "/boot/efi/EFI/redhat/grub.cfg", "/boot/efi/EFI/fedora/grub.cfg"] ++GRUB2_CFG_FILES = ["/boot/grub2/grub.cfg", "/boot/efi/EFI/redhat/grub.cfg", "/boot/efi/EFI/fedora/grub.cfg", "/boot/efi/EFI/centos/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 diff --git a/SPECS/tuned.spec b/SPECS/tuned.spec index d22bf31..edadb9b 100644 --- a/SPECS/tuned.spec +++ b/SPECS/tuned.spec @@ -24,6 +24,7 @@ Requires: python-schedutils Patch0: tuned-2.8.0-gtk-3.8.patch Patch1: tuned-2.9.0-scheduler-blacklist-thread-names.patch Patch2: tuned-2.9.0-use-online-cpus.patch +Patch999: tuned-2.9.0-centos-rebranding.patch %description The tuned package contains a daemon that tunes system settings dynamically. @@ -153,7 +154,7 @@ It can be also used to fine tune your system for specific scenarios. %patch0 -p1 %patch1 -p1 %patch2 -p1 - +%patch999 -p1 %build @@ -398,6 +399,9 @@ fi %{_mandir}/man7/tuned-profiles-compat.7* %changelog +* Thu Aug 23 2018 Johnny Hughes - 2.9.0-1.2 +- Manual CentOS Debrnading + * Wed Aug 8 2018 Jaroslav Škarvada - 2.9.0-1.2 - use online CPUs for cpusets calculations instead of present CPUs resolves: rhbz#1613951