[CPC] Don't overwrite the default sources.list

We've received a request not to do so (LP: #1513529) and cloud-init applies it
(or something similar to it) at boot anyway, so the list we're putting in place
isn't generally used.
ubuntu/yakkety
Daniel Watkins 9 years ago
parent 8a5032e26e
commit e690e4bdf7

3
debian/changelog vendored

@ -10,6 +10,9 @@ livecd-rootfs (2.411) UNRELEASED; urgency=medium
* create /boot/uboot dir on all arches and configure /etc/fw_env.config
everywhere
[ Daniel Watkins ]
* Don't overwrite the default sources.list in cloud images.
-- Oliver Grawert <ogra@ubuntu.com> Fri, 13 May 2016 21:01:34 +0200
livecd-rootfs (2.410) yakkety; urgency=medium

@ -251,16 +251,6 @@ deb file:/var/lib/preinstalled-pool/ $LB_DISTRIBUTION $LB_PARENT_ARCHIVE_AREAS
build_name: server
serial: $BUILDSTAMP
EOF
cat > 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 ====="

Loading…
Cancel
Save