mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user