~ubuntu-core-dev/livecd-rootfs/trunk

« back to all changes in this revision

Viewing changes to live-build/buildd/hooks/00-mirror.binary

  • Committer: Balint Reczey
  • Date: 2019-01-31 08:14:49 UTC
  • Revision ID: balint.reczey@canonical.com-20190131081449-ptfnz0r4c2emh0nt
Moved to git at https://git.launchpad.net/livecd-rootfs

Show diffs side-by-side

added added

removed removed

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