artifact-armbian-bsp-cli: hash more variables included in /etc/armbian-release

This commit is contained in:
Ricardo Pardini 2023-04-03 13:15:54 +02:00 committed by Igor Pečovnik
parent 9341455567
commit 369e69a553

View File

@ -42,7 +42,14 @@ function artifact_armbian-bsp-cli_prepare_version() {
"${bootscript_info[bootenv_file_contents]}"
"${bootscript_info[has_bootscript]}"
"${bootscript_info[has_extlinux]}"
"${UBOOT_FW_ENV}" # not included in bootscript
"${UBOOT_FW_ENV}" # not included in bootscript
"${BOARDFAMILY}" # /etc/armbian-release
"${LINUXFAMILY}" # /etc/armbian-release
"${IMAGE_TYPE}" # /etc/armbian-release
"${BOARD_TYPE}" # /etc/armbian-release
"${INITRD_ARCH}" # /etc/armbian-release
"${KERNEL_IMAGE_TYPE}" # /etc/armbian-release
"${VENDOR}" # /etc/armbian-release
)
declare hash_vars="undetermined"
hash_vars="$(echo "${vars_to_hash[@]}" | sha256sum | cut -d' ' -f1)"