blob: 7c76b8f3ed6ba038a53f5194984fbdf29d5510e7 (
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
|
#!/bin/bash
set -e
if [ "$(whoami)" != "root" ]; then
sudo "$0" "$@"
exit $?
fi
tmp_dir="$(mktemp -d)"
destination="${tmp_dir}"
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}/"
rsync -v "'"${destination}"'/"archlinux-*.iso /mnt/archlinux32/archisos/testing/
systemctl start boinc
|