From 991a2885a778c6cafe25e80bca27f1f0c259a06c Mon Sep 17 00:00:00 2001 From: Albert Hopkins Date: Mon, 19 Aug 2013 18:21:15 +0000 Subject: [PATCH] Makefile: Change the way we find stage3s. The current method no longer works because the text file now contains non-stage3 files, etc. Eventually this needs to be cleaned up a little better (using a helper script), but for now we add some extra greps. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8d202cd..444193b 100644 --- a/Makefile +++ b/Makefile @@ -146,7 +146,7 @@ ifdef stage4-exists else mkdir -p $(DOWNLOAD_DIR) rsync --no-motd $(RSYNC_MIRROR)/releases/`echo $(ARCH)|sed 's/i.86/x86/'`/autobuilds/latest-stage3.txt $(DOWNLOAD_DIR) - rsync --no-motd $(RSYNC_MIRROR)/releases/`echo $(ARCH)|sed 's/i.86/x86/'`/autobuilds/`grep $(ARCH) $(DOWNLOAD_DIR)/latest-stage3.txt|grep -v multilib` $(DOWNLOAD_DIR)/stage3-$(ARCH)-latest.tar.bz2 + rsync --no-motd $(RSYNC_MIRROR)/releases/`echo $(ARCH)|sed 's/i.86/x86/'`/autobuilds/`grep stage3 $(DOWNLOAD_DIR)/latest-stage3.txt| grep -v hardened| grep -v multilib|tail -n1` $(DOWNLOAD_DIR)/stage3-$(ARCH)-latest.tar.bz2 @./echo Using stage3 tarball tar xjpf $(DOWNLOAD_DIR)/stage3-$(ARCH)-latest.tar.bz2 -C $(CHROOT) endif