From 2bb9bea1a6a5145bb5f192cf2b11cfbb24b5ec41 Mon Sep 17 00:00:00 2001 From: George Brooke Date: Tue, 17 Jun 2025 20:17:52 +0545 Subject: [PATCH] systemd/postmarketos-base-systemd: enable tuned and tuned-ppd by default Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6585 [ci:skip-build]: already built successfully in CI --- extra-repos/systemd/postmarketos-base-systemd/APKBUILD | 4 ++-- .../rootfs-usr-lib-systemd-system-preset-90-base.preset | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/extra-repos/systemd/postmarketos-base-systemd/APKBUILD b/extra-repos/systemd/postmarketos-base-systemd/APKBUILD index e1d073d4e..2700fad14 100644 --- a/extra-repos/systemd/postmarketos-base-systemd/APKBUILD +++ b/extra-repos/systemd/postmarketos-base-systemd/APKBUILD @@ -2,7 +2,7 @@ # Co-maintainer: Clayton Craft # pmbootstrap installs this, if systemd is selected in "pmbootstrap init". pkgname=postmarketos-base-systemd -pkgver=46 +pkgver=47 pkgrel=0 pkgdesc="Meta package for running postmarketOS with systemd" url="https://postmarketos.org" @@ -100,7 +100,7 @@ sha512sums=" 2faac294bb632762e247b850f09ff4b544ccff6c462efd8d4faca71ba30bdfa9c460377a0dc88e92c5dbbe251017d164064a56ac0e0410f224b45d4f5f81866c rootfs-etc-systemd-logind.conf 15423bfda57c90ab62fe69865ca4072a0aeb83bf77d9c278257e346f4da81843d010b41003c91ae9f3fcb1c67447645e7c19078eea2bf11312051e6ad7523ad1 rootfs-usr-share-mkinitfs-files-extra-01-initramfs-base-systemd.files 94063e3a3f983b7613d9de6bfc067096f79b12688f45667faf968f9a9bae194c4c8e554311f2ab5614edcc4d4499f6d30aa965a67b7417c26ce4d07edc847178 rootfs-usr-lib-NetworkManager-conf.d-50-dns.conf -2dafb7538b7c3850026b4ebf857e8fbaddf1735203403c8ed0b7b88253939f199b9ed5c6fa197fbdcff236be54090cb7210ccc01f22775695c6f939830c9d1d7 rootfs-usr-lib-systemd-system-preset-90-base.preset +841c4a173684a1b2afe41848b290c777252662937574cd9156c259c5f4b23537015a154e433862fd00c07726febaf97f3ef7275c15f04e4e1db3ffeca7ccdbec rootfs-usr-lib-systemd-system-preset-90-base.preset 1458d526e3d68c052126f648a33c3f22af10e3a4d479dded824c2b18b2022b43232ea6f8c2061f051927b2d612750017a2ecf7e1a19680b71ca2dc112d5bd3f6 rootfs-usr-lib-systemd-system-system.slice.d-10-oomd-defaults.conf 8f7cbea82fca3ceaa99cb8b03f6043d12ffe6865dec17da7a903a86d40e6e355473d290d87a5d3e54dd1770afa7751f33addabe3f756fd6aa600f1be9caba9fd rootfs-usr-lib-systemd-user-preset-90-base.preset 1458d526e3d68c052126f648a33c3f22af10e3a4d479dded824c2b18b2022b43232ea6f8c2061f051927b2d612750017a2ecf7e1a19680b71ca2dc112d5bd3f6 rootfs-usr-lib-systemd-user-slice.d-10-oomd-defaults.conf diff --git a/extra-repos/systemd/postmarketos-base-systemd/rootfs-usr-lib-systemd-system-preset-90-base.preset b/extra-repos/systemd/postmarketos-base-systemd/rootfs-usr-lib-systemd-system-preset-90-base.preset index 0fee58d5a..a37c8832e 100644 --- a/extra-repos/systemd/postmarketos-base-systemd/rootfs-usr-lib-systemd-system-preset-90-base.preset +++ b/extra-repos/systemd/postmarketos-base-systemd/rootfs-usr-lib-systemd-system-preset-90-base.preset @@ -29,6 +29,10 @@ enable zram_swap.service enable systemd-oomd.service enable alsa-restore.service enable alsa-state.service +# Note: tuned-ppd can be dbus activated but it and tuned are being enabled here +# so that they start at boot without waiting for a user to login. +enable tuned.service +enable tuned-ppd.service # Note: technically these two shouldn't be enabled at the same time, but # pmos-base-wifi provides should make sure that only one is installed at the