[26274] in Source-Commits
/svn/athena r25483 - in trunk/debathena/scripts/build-server: . sources.list.d/debian sources.list.d/ubuntu
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Mon May 7 19:02:27 2012
Date: Mon, 7 May 2012 19:02:25 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <201205072302.q47N2PRD030671@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: geofft
Date: 2012-05-07 19:02:25 -0400 (Mon, 07 May 2012)
New Revision: 25483
Modified:
trunk/debathena/scripts/build-server/make-chroot
trunk/debathena/scripts/build-server/sources.list.d/debian/lenny.list
trunk/debathena/scripts/build-server/sources.list.d/debian/squeeze.list
trunk/debathena/scripts/build-server/sources.list.d/debian/wheezy.list
trunk/debathena/scripts/build-server/sources.list.d/ubuntu/hardy.list
trunk/debathena/scripts/build-server/sources.list.d/ubuntu/intrepid.list
trunk/debathena/scripts/build-server/sources.list.d/ubuntu/jaunty.list
trunk/debathena/scripts/build-server/sources.list.d/ubuntu/karmic.list
trunk/debathena/scripts/build-server/sources.list.d/ubuntu/lucid.list
trunk/debathena/scripts/build-server/sources.list.d/ubuntu/maverick.list
trunk/debathena/scripts/build-server/sources.list.d/ubuntu/natty.list
trunk/debathena/scripts/build-server/sources.list.d/ubuntu/oneiric.list
trunk/debathena/scripts/build-server/sources.list.d/ubuntu/precise.list
Log:
make-chroot: Actually allow specifying a custom mirror
Modified: trunk/debathena/scripts/build-server/make-chroot
===================================================================
--- trunk/debathena/scripts/build-server/make-chroot 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/make-chroot 2012-05-07 23:02:25 UTC (rev 25483)
@@ -80,7 +80,7 @@
root-groups=root,sbuild
source-groups=root
file=$FILE
-location=root
+location=/root
personality=$PERSONALITY
EOF
@@ -94,7 +94,7 @@
debconf-set-selections <<SELECTIONS
debconf debconf/frontend select Noninteractive
SELECTIONS
-cat <&8 > /etc/apt/sources.list
+sed "s|MIRROR|$MIRROR|" <&8 > /etc/apt/sources.list
! type apt-key >/dev/null || apt-key add - <&9
apt-get -q -y update
apt-get -q -y dist-upgrade
Modified: trunk/debathena/scripts/build-server/sources.list.d/debian/lenny.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/debian/lenny.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/debian/lenny.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,4 +1,4 @@
-deb http://localhost:9999/debian lenny main
-deb-src http://localhost:9999/debian lenny main
-deb http://localhost:9999/debian-security lenny/updates main
-deb-src http://localhost:9999/debian-security lenny/updates main
+deb http://MIRROR/debian lenny main
+deb-src http://MIRROR/debian lenny main
+deb http://MIRROR/debian-security lenny/updates main
+deb-src http://MIRROR/debian-security lenny/updates main
Modified: trunk/debathena/scripts/build-server/sources.list.d/debian/squeeze.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/debian/squeeze.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/debian/squeeze.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,4 +1,4 @@
-deb http://localhost:9999/debian squeeze main
-deb-src http://localhost:9999/debian squeeze main
-deb http://localhost:9999/debian-security squeeze/updates main
-deb-src http://localhost:9999/debian-security squeeze/updates main
+deb http://MIRROR/debian squeeze main
+deb-src http://MIRROR/debian squeeze main
+deb http://MIRROR/debian-security squeeze/updates main
+deb-src http://MIRROR/debian-security squeeze/updates main
Modified: trunk/debathena/scripts/build-server/sources.list.d/debian/wheezy.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/debian/wheezy.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/debian/wheezy.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,4 +1,4 @@
-deb http://localhost:9999/debian wheezy main
-deb-src http://localhost:9999/debian wheezy main
-deb http://localhost:9999/debian-security wheezy/updates main
-deb-src http://localhost:9999/debian-security wheezy/updates main
+deb http://MIRROR/debian wheezy main
+deb-src http://MIRROR/debian wheezy main
+deb http://MIRROR/debian-security wheezy/updates main
+deb-src http://MIRROR/debian-security wheezy/updates main
Modified: trunk/debathena/scripts/build-server/sources.list.d/ubuntu/hardy.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/ubuntu/hardy.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/ubuntu/hardy.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,6 +1,6 @@
-deb http://localhost:9999/ubuntu hardy main restricted universe
-deb-src http://localhost:9999/ubuntu hardy main restricted universe
-deb http://localhost:9999/ubuntu hardy-updates main restricted universe
-deb-src http://localhost:9999/ubuntu hardy-updates main restricted universe
-deb http://localhost:9999/ubuntu-security hardy-security main restricted universe
-deb-src http://localhost:9999/ubuntu-security hardy-security main restricted universe
+deb http://MIRROR/ubuntu hardy main restricted universe
+deb-src http://MIRROR/ubuntu hardy main restricted universe
+deb http://MIRROR/ubuntu hardy-updates main restricted universe
+deb-src http://MIRROR/ubuntu hardy-updates main restricted universe
+deb http://MIRROR/ubuntu-security hardy-security main restricted universe
+deb-src http://MIRROR/ubuntu-security hardy-security main restricted universe
Modified: trunk/debathena/scripts/build-server/sources.list.d/ubuntu/intrepid.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/ubuntu/intrepid.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/ubuntu/intrepid.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,6 +1,6 @@
-deb http://localhost:9999/ubuntu intrepid main restricted universe
-deb-src http://localhost:9999/ubuntu intrepid main restricted universe
-deb http://localhost:9999/ubuntu intrepid-updates main restricted universe
-deb-src http://localhost:9999/ubuntu intrepid-updates main restricted universe
-deb http://localhost:9999/ubuntu-security intrepid-security main restricted universe
-deb-src http://localhost:9999/ubuntu-security intrepid-security main restricted universe
+deb http://MIRROR/ubuntu intrepid main restricted universe
+deb-src http://MIRROR/ubuntu intrepid main restricted universe
+deb http://MIRROR/ubuntu intrepid-updates main restricted universe
+deb-src http://MIRROR/ubuntu intrepid-updates main restricted universe
+deb http://MIRROR/ubuntu-security intrepid-security main restricted universe
+deb-src http://MIRROR/ubuntu-security intrepid-security main restricted universe
Modified: trunk/debathena/scripts/build-server/sources.list.d/ubuntu/jaunty.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/ubuntu/jaunty.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/ubuntu/jaunty.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,6 +1,6 @@
-deb http://localhost:9999/ubuntu jaunty main restricted universe
-deb-src http://localhost:9999/ubuntu jaunty main restricted universe
-deb http://localhost:9999/ubuntu jaunty-updates main restricted universe
-deb-src http://localhost:9999/ubuntu jaunty-updates main restricted universe
-deb http://localhost:9999/ubuntu-security jaunty-security main restricted universe
-deb-src http://localhost:9999/ubuntu-security jaunty-security main restricted universe
+deb http://MIRROR/ubuntu jaunty main restricted universe
+deb-src http://MIRROR/ubuntu jaunty main restricted universe
+deb http://MIRROR/ubuntu jaunty-updates main restricted universe
+deb-src http://MIRROR/ubuntu jaunty-updates main restricted universe
+deb http://MIRROR/ubuntu-security jaunty-security main restricted universe
+deb-src http://MIRROR/ubuntu-security jaunty-security main restricted universe
Modified: trunk/debathena/scripts/build-server/sources.list.d/ubuntu/karmic.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/ubuntu/karmic.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/ubuntu/karmic.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,6 +1,6 @@
-deb http://localhost:9999/ubuntu karmic main restricted universe
-deb-src http://localhost:9999/ubuntu karmic main restricted universe
-deb http://localhost:9999/ubuntu karmic-updates main restricted universe
-deb-src http://localhost:9999/ubuntu karmic-updates main restricted universe
-deb http://localhost:9999/ubuntu-security karmic-security main restricted universe
-deb-src http://localhost:9999/ubuntu-security karmic-security main restricted universe
+deb http://MIRROR/ubuntu karmic main restricted universe
+deb-src http://MIRROR/ubuntu karmic main restricted universe
+deb http://MIRROR/ubuntu karmic-updates main restricted universe
+deb-src http://MIRROR/ubuntu karmic-updates main restricted universe
+deb http://MIRROR/ubuntu-security karmic-security main restricted universe
+deb-src http://MIRROR/ubuntu-security karmic-security main restricted universe
Modified: trunk/debathena/scripts/build-server/sources.list.d/ubuntu/lucid.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/ubuntu/lucid.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/ubuntu/lucid.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,6 +1,6 @@
-deb http://localhost:9999/ubuntu lucid main restricted universe
-deb-src http://localhost:9999/ubuntu lucid main restricted universe
-deb http://localhost:9999/ubuntu lucid-updates main restricted universe
-deb-src http://localhost:9999/ubuntu lucid-updates main restricted universe
-deb http://localhost:9999/ubuntu-security lucid-security main restricted universe
-deb-src http://localhost:9999/ubuntu-security lucid-security main restricted universe
+deb http://MIRROR/ubuntu lucid main restricted universe
+deb-src http://MIRROR/ubuntu lucid main restricted universe
+deb http://MIRROR/ubuntu lucid-updates main restricted universe
+deb-src http://MIRROR/ubuntu lucid-updates main restricted universe
+deb http://MIRROR/ubuntu-security lucid-security main restricted universe
+deb-src http://MIRROR/ubuntu-security lucid-security main restricted universe
Modified: trunk/debathena/scripts/build-server/sources.list.d/ubuntu/maverick.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/ubuntu/maverick.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/ubuntu/maverick.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,6 +1,6 @@
-deb http://localhost:9999/ubuntu maverick main restricted universe
-deb-src http://localhost:9999/ubuntu maverick main restricted universe
-deb http://localhost:9999/ubuntu maverick-updates main restricted universe
-deb-src http://localhost:9999/ubuntu maverick-updates main restricted universe
-deb http://localhost:9999/ubuntu-security maverick-security main restricted universe
-deb-src http://localhost:9999/ubuntu-security maverick-security main restricted universe
+deb http://MIRROR/ubuntu maverick main restricted universe
+deb-src http://MIRROR/ubuntu maverick main restricted universe
+deb http://MIRROR/ubuntu maverick-updates main restricted universe
+deb-src http://MIRROR/ubuntu maverick-updates main restricted universe
+deb http://MIRROR/ubuntu-security maverick-security main restricted universe
+deb-src http://MIRROR/ubuntu-security maverick-security main restricted universe
Modified: trunk/debathena/scripts/build-server/sources.list.d/ubuntu/natty.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/ubuntu/natty.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/ubuntu/natty.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,6 +1,6 @@
-deb http://localhost:9999/ubuntu natty main restricted universe
-deb-src http://localhost:9999/ubuntu natty main restricted universe
-deb http://localhost:9999/ubuntu natty-updates main restricted universe
-deb-src http://localhost:9999/ubuntu natty-updates main restricted universe
-deb http://localhost:9999/ubuntu-security natty-security main restricted universe
-deb-src http://localhost:9999/ubuntu-security natty-security main restricted universe
+deb http://MIRROR/ubuntu natty main restricted universe
+deb-src http://MIRROR/ubuntu natty main restricted universe
+deb http://MIRROR/ubuntu natty-updates main restricted universe
+deb-src http://MIRROR/ubuntu natty-updates main restricted universe
+deb http://MIRROR/ubuntu-security natty-security main restricted universe
+deb-src http://MIRROR/ubuntu-security natty-security main restricted universe
Modified: trunk/debathena/scripts/build-server/sources.list.d/ubuntu/oneiric.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/ubuntu/oneiric.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/ubuntu/oneiric.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,6 +1,6 @@
-deb http://localhost:9999/ubuntu oneiric main restricted universe
-deb-src http://localhost:9999/ubuntu oneiric main restricted universe
-deb http://localhost:9999/ubuntu oneiric-updates main restricted universe
-deb-src http://localhost:9999/ubuntu oneiric-updates main restricted universe
-deb http://localhost:9999/ubuntu-security oneiric-security main restricted universe
-deb-src http://localhost:9999/ubuntu-security oneiric-security main restricted universe
+deb http://MIRROR/ubuntu oneiric main restricted universe
+deb-src http://MIRROR/ubuntu oneiric main restricted universe
+deb http://MIRROR/ubuntu oneiric-updates main restricted universe
+deb-src http://MIRROR/ubuntu oneiric-updates main restricted universe
+deb http://MIRROR/ubuntu-security oneiric-security main restricted universe
+deb-src http://MIRROR/ubuntu-security oneiric-security main restricted universe
Modified: trunk/debathena/scripts/build-server/sources.list.d/ubuntu/precise.list
===================================================================
--- trunk/debathena/scripts/build-server/sources.list.d/ubuntu/precise.list 2012-05-07 21:50:43 UTC (rev 25482)
+++ trunk/debathena/scripts/build-server/sources.list.d/ubuntu/precise.list 2012-05-07 23:02:25 UTC (rev 25483)
@@ -1,6 +1,6 @@
-deb http://localhost:9999/ubuntu precise main restricted universe
-deb-src http://localhost:9999/ubuntu precise main restricted universe
-deb http://localhost:9999/ubuntu precise-updates main restricted universe
-deb-src http://localhost:9999/ubuntu precise-updates main restricted universe
-deb http://localhost:9999/ubuntu-security precise-security main restricted universe
-deb-src http://localhost:9999/ubuntu-security precise-security main restricted universe
+deb http://MIRROR/ubuntu precise main restricted universe
+deb-src http://MIRROR/ubuntu precise main restricted universe
+deb http://MIRROR/ubuntu precise-updates main restricted universe
+deb-src http://MIRROR/ubuntu precise-updates main restricted universe
+deb http://MIRROR/ubuntu-security precise-security main restricted universe
+deb-src http://MIRROR/ubuntu-security precise-security main restricted universe