From 949f56d78214d9e052b43a4e2d22c343a2fe707d Mon Sep 17 00:00:00 2001 From: Wildan M Date: Fri, 4 Jul 2025 08:23:09 +0700 Subject: [PATCH] Fix podman detection --- mk/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/config.mk b/mk/config.mk index 60d9cf567..b0994bb3f 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -33,7 +33,7 @@ REDOXFS_MKFS_FLAGS?= PODMAN_BUILD?=1 ## Enable sccache to speed up cargo builds ## only do this by default if this is inside podman -SSCACHE_BUILD?=$(PODMAN_BUILD) +SSCACHE_BUILD?=$(shell [ -f /run/.containerenv ] && echo 1 || echo 0) ## The containerfile to use for the Podman base image CONTAINERFILE?=podman/redox-base-containerfile