From 3599b68c97fec494fb33208a39c6dd94edf2c9f5 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 15 May 2018 23:52:31 +0200 Subject: [PATCH] fix rel --- buildroot-external/scripts/post-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildroot-external/scripts/post-build.sh b/buildroot-external/scripts/post-build.sh index 61b6f9d94..1dabd0dce 100755 --- a/buildroot-external/scripts/post-build.sh +++ b/buildroot-external/scripts/post-build.sh @@ -35,8 +35,8 @@ 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/re-ca.pem ${TARGET_DIR}/etc/rauc/keyring.pem + cp ${BR2_EXTERNAL_HASSOS_PATH}/ca/rel-ca.pem ${TARGET_DIR}/etc/rauc/keyring.pem fi