Compare commits

..

4 commits

Author SHA1 Message Date
Tobias Powalowski
9803c988e9 fix abort dialog 2023-06-30 21:43:39 +02:00
Tobias Powalowski
dcb436bd85 bump background 2023-06-30 21:18:43 +02:00
Tobias Powalowski
64d2c35b7a switch to b2sum 2023-06-30 21:11:25 +02:00
Tobias Powalowski
abdc8d845e switch to b2sum 2023-06-30 21:08:12 +02:00
7 changed files with 24 additions and 24 deletions

View file

@ -45,7 +45,7 @@ _set_locale() {
_LOCALE=$(cat ${_ANSWER})
if [[ "${_LOCALE}" == "OTHER" ]]; then
#shellcheck disable=SC2086
_dialog --menu "Select A System Wide Locale:" 18 35 12 ${_OTHER_LOCALES} 2>${_ANSWER} || abort
_dialog --menu "Select A System Wide Locale:" 18 35 12 ${_OTHER_LOCALES} 2>${_ANSWER} || _abort
_LOCALE=$(cat ${_ANSWER})
fi
}

View file

@ -259,11 +259,11 @@ _reproducibility_iso() {
}
_create_cksum() {
## create sha256sums.txt
echo "Generating sha256sum..."
[[ -f "sha256sums.txt" ]] && rm "sha256sums.txt"
[[ "$(echo ./*.iso)" == "./*.iso" ]] || cksum -a sha256 ./*.iso > "sha256sums.txt"
[[ "$(echo ./*.img)" == "./*.img" ]] || cksum -a sha256 ./*.img > "sha256sums.txt"
## create b2sums.txt
echo "Generating b2sum..."
[[ -f "b2sums.txt" ]] && rm "b2sums.txt"
[[ "$(echo ./*.iso)" == "./*.iso" ]] || cksum -a blake2b ./*.iso > "b2sums.txt"
[[ "$(echo ./*.img)" == "./*.img" ]] || cksum -a blake2b ./*.img > "b2sums.txt"
}
_cleanup_iso() {

View file

@ -153,16 +153,16 @@ _create_iso() {
# removing container
echo "Removing container ${_W_DIR}..."
rm -r "${_W_DIR}"
# create sha256sums
echo "Generating sha256sum..."
# create b2sums
echo "Generating b2sum..."
for i in *; do
if [[ -f "${i}" ]]; then
cksum -a sha256 "${i}" >> sha256sum.txt
cksum -a blake2b "${i}" >> b2sum.txt
fi
done
for i in boot/*; do
if [[ -f "${i}" ]]; then
cksum -a sha256 "${i}" >> sha256sum.txt
cksum -a blake2b "${i}" >> b2sum.txt
fi
done
}

View file

@ -78,16 +78,16 @@ _create_archive() {
[[ -d "${_DIR}" ]] && mv "${_DIR}" archive/
}
# sign files and create new sha256sum.txt
_sign_sha256sum() {
# sign files and create new b2sum.txt
_sign_b2sum() {
for i in $1; do
#shellcheck disable=SC2086
if [[ -f "${i}" ]]; then
sudo -u "${_USER}" gpg ${_GPG} "${i}"
cksum -a sha256 "${i}" >> sha256sum.txt
cksum -a blake2b "${i}" >> b2sum.txt
fi
if [[ -f "${i}.sig" ]]; then
cksum -a sha256 "${i}.sig" >> sha256sum.txt
cksum -a blake2b "${i}.sig" >> b2sum.txt
fi
done
}
@ -109,10 +109,10 @@ _server_release() {
chmod 755 "${_ISO_BUILD_DIR}"
chown -R "${_USER}:${_GROUP}" "${_ISO_BUILD_DIR}"
cd "${_ISO_BUILD_DIR}" || exit 1
# removing sha256sum
rm sha256sum.txt
_sign_sha256sum "*"
_sign_sha256sum "boot/*"
# removing b2sum
rm b2sum.txt
_sign_b2sum "*"
_sign_b2sum "boot/*"
chown -R "${_USER}:${_GROUP}" ./*
cd ..
_create_archive

View file

@ -92,7 +92,7 @@
<tr class="header">
<th>Release information</th>
<th>ISO images</th>
<th>SHA256SUM</th>
<th>B2SUM</th>
<th>Forum</th>
</tr>
</thead>
@ -100,7 +100,7 @@
<tr class="odd">
<td><a href="/iso/aarch64/latest/Release.txt"><strong>Latest</strong></a></td>
<td><a href="https://bit.ly/archboot-aarch64"><strong>Download</strong></a></td>
<td><a href="/iso/aarch64/latest/sha256sum.txt"><strong>Check</strong></a></td>
<td><a href="/iso/aarch64/latest/b2sum.txt"><strong>Check</strong></a></td>
<td><a href="https://archlinuxarm.org/forum/viewtopic.php?f=8&amp;t=15777"><strong>Check</strong></a></td>
</tbody>
</table>
@ -111,14 +111,14 @@
<tr class="header">
<th>Release information</th>
<th>ISO images</th>
<th>SHA256SUM</th>
<th>B2SUM</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><a href="/iso/riscv64/latest/Release.txt"><strong>Latest</strong></a></td>
<td><a href="https://bit.ly/archboot-riscv64"><strong>Download</strong></a></td>
<td><a href="/iso/riscv64/latest/sha256sum.txt"><strong>Check</strong></a></td>
<td><a href="/iso/riscv64/latest/b2sum.txt"><strong>Check</strong></a></td>
</tbody>
</table>
<p>The ISO supports <strong>riscv64</strong> and needs <a href="https://www.denx.de/wiki/U-Boot" title="U-Boot"><strong>U-Boot</strong></a> to launch. Recommended <strong>only</strong> for testing in a virtual machine.</p>
@ -128,7 +128,7 @@
<tr class="header">
<th>Release information</th>
<th>ISO images</th>
<th>SHA256SUM</th>
<th>B2SUM</th>
<th>Forum</th>
</tr>
</thead>
@ -136,7 +136,7 @@
<tr class="odd">
<td><a href="/iso/x86_64/latest/Release.txt"><strong>Latest</strong></a></td>
<td><a href="https://bit.ly/archboot-x86_64"><strong>Download</strong></a></td>
<td><a href="/iso/x86_64/latest/sha256sum.txt"><strong>Check</strong></a></td>
<td><a href="/iso/x86_64/latest/b2sum.txt"><strong>Check</strong></a></td>
<td><a href="https://bbs.archlinux.org/viewtopic.php?id=182439"><strong>Check</strong></a></td>
</tbody>
</table>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB