summaryrefslogtreecommitdiff
path: root/scripts/build/lb_source_disk
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_source_disk')
-rwxr-xr-xscripts/build/lb_source_disk16
1 files changed, 14 insertions, 2 deletions
diff --git a/scripts/build/lb_source_disk b/scripts/build/lb_source_disk
index e88a92b25..3d21223c6 100755
--- a/scripts/build/lb_source_disk
+++ b/scripts/build/lb_source_disk
@@ -74,8 +74,20 @@ esac
if [ -n "${TRACE}" ]
then
- echo "$(wget -q ${LB_PARENT_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
- > source/.disk/archive_trace
+ case "${LB_DERIVATIVE}" in
+ true)
+ echo "$(echo ${LB_PARENT_MIRROR_BOOTSTRAP} | awk -F:// '{ print $2 }'): $(wget -q ${LB_PARENT_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
+ > source/.disk/archive_trace
+
+ echo "$(echo ${LB_MIRROR_BOOTSTRAP} | awk -F:// '{ print $2 }'): $(wget -q ${LB_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
+ >> source/.disk/archive_trace
+ ;;
+
+ false)
+ echo "$(wget -q ${LB_PARENT_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
+ > source/.disk/archive_trace
+ ;;
+ esac
fi
case "${LB_DEBIAN_INSTALLER}" in