lib: completely remove CHOSEN_xxx, BSP_xxx_NAME, BSPFREEZE=yes

This commit is contained in:
Ricardo Pardini
2023-03-30 16:31:20 +02:00
committed by Igor Pečovnik
parent ed0b406265
commit f969a5e30f
2 changed files with 0 additions and 16 deletions

View File

@@ -396,13 +396,6 @@ function install_distribution_agnostic() {
install_deb_chroot "wireguard-tools" "remote"
fi
# freeze armbian packages
if [[ $BSPFREEZE == yes ]]; then
display_alert "Freezing Armbian packages" "$BOARD" "info"
# @TODO: rpardini: this will probably fail if one or more packages are not installed
chroot_sdcard apt-mark hold "${CHOSEN_KERNEL}" "${CHOSEN_KERNEL/image/headers}" "linux-u-boot-${BOARD}-${BRANCH}" "${CHOSEN_KERNEL/image/dtb}"
fi
# remove deb files
run_host_command_logged rm -fv "${SDCARD}"/root/*.deb