summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess <joeyh@debian.org>2010-02-17 21:06:27 (GMT)
committerJoey Hess <joeyh@debian.org>2010-02-17 21:06:27 (GMT)
commitbe7a6af491ac50aae885a8a3188f7576bba24861 (patch)
tree87995de62b1ff22b603d7b5479b08e0fcd03857c /Makefile
parent6d37094ebc77409bd0b7333964ba33cf561b94e1 (diff)
downloaddebootstrap-be7a6af491ac50aae885a8a3188f7576bba24861.zip
debootstrap-be7a6af491ac50aae885a8a3188f7576bba24861.tar.gz
debootstrap-be7a6af491ac50aae885a8a3188f7576bba24861.tar.bz2
Allow the suite to be stable, testing, or unstable when debootstrapping Debian. Closes: #288109
This relies on the stable, testing, and unstable symlinks on the mirrors to work. Ubuntu doesn't have such symlinks, or really use corresponding names for its suites, so this is Debian-only. r62294
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bb2232d..65b6d8e 100644
--- a/Makefile
+++ b/Makefile
@@ -17,12 +17,18 @@ install:
install -o root -g root -m 0644 scripts/ubuntu/* $(DSDIR)/scripts/
install -o root -g root -m 0644 functions $(DSDIR)/
- # no special script for etch anymore
+ # recent debian releases can all be handled by the sid script
ln -s sid $(DSDIR)/scripts/etch
ln -s sid $(DSDIR)/scripts/etch-m68k
ln -s sid $(DSDIR)/scripts/lenny
ln -s sid $(DSDIR)/scripts/squeeze
+
+ # allow using symbolic release names instead of code names too
+ ln -s sid $(DSDIR)/scripts/stable
+ ln -s sid $(DSDIR)/scripts/testing
+ ln -s sid $(DSDIR)/scripts/unstable
+ # recent ubuntu releases can all be handled by the gutsy script
ln -s gutsy $(DSDIR)/scripts/hardy
ln -s gutsy $(DSDIR)/scripts/intrepid
ln -s gutsy $(DSDIR)/scripts/jaunty