chore(falcond): Add group (#8846) (#8852)

* chore(falcond): Add group

* chore: Bump release

---------


(cherry picked from commit d3c3230f87)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2026-01-02 14:18:36 -08:00
committed by GitHub
parent 496393bc33
commit c56af85fc6
+9 -1
View File
@@ -2,7 +2,7 @@
Name: falcond
Version: 1.2.2
Release: 1%?dist
Release: 2%?dist
Summary: Advanced Linux Gaming Performance Daemon
License: MIT
URL: https://git.pika-os.com/general-packages/falcond
@@ -15,6 +15,7 @@ Requires: %{name}-profiles
Requires: (scx-scheds or scx-scheds-nightly)
Suggests: %{name}-gui
Conflicts: gamemode
Provides: group(falcond)
Packager: Gilver E. <roachy@fyralabs.com>
%description
@@ -37,6 +38,13 @@ DESTDIR="%{buildroot}" \
%{zig_build_target -r fast -s} \
%endif
%pre
# Create falcond group if it doesn't exist
getent group 'falcond' >/dev/null || groupadd -f -r 'falcond' || :
# Root must be a member of the group
usermod -aG 'falcond' root || :
%post
%systemd_post %{name}.service