Colin Watson 7cf7d116a0 Import patches-unapplied version 2.538 to ubuntu/cosmic-proposed
Imported using git-ubuntu import.

Changelog parent: d36578f6bb4a1f182044af709ccd3e2ded1f5aec

New changelog entries:
  * Add a buildd subproject.
2018-09-19 14:38:19 +00:00

13 lines
411 B
Bash
Executable File

#! /bin/sh
set -e
. config/bootstrap
# Use a public-facing mirror URL, for the benefit of
# sbuild-launchpad-chroot. We deliberately do this only after live-build
# has run "apt-get update" for the last time, in order that
# /var/lib/apt/lists/ has suitable cached Packages files; this speeds up
# builds on buildds.
sed -i "s,${LB_PARENT_MIRROR_BINARY},${LB_MIRROR_BINARY},g" \
binary/etc/apt/sources.list