13 lines
446 B
13 lines
446 B
#! /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" \
|
|
$(find chroot/etc/apt/ -name '*.list' -o -name '*.sources')
|