experimental shouldn't be the default in experimental chroots.

This commit is contained in:
Stefano Rivera 2011-11-13 00:40:58 +02:00
parent 390d6f5a8d
commit 391e9c7f07
2 changed files with 1 additions and 5 deletions

1
debian/changelog vendored
View File

@ -5,6 +5,7 @@ ubuntu-dev-tools (0.136) UNRELEASED; urgency=low
* requestsync: Make --lp the default.
* submittodebian: Use prettier patch filenames (LP: #887333)
* mk-sbuild: Allow creating experimental chroots again (LP: #885499)
* experimental shouldn't be the default in experimental chroots.
-- Stefano Rivera <stefanor@debian.org> Sat, 12 Nov 2011 23:28:05 +0200

View File

@ -557,11 +557,6 @@ cat "$TEMP_SOURCES" | sed -e "s|RELEASE|$RELEASE|g" | \
sudo bash -c "cat > $MNT/etc/apt/sources.list"
rm -f "$TEMP_SOURCES"
if [ "$EXPERIMENTAL" -eq 1 ]; then
echo 'APT::Default-Release "experimental";' \
| sudo tee "$MNT"/etc/apt/apt.conf.d/15sbuild > /dev/null
fi
# Copy the timezone (comment this out if you want to leave the chroot at UTC)
sudo cp /etc/localtime /etc/timezone "$MNT"/etc/
# Create a schroot entry for this chroot