aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2016-02-05 21:40:51 +0100
committerAlex Legler <alex@a3li.li>2016-02-05 21:40:51 +0100
commit4979237918a2e2b9bb8a9040d9ca78a12ae49faf (patch)
tree9c1964f98005cec3dbaa5ded748c0122c416fe42
parentinside-gentoo/contact: Rework "outdated content" (diff)
downloadwww-4979237918a2e2b9bb8a9040d9ca78a12ae49faf.tar.gz
www-4979237918a2e2b9bb8a9040d9ca78a12ae49faf.tar.bz2
www-4979237918a2e2b9bb8a9040d9ca78a12ae49faf.zip
downloads: Use new custom media name setup for AdminCDs
-rw-r--r--_includes/downloads/amd64-advanced.html4
-rw-r--r--_includes/downloads/x86-advanced.html7
-rwxr-xr-xbin/update-downloads.sh6
3 files changed, 13 insertions, 4 deletions
diff --git a/_includes/downloads/amd64-advanced.html b/_includes/downloads/amd64-advanced.html
index 286fc64..7dc10e9 100644
--- a/_includes/downloads/amd64-advanced.html
+++ b/_includes/downloads/amd64-advanced.html
@@ -1,7 +1,7 @@
<div class="col-xs-12 col-md-6">
<h4>Boot Media</h4>
<div class="list-group">
- {% include partials/download-link-raw.html url='http://distfiles.gentoo.org/releases/amd64/autobuilds/current-admincd-amd64/' title='Admin CD' size='381000000' date='2015-03-26' %}
+ {% include partials/download-link.html type="iso" arch="amd64" id="hardened/admincd-amd64" title="Admin CD" %}
</div>
<h4>Stage Archives</h4>
@@ -28,4 +28,4 @@
The <em>amd64</em> architecture is intended for use on AMD 64-bit CPUs as well as 64-bit <strong>Intel Pentium/Core/Xeon</strong> processors.
</p>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/_includes/downloads/x86-advanced.html b/_includes/downloads/x86-advanced.html
index 245e366..3fc4c0e 100644
--- a/_includes/downloads/x86-advanced.html
+++ b/_includes/downloads/x86-advanced.html
@@ -1,4 +1,9 @@
<div class="col-xs-12 col-md-6">
+ <h4>Boot Media</h4>
+ <div class="list-group">
+ {% include partials/download-link.html type="iso" arch="x86" id="hardened/admincd-x86" title="Admin CD" %}
+ </div>
+
<h4>Stage Archives</h4>
<div class="list-group">
{% include partials/download-link.html type="stage3" arch="x86" id="i486" title="Stage 3" tag="i486" %}
@@ -21,4 +26,4 @@
Processors prior to the <strong>Intel Pentium Pro</strong> or <strong>Pentium II</strong> require the <em>i486</em> variant to be used.
</p>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/bin/update-downloads.sh b/bin/update-downloads.sh
index 2191f13..386de1f 100755
--- a/bin/update-downloads.sh
+++ b/bin/update-downloads.sh
@@ -8,11 +8,15 @@ for arch in "${ARCHES[@]}"; do
wget "http://distfiles.gentoo.org/releases/${arch}/autobuilds/latest-iso.txt" -O _data/downloads/${arch}/iso.txt 2>/dev/null
wget "http://distfiles.gentoo.org/releases/${arch}/autobuilds/latest-stage3.txt" -O _data/downloads/${arch}/stage3.txt 2>/dev/null
- if [ ${arch} = "s390" ]; then
+ if [ ${arch} = "amd64" ]; then
+ wget "http://distfiles.gentoo.org/releases/amd64/autobuilds/latest-admincd-amd64.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
+ elif [ ${arch} = "s390" ]; then
wget "http://distfiles.gentoo.org/releases/s390/autobuilds/latest-netboot-s390-initramfs.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
wget "http://distfiles.gentoo.org/releases/s390/autobuilds/latest-netboot-s390-kernel.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
wget "http://distfiles.gentoo.org/releases/s390/autobuilds/latest-netboot-s390x-initramfs.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
wget "http://distfiles.gentoo.org/releases/s390/autobuilds/latest-netboot-s390x-kernel.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
+ elif [ ${arch} = "x86" ]; then
+ wget "http://distfiles.gentoo.org/releases/x86/autobuilds/latest-admincd-x86.txt" -O - >> _data/downloads/${arch}/iso.txt 2>/dev/null
fi
done