Make stage3 tarball always have the same filename

This commit is contained in:
Albert Hopkins 2010-11-05 10:52:04 -04:00
parent 295b1d9a96
commit 62801481e7
2 changed files with 3 additions and 3 deletions

View File

@ -4,4 +4,4 @@ loop\/.*
Makefile\.[^(inc)]
latest-stage3\.txt
portage-latest\.tar\.bz2
stage3-.*-\d{8}.tar.bz2
stage3-.*-latest\.tar\.bz2

View File

@ -72,8 +72,8 @@ preproot: stage3 mounts portage
stage3: chroot
rsync $(RSYNC_MIRROR)/releases/$(ARCH)/autobuilds/latest-stage3.txt .
rsync $(RSYNC_MIRROR)/releases/$(ARCH)/autobuilds/`tail -n 1 latest-stage3.txt` .
stage3=`tail -n 1 latest-stage3.txt` ; tar xjpf `basename $$stage3` -C $(CHROOT)
rsync $(RSYNC_MIRROR)/releases/$(ARCH)/autobuilds/`tail -n 1 latest-stage3.txt` stage3-$(ARCH)-latest.tar.bz2
tar xjpf stage3-$(ARCH)-latest.tar.bz2 -C $(CHROOT)
touch stage3
compile_options: portage make.conf locale.gen $(PACKAGE_FILES)