summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-14 16:29:20 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-14 16:29:20 +0100
commit1f0eb3c941df19d2e365f29c153c7ed54f202795 (patch)
tree9c55bea15f5459eaeb118c6ade827c20b0bacb71 /bin
parent7be5a58a5000b4493aafead06a786517665bc745 (diff)
downloadjenkins.debian.net-1f0eb3c941df19d2e365f29c153c7ed54f202795.tar.xz
create sources.list from scratch
Diffstat (limited to 'bin')
-rwxr-xr-xbin/schroot-create.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 4c3dc136..9c629f2a 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -145,7 +145,9 @@ bootstrap() {
if [ ! -z "$http_proxy" ] ; then
echo "Acquire::http::Proxy \"$http_proxy\";" | sudo tee $SCHROOT_TARGET/etc/apt/apt.conf.d/80proxy >/dev/null
fi
- echo "deb-src $MIRROR $SUITE main $CONTRIB" | sudo tee -a $SCHROOT_TARGET/etc/apt/sources.list > /dev/null
+ echo "# generated by $BUILD_URL" | sudo tee $SCHROOT_TARGET/etc/apt/sources.list > /dev/null
+ echo "deb $MIRROR $SUITE main $CONTRIB" | sudo tee -a $SCHROOT_TARGET/etc/apt/sources.list > /dev/null
+ echo "deb-src $MIRROR $SUITE main $CONTRIB" | sudo tee -a $SCHROOT_TARGET/etc/apt/sources.list > /dev/null
for i in $(seq 0 5) ; do
[ -z "${EXTRA_SOURCES[$i]}" ] || echo "${EXTRA_SOURCES[$i]}" | sudo tee -a $SCHROOT_TARGET/etc/apt/sources.list >/dev/null
done