Don't run fetch if rebuildinga

This commit is contained in:
Ron Williams 2024-08-05 11:46:18 -07:00
parent 36eb0faa86
commit c0ccfc1572
2 changed files with 4 additions and 3 deletions

View file

@ -25,7 +25,7 @@ image:
rebuild: rebuild:
-$(FUMOUNT) $(BUILD)/filesystem/ || true -$(FUMOUNT) $(BUILD)/filesystem/ || true
-$(FUMOUNT) /tmp/redox_installer/ || true -$(FUMOUNT) /tmp/redox_installer/ || true
rm -rf $(BUILD) rm -rf $(BUILD)/repo.tag $(BUILD)/harddrive.img $(BUILD)/livedisk.iso
$(MAKE) all $(MAKE) all
clean: $(CONTAINER_TAG) clean: $(CONTAINER_TAG)

View file

@ -20,8 +20,9 @@ else
cd cookbook && \ cd cookbook && \
./repo.sh $(REPO_NONSTOP) "$${PACKAGES}" ./repo.sh $(REPO_NONSTOP) "$${PACKAGES}"
mkdir -p $(BUILD) mkdir -p $(BUILD)
# make sure fetch.tag is newer than the things repo modifies # make sure fstools.tag and fetch.tag are newer than the things repo modifies
touch $< touch $(FSTOOLS_TAG)
touch $(BUILD)/fetch.tag
touch $@ touch $@
endif endif