Add repo_clean and fetch_clean

This commit is contained in:
Wildan M 2025-12-17 11:17:54 +07:00
parent a353fadfb1
commit a282f78e77
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -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