Using same logic to create the source/.disk/archive_trace for binary/.disk/archive_trace too (Closes: #774200).

This commit is contained in:
Daniel Baumann 2015-02-07 06:50:28 +01:00
parent 151e21291c
commit 0c94983071
1 changed files with 14 additions and 2 deletions

View File

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