Pass locked to cookbook build

This commit is contained in:
Wildan M 2025-12-14 12:25:11 +07:00
parent 25b98265de
commit f97205fe81
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -19,7 +19,7 @@ else
#TODO: Build and install installer and redoxfs using cookbook?
cd $@.partial && \
export CARGO_TARGET_DIR=../$@-target && \
$(HOST_CARGO) install --root . --path ../.. && \
$(HOST_CARGO) install --root . --path ../.. --locked && \
env -u RUSTUP_TOOLCHAIN ./bin/repo fetch installer redoxfs && \
$(HOST_CARGO) install --root . --path recipes/core/installer/source && \
$(HOST_CARGO) install --root . --path recipes/core/redoxfs/source
@ -32,7 +32,7 @@ $(FSTOOLS_TAG): $(FSTOOLS)
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) make $@
else
$(HOST_CARGO) build --manifest-path Cargo.toml --release
$(HOST_CARGO) build --manifest-path Cargo.toml --release --locked
touch $@
endif