diff --git a/live-build/auto/build b/live-build/auto/build index 447eb22a..6c73d80e 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -241,6 +241,13 @@ deb file:/var/lib/preinstalled-pool/ $LB_DISTRIBUTION $LB_PARENT_ARCHIVE_AREAS mkdir -p chroot/var/log/installer Chroot chroot "ln -s /etc/media-info /var/log/installer/media-info" fi + if [ "$PROJECT" = "ubuntu-cpc" ]; then + 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 + fi echo "===== Checking size of /usr/share/doc =====" echo BEGIN docdirs