[PATCH] base-files: fix sysupgrade with ubi and kernel sharing partition

Bjørn Mork bjorn at mork.no
Wed May 4 08:25:55 PDT 2022


Sungbo Eo <mans0n at gorani.run> writes:
> On 2022-05-02 17:10, Bjørn Mork wrote:
>
>> Another alternative is of course to add another partition for the
>> OpenWrt kernel (pointed to by $CI_KERNPART), keeping the "Kernel" as an
>> unused container only.  Maybe the safest solution?
>
> How about using partition nesting here? I've started to use it for NAND
> devices recently. One example:
> https://github.com/openwrt/openwrt/blob/65258f5d6093/target/linux/ramips/dts/mt7621_iptime_t5004.dts#L62-L79

Yes, that was what I meant. I believe it's a good solution.


Bjørn




More information about the openwrt-devel mailing list