openwrt/package
Robert Marko f2c4064ecb base-files: dont always create kernel UBI volume
Currently nand_upgrade_tar() will pass the kernel length
to nand_upgrade_prepare_ubi() in all cases except for when
the kernel is to be installed in a separate partition as a
binary with the MTD tool.

While this is fine for almost all cases newer MikroTik NAND
devices like hAP ac3 require the kernel to be installed as a
UBIFS packed UBI volume in its own partition.

So, since we have a custom recipe to use ubiformat to flash
the kernel in its partition it makes no sense for sysupgrade
to also install the kernel as a UBI volume in the "ubi"
partition as it only wastes space and will never be used.

So, simply check whether CI_KERNPART is set to "none" and
if so unset the "has_kernel" variable which will in turn
prevent the kernel length from being passed on and then
the kernel UBI volume wont be created for no usefull purpose.

The ath79 MikroTik NAND target has been setting CI_KERNPART
to "none" for a while now altough that was not preventing
the kernel to be installed as UBI volume as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2021-11-28 17:17:22 +01:00
..
base-files base-files: dont always create kernel UBI volume 2021-11-28 17:17:22 +01:00
boot uboot-lantiq: danube: fix hanging lzma kernel uncompression #2 2021-11-27 21:49:10 +01:00
devel gdb: Make only full gdb depend on libgmp 2021-11-07 18:32:21 +01:00
firmware linux-firmware: add firmware for intel ax200 2021-11-20 21:08:25 +01:00
kernel ath10k-ct: update version to fix DFS for VHT160 2021-11-28 13:57:41 +01:00
libs gettext: remove package 2021-11-20 21:08:25 +01:00
network hostapd: add beacon_interval to get_status ubus output 2021-11-25 02:41:42 +01:00
system procd: setup /dev/stdin, /dev/stdout and /dev/stderr symlinks 2021-11-23 14:03:39 +00:00
utils f2fstools: set each library package VARIANT 2021-11-01 20:18:55 +01:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00