armbian-next: we don't really need target RELEASE defined to install host deps (for now), don't freak out about it

This commit is contained in:
Ricardo Pardini
2023-01-23 00:37:37 +01:00
parent 8825a99845
commit 3cac8f44a4

View File

@@ -212,12 +212,12 @@ function early_prepare_host_dependencies() {
function late_prepare_host_dependencies() {
[[ -z "${ARCH}" ]] && exit_with_error "ARCH is not set"
[[ -z "${RELEASE}" ]] && exit_with_error "RELEASE is not set"
[[ -z "${HOSTRELEASE}" ]] && exit_with_error "HOSTRELEASE is not set"
[[ -z "${HOSTARCH}" ]] && exit_with_error "HOSTARCH is not set"
[[ -z "${RELEASE}" ]] && display_alert "RELEASE is not set" "defaulting to host's '${HOSTRELEASE}'" "debug"
target_arch="${ARCH}" host_release="${HOSTRELEASE}" \
host_arch="${HOSTARCH}" target_release="${RELEASE}" \
host_arch="${HOSTARCH}" target_release="${RELEASE:-"${HOSTRELEASE}"}" \
early_prepare_host_dependencies
}