SHA256-Pruefsumme in der Oberflaeche anzeigen

Ergaenzt die neue iso_builds.sha256-Spalte (provisioning-server) als
copy-paste-fertige sha256sum -c-Zeile in der Anleitung, plus als reiner
Wert oben beim Download-Button.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Thomas Stallinger 2026-08-28 11:31:15 +02:00
parent cf59a9bb44
commit 1d41f896ca

View File

@ -33,6 +33,9 @@
{% if iso_build.expires_at %}
<p><small>Zum Download verfügbar bis: {{ iso_build.expires_at }} (danach automatisch gelöscht — Kontingent/Gültigkeit der Registrierung selbst sind davon unabhängig).</small></p>
{% endif %}
{% if iso_build.sha256 %}
<p><small>SHA256: <code>{{ iso_build.sha256 }}</code></small></p>
{% endif %}
<details>
<summary role="button" class="secondary outline">Anleitung: auf USB-Stick übertragen</summary>
<p>
@ -44,6 +47,12 @@
<code>sudo dd if={{ iso_dateiname }} of=/dev/sdX bs=4M status=progress conv=fsync</code>
(<code>/dev/sdX</code> durch den tatsächlichen USB-Stick ersetzen — <strong>alle Daten darauf werden überschrieben</strong>).
</p>
{% if iso_build.sha256 %}
<p>
Vor dem Schreiben prüfen, ob der Download vollständig/unbeschädigt ist:
<code>echo "{{ iso_build.sha256 }} {{ iso_dateiname }}" | sha256sum -c</code>
</p>
{% endif %}
</details>
{% elif iso_build.status == "failed" %}
<p><mark>Der Bau ist fehlgeschlagen. Bitte weiter unten erneut versuchen.</mark></p>