From 360a6ff884f9a72cec171b5adf19e2aa3a946434 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Thu, 19 Mar 2026 16:29:15 +0700 Subject: [PATCH] Add rebuild-push --- mk/repo.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mk/repo.mk b/mk/repo.mk index a5608fc85..93d96d933 100644 --- a/mk/repo.mk +++ b/mk/repo.mk @@ -26,7 +26,7 @@ image-tree: $(FSTOOLS_TAG) $(CONTAINER_TAG) ifeq ($(PODMAN_BUILD),1) $(PODMAN_RUN) make $@ else - @$(REPO_BIN) push-tree $(COOKBOOK_OPTS) --with-package-deps + @$(REPO_BIN) push-tree $(COOKBOOK_OPTS) endif # Clean specific target to all recipes, similar to repo_clean but more specific @@ -138,7 +138,7 @@ pt.%: $(FSTOOLS_TAG) FORCE ifeq ($(PODMAN_BUILD),1) $(PODMAN_RUN) make $@ else - $(REPO_BIN) push-tree $(foreach f,$(subst $(comma), ,$*),$(f)) $(COOKBOOK_OPTS) --with-package-deps + $(REPO_BIN) push-tree $(foreach f,$(subst $(comma), ,$*),$(f)) $(COOKBOOK_OPTS) endif # Push all recipes specified by the filesystem config @@ -162,6 +162,12 @@ ifeq ($(ALLOW_FSTOOLS),1) fi endif +# Rebuild and push all recipes specified by the filesystem config +rebuild-push: $(FSTOOLS_TAG) FORCE + rm -f $(REPO_TAG) + $(MAKE) repo + $(MAKE) push + # Invoke unfetch for one or more targets separated by comma u.%: $(FSTOOLS_TAG) FORCE ifeq ($(PODMAN_BUILD),1)