Skip to content

Commit

Permalink
build: image: explicitly pass --rootfs to append-ubi
Browse files Browse the repository at this point in the history
Rootfs is now optional in ubinize-image.sh and
requires --rootfs flag instead of just passing the
rootfs image as the argument before ubinize opts.

So, simply add --rootfs flag before the $(IMAGE_ROOTFS).

Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
robimarko authored and hauke committed Nov 28, 2021
1 parent 5a305e4 commit 6db4a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/image-commands.mk
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ define Build/append-ubi
$(if $(UBOOTENV_IN_UBI),--uboot-env) \
$(if $(KERNEL_IN_UBI),--kernel $(IMAGE_KERNEL)) \
$(foreach part,$(UBINIZE_PARTS),--part $(part)) \
$(IMAGE_ROOTFS) \
--rootfs $(IMAGE_ROOTFS) \
$@.tmp \
-p $(BLOCKSIZE:%k=%KiB) -m $(PAGESIZE) \
$(if $(SUBPAGESIZE),-s $(SUBPAGESIZE)) \
Expand Down

0 comments on commit 6db4a03

Please sign in to comment.