Code review comment for ~chad.smith/ubuntu/+source/sbuild-launchpad-chroot:focal/fix-multiline-apt-sources

Revision history for this message
Chad Smith (chad.smith) wrote :

Thanks for the review gents. Pushed changes to source the default apt mirror url from the existing chroot image /etc/apt/sources.list if --apt-mirror is not provided.
This should default to http://ports.ubuntu.com/ubuntu-ports/ or http://archive.ubuntu.com/ubuntu/ or whatever URL is in the multi-line /etc/apt/sources.list file in the image.

This way we don't have to statically map a given architecture to a known (possibly stale) APT URL.

« Back to merge proposal