This commit is contained in:
Pascal Vizeli 2018-05-15 23:56:07 +02:00 committed by GitHub
parent 3599b68c97
commit 55d1d73cd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ install_hassos_cli
sed -i "s/%COMPATIBLE%/${HASSIO_ID}-${BOARD_ID}/g" ${TARGET_DIR}/etc/rauc/system.conf
# Settup the correct CA
if [ ${DEPLOYMENT} == "development"]; then
if [ "${DEPLOYMENT}" == "development" ]; then
cp ${BR2_EXTERNAL_HASSOS_PATH}/ca/provisioning-ca.pem ${TARGET_DIR}/etc/rauc/keyring.pem
else
cp ${BR2_EXTERNAL_HASSOS_PATH}/ca/rel-ca.pem ${TARGET_DIR}/etc/rauc/keyring.pem