Use the variant function for the generic latest-stage3.txt
This commit is contained in:
parent
6cfdd7f82b
commit
35ff9cd616
|
@ -75,7 +75,8 @@ for ARCH in $ARCHES; do
|
||||||
fi
|
fi
|
||||||
if [ -n "${stage3_list}" ]; then
|
if [ -n "${stage3_list}" ]; then
|
||||||
echo -e "${header}" >"${OUT_STAGE3}"
|
echo -e "${header}" >"${OUT_STAGE3}"
|
||||||
echo -e "${stage3_list}" |awk '{print $3}' |grep "$latest_stage3_date" >>${OUT_STAGE3}
|
# In the new variant preserve code there is a better way to do this
|
||||||
|
#echo -e "${stage3_list}" |awk '{print $3}' |grep "$latest_stage3_date" >>${OUT_STAGE3}
|
||||||
rm -f current-stage3
|
rm -f current-stage3
|
||||||
# The "latest stage3" concept doesn't apply to the arm variants
|
# The "latest stage3" concept doesn't apply to the arm variants
|
||||||
# that are pushed on different days of the week.
|
# that are pushed on different days of the week.
|
||||||
|
@ -92,6 +93,7 @@ for ARCH in $ARCHES; do
|
||||||
f="latest-${v}.txt"
|
f="latest-${v}.txt"
|
||||||
echo -e "${header}" >"${f}"
|
echo -e "${header}" >"${f}"
|
||||||
echo -e "${variant_path}" >>${f}
|
echo -e "${variant_path}" >>${f}
|
||||||
|
echo -e "${variant_path}" >>${OUT_STAGE3}
|
||||||
rm -f "current-$v"
|
rm -f "current-$v"
|
||||||
ln -sf "${variant_path%/*}" "current-$v"
|
ln -sf "${variant_path%/*}" "current-$v"
|
||||||
echo "${variant_path}" | sed -e 's,/.*,,g' -e 's,^,/,g' -e 's,$,$,g' >>"${tmpdir}"/.keep.${ARCH}.txt
|
echo "${variant_path}" | sed -e 's,/.*,,g' -e 's,^,/,g' -e 's,$,$,g' >>"${tmpdir}"/.keep.${ARCH}.txt
|
||||||
|
|
Loading…
Reference in a new issue