Skip to content

Commit 986f774

Browse files
iavclaude
authored andcommitted
drop deprecated KERNEL_UPGRADE_FREEZE feature
Was only used once (orangepi5pro.csc) and has been deprecated. Remove the implementation, the board config, and the README entry. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ac9d08c commit 986f774

3 files changed

Lines changed: 0 additions & 19 deletions

File tree

config/boards/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ If you are unsure about the documentation then invoke `$ grep -r -A5 -B5 "BUILD_
8080
- [branch]: Use specified [branch] kernel
8181
- [none]: Exits with error
8282
- **KERNEL_TEST_TARGET** ( comma-separated list of kernel releases or branches ): if test targets are different for testings. Also applies to build list generation. (internal switch)
83-
- **KERNEL_UPGRADE_FREEZE** ( comma-separated list of kernels with versions obove which they stop updating, example: KERNEL_UPGRADE_FREEZE="vendor-rk35xx@24.8.1,current-rockchip-rk3588@24.8.2" )
8483
- **FULL_DESKTOP** ( boolean ): defines whether to install desktop stack of applications such as office, thunderbird, etc..
8584
- Values:
8685
- yes: install desktop stack

config/boards/orangepi5pro.csc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ BOOT_SCENARIO="spl-blobs"
1414
BOOT_SUPPORT_SPI="yes"
1515
BOOT_SPI_RKSPI_LOADER="yes"
1616
IMAGE_PARTITION_TABLE="gpt"
17-
KERNEL_UPGRADE_FREEZE="vendor-rk35xx@24.8.1"
1817

1918
function post_family_tweaks__orangepi5pro_naming_audios() {
2019
display_alert "$BOARD" "Renaming orangepi5pro audios" "info"

lib/functions/bsp/armbian-bsp-cli-deb.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -229,23 +229,6 @@ function compile_armbian-bsp-cli() {
229229
artifact_package_hook_helper_board_side_functions "postinst" board_side_bsp_cli_postinst_base "${postinst_functions[@]}" board_side_bsp_cli_postinst_finish
230230
unset board_side_bsp_cli_postinst_base board_side_bsp_cli_postinst_update_uboot_bootscript board_side_bsp_cli_postinst_finish
231231

232-
### preventing upgrading stable kernels beyond version if defined
233-
# if freeze variable is removed, upgrade becomes possible again
234-
if [[ "${BETA}" != "yes" ]]; then
235-
for pin_variants in $(echo $KERNEL_UPGRADE_FREEZE | sed "s/,/ /g"); do
236-
IFS=' ' read -ra extracted_pins <<< "${pin_variants//@/ }"
237-
if [[ "${BRANCH}-${LINUXFAMILY}" == "${extracted_pins[0]}" ]]; then
238-
cat <<- EOF >> "${destination}"/etc/apt/preferences.d/frozen-armbian
239-
Package: linux-*-${extracted_pins[0]}
240-
Pin: version ${extracted_pins[1]}
241-
Pin-Priority: 999
242-
EOF
243-
fi
244-
done
245-
else
246-
touch "${destination}"/etc/apt/preferences.d/frozen-armbian
247-
fi
248-
249232
# add some summary to the image # @TODO: another?
250233
fingerprint_image "${destination}/etc/armbian.txt"
251234

0 commit comments

Comments
 (0)