builds and runs on intel-x86 and rpi4 with acceptable realtime performance

This commit is contained in:
vaughn committed 2026-09-25 17:29:14 -04:00
1 parent 2bce6fa556
commit 3faf544f0b
120 files changed
+6317 -1

No files matched your search

@@ -0,0 +1,27 @@
Upstream-Status: Inappropriate [oe specific]
diff --git a/tuned.spec b/tuned.spec
index 0b7dc03..6213976 100644
--- a/tuned.spec
+++ b/tuned.spec
@@ -397,7 +397,7 @@ if [ "$1" == 0 ]; then
# cleanup for Boot loader specification (BLS)
# clear grubenv variables
- grub2-editenv - unset tuned_params tuned_initrd &>/dev/null || :
+ grub2-editenv "/boot/EFI/BOOT/grubenv" unset tuned_params tuned_initrd &>/dev/null || :
# unpatch BLS entries
MACHINE_ID=`cat /etc/machine-id 2>/dev/null`
if [ "$MACHINE_ID" ]
diff --git a/tuned/plugins/plugin_bootloader.py b/tuned/plugins/plugin_bootloader.py
index 2711e11..c327384 100644
--- a/tuned/plugins/plugin_bootloader.py
+++ b/tuned/plugins/plugin_bootloader.py
@@ -481,7 +481,7 @@ class BootloaderPlugin(base.Plugin):
def _update_grubenv(self, d):
log.debug("updating grubenv, setting %s" % str(d))
l = ["%s=%s" % (str(option), str(value)) for option, value in d.items()]
- (rc, out) = self._cmd.execute(["grub2-editenv", "-", "set"] + l)
+ (rc, out) = self._cmd.execute(["grub2-editenv", "/boot/EFI/BOOT/grubenv", "set"] + l)
if rc != 0:
log.warning("cannot update grubenv: '%s'" % out)
return False