Fixes issues where the second-stage u-boot already uses UBI.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
SUBPAGESIZE := 512
BLOCKSIZE := 128k
IMAGES := sysupgrade.tar
- UBINIZE_OPTS := -E 5
IMAGE/sysupgrade.tar := sysupgrade-tar
endef
KERNEL_SIZE := 2624k
FILESYSTEMS := squashfs
IMAGES += factory.bin
+ UBINIZE_OPTS := -E 5
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
endef
KERNEL_SIZE := 2688k
FILESYSTEMS := squashfs
IMAGES += factory.bin
+ UBINIZE_OPTS := -E 5
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
endef