Create target directory in fstools to workaround use of target/release/cookbook_redoxer

This commit is contained in:
Jeremy Soller 2025-11-20 17:22:17 -07:00
parent c766c8cf00
commit 8a81e1f82c
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -14,10 +14,11 @@ else
rm -rf $@ $@.partial
mkdir -p $@.partial
ln -sr recipes $@.partial/recipes
ln -sr $@-target $@.partial/target
# Install cookbook, installer, and redoxfs for host (may be outside of podman container)
#TODO: Build and install installer and redoxfs using cookbook?
export CARGO_TARGET_DIR=$@-target && \
export CARGO_TARGET_DIR=$@.partial/target && \
$(HOST_CARGO) install --root $@.partial --path . && \
cd $@.partial && \
./bin/repo fetch installer redoxfs && \