Commit 31902ab8 authored by Heiko Schocher's avatar Heiko Schocher
Browse files

sign-fs: fix build if PASS_FILE is not set


 ("Signing fs: add PASS_FILE as set in README")
add handling of variable PASS_FILE. If this variable is
not set build failed, fix it.
Signed-off-by: Heiko Schocher's avatarHeiko Schocher <>
parent 825d05f0
......@@ -79,7 +79,7 @@ set_magic() {
attach_signature() {
if [ -n ${PASS_FILE} ];then
if [ -n "${PASS_FILE}" ];then
extraparms="-passin file:${PASS_FILE}"
openssl pkeyutl -sign -in ${DIGEST} -inkey ${SIGN_KEY} -out ${1}.sig ${extraparms} -pkeyopt digest:sha256
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment