mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
lib: completely remove CHOSEN_xxx, BSP_xxx_NAME, BSPFREEZE=yes
This commit is contained in:
committed by
Igor Pečovnik
parent
ed0b406265
commit
f969a5e30f
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user