base-files: sysupgrade-tar: allow separated kernel/rootfs ubi
authorChuanhong Guo <gch981213@gmail.com>
Sun, 11 Dec 2022 11:56:13 +0000 (19:56 +0800)
committerChen Minqiang <ptpt52@gmail.com>
Sat, 17 Dec 2022 06:08:58 +0000 (14:08 +0800)
commit189637c96488e253c782ce0b9fd7f4a30c645df1
treeb0d9f434d963a5c94ecf3fc78e582838377b48dd
parentc48e511fef37c42820c02119dab68c2b6cde3374
base-files: sysupgrade-tar: allow separated kernel/rootfs ubi

There are some devices putting kernel and rootfs on separated
ubi volumes. To make OpenWrt compatible with their bootloader,
we need to put kernel and rootfs into separated ubi volumes.
Add support for CI_KERN_UBIPART and CI_ROOT_UBIPART for this
situation.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
package/base-files/files/lib/upgrade/nand.sh