mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
artifact-rootfs: add desktop info (environment, config_name, appgrous) to artifact_version_reason (so we can debug when I mess up later)
This commit is contained in:
committed by
igorpecovnik
parent
7c0fb70a2b
commit
1ad9f7cbd2
@@ -41,6 +41,13 @@ function artifact_rootfs_prepare_version() {
|
||||
"cache_id \"${rootfs_cache_id}\""
|
||||
)
|
||||
|
||||
# add more reasons for desktop stuff
|
||||
if [[ "${DESKTOP_ENVIRONMENT}" != "" ]]; then
|
||||
reasons+=("desktop_environment \"${DESKTOP_ENVIRONMENT}\"")
|
||||
reasons+=("desktop_environment_config_name \"${DESKTOP_ENVIRONMENT_CONFIG_NAME}\"")
|
||||
reasons+=("desktop_appgroups_selected \"${DESKTOP_APPGROUPS_SELECTED}\"")
|
||||
fi
|
||||
|
||||
# rootfs does NOT include ${artifact_prefix_version} -- there's no reason to, since rootfs is not in an apt repo
|
||||
# instead, we use YYYYMM to make a new rootfs cache version per-month, even if nothing else changes.
|
||||
declare yyyymm="undetermined"
|
||||
|
||||
Reference in New Issue
Block a user