diff --git a/debian/changelog b/debian/changelog index c4ae39be..5e26a13f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,14 @@ livecd-rootfs (2.415) UNRELEASED; urgency=medium + [ Michael Vogt ] * add var/lib/snapd/classic in ubuntu-core + [ Daniel Watkins ] + * Don't overwrite the default sources.list in cloud images. + * Replace sources.list generated using COMPONENTS with the sources.list from + an Ubuntu Server installation (i.e. with all components enabled, and all + deb-src lines commented). + -- Michael Vogt Wed, 08 Jun 2016 19:10:13 +0200 livecd-rootfs (2.414) yakkety; urgency=medium diff --git a/live-build/auto/build b/live-build/auto/build index 2f04f802..5bc6a67c 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -58,116 +58,56 @@ EOF # preinstalled being slightly different in what it doesn't ask) from # debian-installer's apt-setup: -codename=$LB_DISTRIBUTION -file="chroot/etc/apt/sources.list" -dists="main" -alldists="main" -if echo "$LB_PARENT_ARCHIVE_AREAS" | grep -q restricted; then - dists="$dists restricted" - alldists="$alldists restricted" -fi -if echo "$LB_PARENT_ARCHIVE_AREAS" | grep -q universe; then - UNIVERSE=true -else - UNIVERSE=false -fi -if echo "$LB_PARENT_ARCHIVE_AREAS" | grep -q multiverse; then - MULTIVERSE=true -else - MULTIVERSE=false -fi - -cat > $file < chroot/etc/apt/sources.list << EOF # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. - -deb $LB_PARENT_MIRROR_BINARY $codename $dists -deb-src $LB_PARENT_MIRROR_BINARY $codename $dists +deb $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION main restricted +# deb-src $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION main restricted ## Major bug fix updates produced after the final release of the ## distribution. -deb $LB_PARENT_MIRROR_BINARY $codename-updates $dists -deb-src $LB_PARENT_MIRROR_BINARY $codename-updates $dists -EOF +deb $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION-updates main restricted +# deb-src $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION-updates main restricted -# Even if universe isn't enabled, we write example lines for it. -echo >> $file -if [ "$UNIVERSE" = true ]; then - alldists="$alldists universe" - COMMENT= -else - cat >> $file <> $file <> $file <> $file <> $file <> $file <> $file < chroot/etc/apt/sources.list << EOF -deb ${LB_PARENT_MIRROR_BINARY} ${LB_DISTRIBUTION} main restricted universe multiverse -deb ${LB_PARENT_MIRROR_BINARY} ${LB_DISTRIBUTION}-updates main restricted universe multiverse -deb ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_DISTRIBUTION}-security main restricted universe multiverse -EOF - lb chroot_hosts install - lb chroot_resolv install - Chroot chroot "apt-get update" - lb chroot_resolv remove - lb chroot_hosts remove fi echo "===== Checking size of /usr/share/doc ====="