From a0eec0765395584a17c1a475a67695bdb5abf0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=BCke?= Date: Thu, 28 Sep 2023 11:13:30 +0200 Subject: [PATCH] Update upload_package Co-authored-by: Krzesimir Nowak --- upload_package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload_package b/upload_package index 9f57dbe..5a779ff 100755 --- a/upload_package +++ b/upload_package @@ -54,7 +54,7 @@ PAYLOAD_SIZE=$(stat --format='%s' "${UPDATE_PATH}") PAYLOAD_SHA1=$(cat "${UPDATE_PATH}" | openssl dgst -sha1 -binary | base64) PAYLOAD_SHA256=$(cat "${UPDATE_PATH}" | openssl dgst -sha256 -binary | base64) -(cd "${DATA_DIR}" && sha256sum "flatcar_production_update.gz") > "${UPDATE_CHECKSUM_PATH}" +env --chdir "${DATA_DIR}" sha256sum "flatcar_production_update.gz" > "${UPDATE_CHECKSUM_PATH}" EXTRA_FILES=() EXTRA_SUMS=()