Don't run fetch if rebuildinga
This commit is contained in:
		
							parent
							
								
									36eb0faa86
								
							
						
					
					
						commit
						c0ccfc1572
					
				
					 2 changed files with 4 additions and 3 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -25,7 +25,7 @@ image: | |||
| rebuild: | ||||
| 	-$(FUMOUNT) $(BUILD)/filesystem/ || true | ||||
| 	-$(FUMOUNT) /tmp/redox_installer/ || true | ||||
| 	rm -rf $(BUILD) | ||||
| 	rm -rf $(BUILD)/repo.tag $(BUILD)/harddrive.img $(BUILD)/livedisk.iso | ||||
| 	$(MAKE) all | ||||
| 
 | ||||
| clean: $(CONTAINER_TAG) | ||||
|  |  | |||
|  | @ -20,8 +20,9 @@ else | |||
| 	cd cookbook && \
 | ||||
| 	./repo.sh $(REPO_NONSTOP) "$${PACKAGES}" | ||||
| 	mkdir -p $(BUILD) | ||||
| 	# make sure fetch.tag is newer than the things repo modifies | ||||
| 	touch $< | ||||
| 	# make sure fstools.tag and fetch.tag are newer than the things repo modifies | ||||
| 	touch $(FSTOOLS_TAG) | ||||
| 	touch $(BUILD)/fetch.tag | ||||
| 	touch $@ | ||||
| endif | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ron Williams
						Ron Williams