artifact: rootfs: fix artifact_rootfs_config_dump() to include all inputs to aggregation

- @TODO: still missing, actually have an EXTRA_ROOTFS_SUFFIX or such, otherwise extensions just pollute the version-space
This commit is contained in:
Ricardo Pardini
2023-04-13 21:34:55 +02:00
parent 953ab276d0
commit 664b482b31

View File

@@ -10,7 +10,15 @@
function artifact_rootfs_config_dump() {
artifact_input_variables[ARCH]="${ARCH}"
artifact_input_variables[RELEASE]="${RELEASE}"
artifact_input_variables[CACHE_TYPE]="${cache_type:-"no_cache_type_yet"}"
artifact_input_variables[SELECTED_CONFIGURATION]="${SELECTED_CONFIGURATION}" # should be represented below anyway
artifact_input_variables[BUILD_MINIMAL]="${BUILD_MINIMAL}"
artifact_input_variables[DESKTOP_ENVIRONMENT]="${DESKTOP_ENVIRONMENT:-"no_DESKTOP_ENVIRONMENT_set"}"
artifact_input_variables[DESKTOP_ENVIRONMENT_CONFIG_NAME]="${DESKTOP_ENVIRONMENT_CONFIG_NAME:-"no_DESKTOP_ENVIRONMENT_CONFIG_NAME_set"}"
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)"
artifact_input_variables[EXTRA_PKG_ADD_REMOVE_HASH]="${pkgs_hash}"
}
function artifact_rootfs_prepare_version() {