Create CoreOS build path before accessing it

This commit is contained in:
Nils Hanke 2022-09-16 16:48:23 +02:00 committed by Nils Hanke
parent fdfe7ddece
commit b30e01bb49

View File

@ -72,6 +72,7 @@ cosa-image:
make -j 1 -C $(COSA_BUILDDIR)
cosa-init:
mkdir -p $(COREOS_BUILD_PATH)
-flock $(COSA_LOCKFILE) -c '. $(COSA_ENV) && cd $(COREOS_BUILD_PATH) && NETRC=$(NETRC) cosa init --branch $(COSA_INIT_BRANCH) $(COSA_INIT_REPO)'
cosa-fetch: cosa-init kernel $(BOOTSTRAPPER_OVERRIDE_PATH) $(DISK_MAPPER_OVERRIDE_PATH)