Including archive trace into .disk meta information.

This commit is contained in:
Daniel Baumann 2009-08-10 00:50:56 +02:00
parent ac11fdef00
commit b5a891df14
2 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -52,22 +52,32 @@ eval VERSION="$`echo RELEASE_${LH_DISTRIBUTION}`"
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)" \
> source/.disk/archive_trace
fi
case "${LH_DEBIAN_INSTALLER}" in
cdrom)
echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} LIVE/CD Source $(date +%Y%m%d-%H:%M)" > source/.disk/info