artifact: rootfs: fix artifact_rootfs_config_dump() with added rootfs pkgs

This commit is contained in:
Ricardo Pardini
2023-04-16 16:04:42 +02:00
committed by Igor Pečovnik
parent bf77c5e8a3
commit ded6d1e319

View File

@@ -17,7 +17,7 @@ function artifact_rootfs_config_dump() {
artifact_input_variables[DESKTOP_APPGROUPS_SELECTED]="${DESKTOP_APPGROUPS_SELECTED:-"no_DESKTOP_APPGROUPS_SELECTED_set"}"
# Hash of the packages added/removed by extensions
declare pkgs_hash="undetermined"
pkgs_hash="$(echo "${REMOVE_PACKAGES[*]} ${REMOVE_PACKAGES_REFS[*]}" | sha256sum | cut -d' ' -f1)"
pkgs_hash="$(echo "${REMOVE_PACKAGES[*]} ${EXTRA_PACKAGES_ROOTFS[*]}" | sha256sum | cut -d' ' -f1)"
artifact_input_variables[EXTRA_PKG_ADD_REMOVE_HASH]="${pkgs_hash}"
}