summaryrefslogtreecommitdiff
path: root/scripts/build/bootstrap_archives
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/bootstrap_archives')
-rwxr-xr-xscripts/build/bootstrap_archives4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/bootstrap_archives b/scripts/build/bootstrap_archives
index 0545f58f5..054b927e1 100755
--- a/scripts/build/bootstrap_archives
+++ b/scripts/build/bootstrap_archives
@@ -58,13 +58,13 @@ Create_lockfile .lock
# Restoring cache
Restore_cache cache/packages.chroot
-# Configure custom sources.list
-
+# Mount local repository
if echo "${LB_PARENT_MIRROR_CHROOT}" | grep -q '^file:/'
then
Chroot_bind_path chroot "$(echo ${LB_PARENT_MIRROR_CHROOT} | sed -e 's|file:||')"
fi
+# Configure custom sources.list
cat > chroot/etc/apt/${_PARENT_FILE} << EOF
deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION_CHROOT} ${LB_PARENT_ARCHIVE_AREAS}
EOF