1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-12 03:11:55 +00:00

Update sign.sh

This commit is contained in:
Ycarus 2018-08-28 18:55:12 +02:00
parent 9c954a3e6b
commit e8f9b01b2d

View file

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