From a282f78e77f93d54a19438ae85c465afeeedfce7 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Wed, 17 Dec 2025 11:17:54 +0700 Subject: [PATCH] Add repo_clean and fetch_clean --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5a6d3381..3cdef5c2 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ else endif # CONTAINER_TAG else ifneq ($(NOT_ON_PODMAN),1) - $(MAKE) c.--all + $(MAKE) repo_clean -$(FUMOUNT) $(BUILD)/filesystem/ || true -$(FUMOUNT) /tmp/redox_installer/ || true endif # NOT_ON_PODMAN @@ -61,7 +61,7 @@ else endif # CONTAINER_TAG else ifneq ($(NOT_ON_PODMAN),1) - $(MAKE) u.--all + $(MAKE) fetch_clean endif # NOT_ON_PODMAN $(MAKE) clean NOT_ON_PODMAN=1 endif # PODMAN_BUILD @@ -72,6 +72,10 @@ pull: repo: $(BUILD)/repo.tag +repo_clean: c.--all + +fetch_clean: u.--all + # Podman build recipes and vars include mk/podman.mk