From 1f0eb3c941df19d2e365f29c153c7ed54f202795 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 14 Nov 2015 16:29:20 +0100 Subject: create sources.list from scratch --- bin/schroot-create.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2