Add cookbook_opt to fetch target

This commit is contained in:
Wildan M 2025-11-20 07:26:51 -08:00
parent 996e9d5463
commit 73c1b81fa6
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -46,7 +46,7 @@ ifeq ($(PODMAN_BUILD),1)
else
export PATH="$(PREFIX_PATH):$$PATH" && \
export COOKBOOK_HOST_SYSROOT="$(ROOT)/$(PREFIX_INSTALL)" && \
cd ./cookbook && ./target/release/repo fetch $(foreach f,$(subst $(comma), ,$*),$(f))
cd ./cookbook && ./target/release/repo fetch $(foreach f,$(subst $(comma), ,$*),$(f)) $(COOKBOOK_OPTS)
endif
# Invoke repo.sh for one or more targets separated by comma