Add opt-in Plasma fingerprint workaround

This commit is contained in:
ajp_anton
2026-09-04 23:16:15 +00:00
parent 810c8caf74
commit 19df3c3a75
16 changed files with 920 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -euo pipefail
repo_root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)
tool_dir="$repo_root/plasma-fingerprint-workaround"
topdir="$repo_root/rpmbuild"
mkdir -p "$topdir"/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
install -m 0755 \
"$tool_dir/plasma-fingerprint-workaround" \
"$topdir/SOURCES/plasma-fingerprint-workaround"
install -m 0644 "$tool_dir/payload.conf" "$topdir/SOURCES/payload.conf"
install -m 0644 "$repo_root/LICENSE" "$topdir/SOURCES/LICENSE"
install -m 0644 "$tool_dir/README.md" "$topdir/SOURCES/README.md"
install -m 0755 "$tool_dir/tests/test-controller" "$topdir/SOURCES/test-controller"
rpmbuild \
--define "_topdir $topdir" \
-bb "$tool_dir/plasma-fingerprint-workaround.spec"