Add opt-in Plasma fingerprint workaround
This commit is contained in:
+20
@@ -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"
|
||||
Reference in New Issue
Block a user