Enable allow-downgrades to base-files install to allow building images with older version than current

Framework stores our base-files in rootfs cache with version that comes from trunk and when we make stable images for current or previous release, build fails with error  E: Packages were downgraded and -y was used without --allow-downgrades.
This commit is contained in:
Igor Pecovnik 2024-08-22 10:43:45 +02:00 committed by August
parent cdf52784cb
commit 68a01df343

View File

@ -37,7 +37,7 @@ function install_distribution_specific() {
# install our base-files package (this replaces the original from Debian/Ubuntu)
if [[ "${KEEP_ORIGINAL_OS_RELEASE:-"no"}" != "yes" ]]; then
install_artifact_deb_chroot "armbian-base-files"
install_artifact_deb_chroot "armbian-base-files" "--allow-downgrades"
fi
# Set DNS server if systemd-resolved is in use