summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_disk
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_binary_disk')
-rwxr-xr-xhelpers/lh_binary_disk10
1 files changed, 10 insertions, 0 deletions
diff --git a/helpers/lh_binary_disk b/helpers/lh_binary_disk
index a7674e7..2d209fb 100755
--- a/helpers/lh_binary_disk
+++ b/helpers/lh_binary_disk
@@ -56,22 +56,32 @@ TITLE="Debian GNU/Linux"
case "${LH_MODE}" in
debian)
STRING="Official Snapshot ${ARCHITECTURE}"
+ TRACE="project/trace/ftp-master.debian.org"
;;
debian-release)
STRING="Official ${ARCHITECTURE}"
+ TRACE="project/trace/ftp-master.debian.org"
;;
ubuntu)
TITLE="Ubuntu GNU/Linux"
STRING="Build ${ARCHITECTURE}"
+ TRACE=""
;;
*)
STRING="Snapshot ${ARCHITECTURE}"
+ TRACE=""
;;
esac
+if [ -n "${TRACE}" ]
+then
+ echo "$(wget -q ${LH_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
+ > binary/.disk/archive_trace
+fi
+
case "${LH_DEBIAN_INSTALLER}" in
cdrom)
echo "main" > binary/.disk/base_components