Including archive trace into .disk meta information.
This commit is contained in:
parent
ac11fdef00
commit
b5a891df14
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue