From 6cb009b1640105f689264b8ce859392ae760f5ec Mon Sep 17 00:00:00 2001 From: Tulip Blossom Date: Sun, 2 Nov 2025 11:42:50 -0300 Subject: [PATCH] feat(cachyos-ksm-settings): enable KSM for services based off of greetd as well I'm not 100% sure this is necessary, but this adds the KSM stuff to greetd as well --- sources/cachyos-ksm-settings/cachyos-ksm-settings.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/cachyos-ksm-settings/cachyos-ksm-settings.spec b/sources/cachyos-ksm-settings/cachyos-ksm-settings.spec index d1457aca..2ab91255 100644 --- a/sources/cachyos-ksm-settings/cachyos-ksm-settings.spec +++ b/sources/cachyos-ksm-settings/cachyos-ksm-settings.spec @@ -2,7 +2,7 @@ %define debug_package %{nil} Name: cachyos-ksm-settings -Release: 3%{?dist} +Release: 4%{?dist} Version: 1 Summary: Package for easy configuration of KSM via systemd URL: https://github.com/CachyOS/CachyOS-PKGBUILDS @@ -28,6 +28,7 @@ Requires: systemd >= 256 install -Dm644 %{SOURCE1} "%{buildroot}/%{_prefix}/lib/systemd/system/ly.service.d/10-ksm.conf" install -Dm644 %{SOURCE1} "%{buildroot}/%{_prefix}/lib/systemd/system/user@.service.d/10-ksm.conf" install -Dm644 %{SOURCE1} "%{buildroot}/%{_prefix}/lib/systemd/system/getty@.service.d/10-ksm.conf" + install -Dm644 %{SOURCE1} "%{buildroot}/%{_prefix}/lib/systemd/system/greetd.service.d/10-ksm.conf" install -Dm644 %{SOURCE0} "%{buildroot}/%{_prefix}/lib/tmpfiles.d/10-enable-ksm-by-default.conf" install -Dm755 %{SOURCE2} "%{buildroot}/%{_bindir}/ksmctl" install -Dm755 %{SOURCE3} "%{buildroot}/%{_bindir}/ksmstats"