The image builder does not bundle sub-directories within $(KERNEL_BUILD_DIR),
therfore the intermediate "ventana-uImage.boot" directory is not shipped,
leading to failures with "make image" later on.
To circumvent the issue, store the intermediate boot files as tar archive
instead of putting them into a directory to ensure that they end up in the
final image builder tarball. Fixes FS#102
Signed-off-by: Jo-Philipp Wich <[email protected]>
--space-fixup --force-compr=zlib --squash-uids \
$(MKUBIFS_OPTS) -c 8124 \
+
endef
define Build/bootfs.tar.gz
- $(TAR) -C $(IMAGE_KERNEL).boot \
+
--numeric-owner --owner=0 --group=0 --transform "s,./,./boot/," \
-czvf $@ .
endef