blob: 3b54bd37101f4347e114cddbb6e37afd84ba1b85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#!/bin/bash
set -e
if [ "$(whoami)" != "root" ]; then
sudo "$0" "$@"
exit $?
fi
destination="$(mktemp -d)"
systemctl stop boinc
echo 'build i686-iso ...'
"${0%/*}/build-iso" 32
echo '... done.'
cp /usr/share/archiso/configs/releng/out/archlinux-*.iso "${destination}/"
echo 'build dual-iso ...'
"${0%/*}/build-iso" dual
echo '... done.'
cp /usr/share/archiso/configs/releng/out/archlinux-*.iso "${destination}/"
(
cd "${destination}/"
sha512sum *.iso > sha512sums
md5sum *.iso > md5sum
for s in *.iso; do
gpg --detach-sign "$s"
done
)
rsync -v "${destination}/"* /mnt/archlinux32/archisos/testing/
rm -rf --one-file-system "${destination}"
systemctl start boinc
|