summaryrefslogtreecommitdiff
path: root/auto/functions
diff options
context:
space:
mode:
Diffstat (limited to 'auto/functions')
-rw-r--r--auto/functions/prepare-chroot-sources-list-hook6
1 files changed, 4 insertions, 2 deletions
diff --git a/auto/functions/prepare-chroot-sources-list-hook b/auto/functions/prepare-chroot-sources-list-hook
index a7f8734..fd0948a 100644
--- a/auto/functions/prepare-chroot-sources-list-hook
+++ b/auto/functions/prepare-chroot-sources-list-hook
@@ -2,7 +2,7 @@
current_script="$(basename "$0"|sed 's/^lb_//')"
-if [ "$current_script" = "chroot_includes" ]; then
+if [ "$current_script" = "chroot" ]; then
# Including common functions
[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" ||
@@ -24,10 +24,12 @@ Set_defaults
echo "DEBUG: LB_PARENT_MIRROR ${LB_PARENT_MIRROR}"
echo "DEBUG: LB_MIRROR_CHROOT ${LB_MIRROR_CHROOT}"
echo "DEBUG: LB_PARENT_MIRROR_BINARY ${LB_PARENT_MIRROR_BINARY}"
+ echo "DEBUG: LB_ARCHIVES ${LB_ARCHIVES}"
fi
if [ -e config/chroot_local-includes/etc/apt/sources.list ]; then
- echo "Sources.list found"
+ echo "sources.list found in config/chroot_local-includes/"
sed -i -e "s#@MIRRORDUMMY@#${LB_MIRROR_CHROOT}#"g config/chroot_local-includes/etc/apt/sources.list
+ cat config/chroot_local-includes/etc/apt/sources.list
fi
fi