blob: 66ebb0010e1e6f60db9c542795d4cdb9ae4d3952 (
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
|
#!/bin/sh
set -v -e -x
ncpu=-j$(grep -c ^processor /proc/cpuinfo)
WORK=/setup/
cd $WORK
git clone --depth=1 --single-branch -b system-symbols-mac https://github.com/gabrielesvelto/libdmg-hfsplus.git
cd libdmg-hfsplus
cmake .
make "$ncpu" dmg-bin hfsplus
# `make install` installs way too much stuff
cp dmg/dmg hfs/hfsplus /builds/worker/bin
strip /builds/worker/bin/dmg /builds/worker/bin/hfsplus
pip3 install --break-system-packages --no-cache-dir git+https://github.com/mozilla/reposado@3dd826dfd89c8a1224aecf381637aa0bf90a3a3c
python3 /usr/local/bin/repoutil --configure <<EOF
/opt/data-reposado/html/
/opt/data-reposado/metadata/
http://example.com/
EOF
pip3 install --break-system-packages --no-cache-dir -r /setup/requirements.txt
cd /
rm -rf /setup
|