build: when signing, let it be know what we sign for

This commit is contained in:
Franco Fichtner 2017-07-26 15:25:36 +02:00
parent a2907560f3
commit 3454045c6a
1 changed files with 2 additions and 2 deletions

View File

@ -444,7 +444,7 @@ setup_entropy()
generate_signature()
{
if [ -n "$(${PRODUCT_SIGNCHK})" ]; then
echo -n ">>> Signing $(basename ${1})... "
echo -n ">>> Creating ${PRODUCT_SETTINGS} signature for $(basename ${1})... "
sha256 -q ${1} | ${PRODUCT_SIGNCMD} > ${1}.sig
echo "done"
fi
@ -456,7 +456,7 @@ sign_image()
return
fi
echo -n ">>> Creating signature for ${1}: "
echo -n ">>> Creating ${PRODUCT_SETTINGS} signature for ${1}: "
openssl dgst -sha256 -sign "${PRODUCT_PRIVKEY}" "${1}" | \
openssl base64 > "${2}"