From f6153a6362f35b4186d7610a11fed247c52bb92a Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 12 Nov 2023 21:36:37 +0300 Subject: [PATCH] Added debug output --- SOURCES/mod-sign.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SOURCES/mod-sign.sh b/SOURCES/mod-sign.sh index c5f0c89..f1ae88a 100755 --- a/SOURCES/mod-sign.sh +++ b/SOURCES/mod-sign.sh @@ -19,6 +19,11 @@ NPROC=$(nproc) [ -z "$NPROC" ] && NPROC=1 # 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 " for mod; do ./scripts/sign-file sha256 $MODSECKEY $MODPUBKEY \$mod