[neon/plasma/kwin-selenium-tester/Neon/stable_noble] debian: setcap is actually back

Carlos De Maine null at kde.org
Wed Sep 16 21:18:38 BST 2026


Git commit 8b488bf9ceb916170dbb989b7ff161384aa95593 by Carlos De Maine.
Committed on 16/09/2026 at 20:18.
Pushed by carlosdem into branch 'Neon/stable_noble'.

setcap is actually back

M  +7    -7    debian/rules
R  +1    -1    debian/setcap.yaml [from: debian/setcap.yaml.not-in-use - 095% similarity]

https://invent.kde.org/neon/plasma/kwin-selenium-tester/-/commit/8b488bf9ceb916170dbb989b7ff161384aa95593

diff --git a/debian/rules b/debian/rules
index 9609e05..fcaefed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,13 +27,13 @@ override_dh_auto_configure:
 	-DKWIN_BUILD_OVERVIEW=OFF \
 	-DBUILD_TESTING=OFF
 
-#override_dh_install:
-#	# make sure dir exists
-#	mkdir -p debian/kwin-selenium-tester/DEBIAN
-#	# sed in our multiarch path
-#	sed 's|@DEB_HOST_MULTIARCH@|$(DEB_HOST_MULTIARCH)|g' debian/kwin-selenium-tester.postinst.in > debian/kwin-selenium-tester/DEBIAN/postinst
-#	# ensure the postinst is executable
-#	chmod 755 debian/kwin-selenium-tester/DEBIAN/postinst
+override_dh_install:
+	# make sure dir exists
+	mkdir -p debian/kwin-selenium-tester/DEBIAN
+	# sed in our multiarch path
+	sed 's|@DEB_HOST_MULTIARCH@|$(DEB_HOST_MULTIARCH)|g' debian/kwin-selenium-tester.postinst.in > debian/kwin-selenium-tester/DEBIAN/postinst
+	# ensure the postinst is executable
+	chmod 755 debian/kwin-selenium-tester/DEBIAN/postinst
 
 override_dh_auto_test:
 	#do not run tests
diff --git a/debian/setcap.yaml.not-in-use b/debian/setcap.yaml
similarity index 95%
rename from debian/setcap.yaml.not-in-use
rename to debian/setcap.yaml
index 15c527e..453216e 100644
--- a/debian/setcap.yaml.not-in-use
+++ 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", "*/opt/kwin-selenium-tester/bin/kwin_wayland_wrapper"]
+- ["CAP_SYS_NICE=+ep", "*/opt/kwin-selenium-tester/bin/kwin_wayland"]


More information about the Neon-commits mailing list