diff options
-rwxr-xr-x | scripts/build/binary_disk | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/scripts/build/binary_disk b/scripts/build/binary_disk index c3ac058f3..5dce94123 100755 --- a/scripts/build/binary_disk +++ b/scripts/build/binary_disk @@ -81,8 +81,20 @@ esac if [ -n "${TRACE}" ] then - echo "$(wget -q ${LB_PARENT_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \ - > binary/.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)" \ + > binary/.disk/archive_trace + + echo "$(echo ${LB_MIRROR_BOOTSTRAP} | awk -F:// '{ print $2 }'): $(wget -q ${LB_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \ + >> binary/.disk/archive_trace + ;; + + false) + echo "$(wget -q ${LB_PARENT_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \ + > binary/.disk/archive_trace + ;; + esac fi case "${LB_INITRAMFS}" in |