1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00
openmptcprouter/sign.sh
suyunfan 48fd90eed2 Revert "fix"
This reverts commit 5d27825e79.
2021-03-31 23:22:24 +08:00

8 lines
236 B
Bash
Executable file

#!/bin/sh
key=${1:-key-build}
path=${2:-x86_64}
[ -d $path/source/bin ] && [ -f "$key" ] && \
find $path/source/bin \
\( -name '*.img.gz' -or -name 'Packages' \) \
-exec $path/source/staging_dir/host/bin/usign -S -m {} -s "$key" \;