|
|
@ -19,6 +19,11 @@ NPROC=$(nproc)
|
|
|
|
[ -z "$NPROC" ] && NPROC=1
|
|
|
|
[ -z "$NPROC" ] && NPROC=1
|
|
|
|
|
|
|
|
|
|
|
|
# NB: this loop runs 2000+ iterations. Try to be fast.
|
|
|
|
# NB: this loop runs 2000+ iterations. Try to be fast.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Test
|
|
|
|
|
|
|
|
echo "Current home is $(pwd)"
|
|
|
|
|
|
|
|
find . -name 'sign-file'
|
|
|
|
|
|
|
|
|
|
|
|
echo "$modules" | xargs -r -n16 -P $NPROC sh -c "
|
|
|
|
echo "$modules" | xargs -r -n16 -P $NPROC sh -c "
|
|
|
|
for mod; do
|
|
|
|
for mod; do
|
|
|
|
./scripts/sign-file sha256 $MODSECKEY $MODPUBKEY \$mod
|
|
|
|
./scripts/sign-file sha256 $MODSECKEY $MODPUBKEY \$mod
|
|
|
|