Recover fingerprint authentication before user sessions resume
This commit is contained in:
1 parent
d2a6aafc71
commit
da66a3ae6c
6 files changed
+95
-1
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
repo_root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)
|
||||
tool_dir="$repo_root/fingerprint-resume-recovery"
|
||||
topdir="$repo_root/rpmbuild"
|
||||
mkdir -p "$topdir"/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
|
||||
install -m 0755 "$tool_dir/fingerprint-resume-recovery" "$topdir/SOURCES/fingerprint-resume-recovery"
|
||||
install -m 0644 "$repo_root/LICENSE" "$topdir/SOURCES/LICENSE"
|
||||
install -m 0644 "$tool_dir/README.md" "$topdir/SOURCES/README.md"
|
||||
rpmbuild --define "_topdir $topdir" -bb "$tool_dir/fingerprint-resume-recovery.spec"
|
||||
+2
-1
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: MIT
|
||||
# Requires the Fedora build dependencies for all seven tools; never installs them.
|
||||
# Requires the Fedora build dependencies for these tools; never installs them.
|
||||
set -euo pipefail
|
||||
repo_root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)
|
||||
build_dir=${FEDORA_TOOLS_TEST_BUILD_DIR:-"$repo_root/local/test-build"}
|
||||
@@ -9,6 +9,7 @@ for script in scripts/*; do
|
||||
if [[ -f $script ]]; then bash -n "$script"; fi
|
||||
done
|
||||
bash scripts/tests/test-source-archives
|
||||
sh -n fingerprint-resume-recovery/fingerprint-resume-recovery
|
||||
|
||||
plugin=touchpad-hold-tap/90-touchpad-hold-tap.lua
|
||||
lua touchpad-hold-tap/tests/test-touchpad-hold-tap.lua "$plugin"
|
||||
|
||||
Reference in new issue
Block a user