Add more logging
This commit is contained in:
parent
8bd6c8217b
commit
5bf1dfdd90
@ -589,8 +589,9 @@ download_toolchain()
|
||||
|
||||
display_alert "Verifying"
|
||||
if grep -q 'BEGIN PGP SIGNATURE' ${filename}.asc; then
|
||||
gpg --list-keys 8F427EAF || gpg --keyserver keyserver.ubuntu.com --recv-keys 8F427EAF
|
||||
gpg --verify --trust-model always -q ${filename}.asc && verified=true
|
||||
(gpg --list-keys 8F427EAF || gpg --keyserver keyserver.ubuntu.com --recv-keys 8F427EAF) 2>&1 | tee -a $DEST/debug/output.log
|
||||
gpg --verify --trust-model always -q ${filename}.asc 2>&1 | tee -a $DEST/debug/output.log
|
||||
[[ ${PIPESTATUS[0]} -eq 0 ]] && verified=true
|
||||
else
|
||||
md5sum -c --status ${filename}.asc && verified=true
|
||||
fi
|
||||
|
||||
1
main.sh
1
main.sh
@ -155,6 +155,7 @@ source $SRC/lib/configuration.sh
|
||||
VERSION="Armbian $REVISION ${BOARD^} $DISTRIBUTION $RELEASE $BRANCH"
|
||||
|
||||
echo `date +"%d.%m.%Y %H:%M:%S"` $VERSION >> $DEST/debug/output.log
|
||||
(cd $SRC/lib; echo "Build script version: $(git rev-parse @)") >> $DEST/debug/output.log
|
||||
|
||||
display_alert "Starting Armbian build script" "@host" "info"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user