[neon/kde/ksystemstats/Neon/release] debian: get the path to the binary and the filename right
Carlos De Maine
null at kde.org
Thu Sep 11 13:31:59 BST 2025
Git commit ca65bc54865f3e0e297f549067e5c5038134c00e by Carlos De Maine.
Committed on 11/09/2025 at 12:31.
Pushed by carlosdem into branch 'Neon/release'.
get the path to the binary and the filename right
R +1 -1 debian/ksystemstats.postinst [from: debian/ksystemstats,postinst - 091% similarity]
M +1 -1 debian/setcap.yaml
https://invent.kde.org/neon/kde/ksystemstats/-/commit/ca65bc54865f3e0e297f549067e5c5038134c00e
diff --git a/debian/ksystemstats,postinst b/debian/ksystemstats.postinst
similarity index 91%
rename from debian/ksystemstats,postinst
rename to debian/ksystemstats.postinst
index 7e941a9..61ac1bf 100644
--- a/debian/ksystemstats,postinst
+++ b/debian/ksystemstats.postinst
@@ -7,7 +7,7 @@ if [ "$1" = configure ]; then
# The specific setcap invocations also need to be whitelisted to make the
# build pass (in debian/setcap.yaml as a nested array of argument
# arrays).
- path="/usr/bin/ksystemstats"
+ path="/usr/lib/*/libexec/ksystemstats_intel_helper"
if command -v setcap > /dev/null; then
cap="CAP_SYS_NICE=+ep"
if setcap $cap $path; then
diff --git a/debian/setcap.yaml b/debian/setcap.yaml
index f147272..9399163 100644
--- a/debian/setcap.yaml
+++ b/debian/setcap.yaml
@@ -2,4 +2,4 @@
# Being whitelisted means they will pass the build without problems.
# A whitelisted call needs to have a corresponding setcap/setuid call in
# postinst so it actually gets applied.
-- ["CAP_SYS_NICE=+ep", "*/usr/bin/ksystemstats"]
\ No newline at end of file
+- ["CAP_SYS_NICE=+ep", "*/usr/lib/*/libexec/ksystemstats_intel_helper"]
\ No newline at end of file
More information about the Neon-commits
mailing list