Skip to content

Commit 9fe36c1

Browse files
committed
Makefile: Add build dependencies for rootfs image
When using a custom registry (through REGISTRY variable) not all images must be already pushed, so make sure we have the right dependencies listed for rootfs image so they can be built if not present in the registry. Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
1 parent a047954 commit 9fe36c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,9 +749,9 @@ ifdef LIVE_UPDATE
749749
# Don't regenerate the whole image if tar was changed, but
750750
# do generate if does not exist. qcow2 target will handle
751751
# the rest
752-
$(ROOTFS_IMG): | $(ROOTFS_TAR) $(INSTALLER)
752+
$(ROOTFS_IMG): pkg/mkrootfs-$(ROOTFS_FORMAT) | $(ROOTFS_TAR) $(INSTALLER)
753753
else
754-
$(ROOTFS_IMG): $(ROOTFS_TAR) | $(INSTALLER)
754+
$(ROOTFS_IMG): pkg/mkrootfs-$(ROOTFS_FORMAT) $(ROOTFS_TAR) | $(INSTALLER)
755755
endif
756756
$(QUIET): $@: Begin
757757
./tools/makerootfs.sh imagefromtar -t $(ROOTFS_TAR) -i $@ -f $(ROOTFS_FORMAT) -a $(ZARCH)

0 commit comments

Comments
 (0)