When using a rootfs with external device too large for the emmc and a redundant rootfs partition, the APP_b partition is not removed from the emmc partition and therefore bup payload creation fails when it tries to place the too large rootfs into the emmc.
Expand the existing logic to remove the APP_b partition, if it exists, in addition to the APP partition.
Tested with jetson-xavier-nx-devkit-emmc with nvme and this config:
When using a rootfs with external device too large for the emmc and a redundant rootfs partition, the APP_b partition is not removed from the emmc partition and therefore bup payload creation fails when it tries to place the too large rootfs into the emmc.
Expand the existing logic to remove the APP_b partition, if it exists, in addition to the APP partition.
Tested with
jetson-xavier-nx-devkit-emmc
with nvme and this config:After boot I see a 51GB rootfs
Closes https://github.com/OE4T/meta-tegra/issues/1439