[calcom] OM build fixes
This commit is contained in:
parent
4a4c130a05
commit
64733e650a
@ -218,7 +218,7 @@ EOF
|
||||
apt install -y gcc libcrypt-dev
|
||||
gcc -static -Os -o /federated/apps/calcom/data/root/federated/static_crypt /federated/apps/calcom/data/root/federated/static_crypt.c -lcrypt
|
||||
elif [ "$DISTRO" = "openmandriva" ]; then
|
||||
dnf -y --refresh install clang 'pkgconfig(libcrypt)'
|
||||
dnf -y --refresh install clang 'pkgconfig(libcrypt)' glibc-devel
|
||||
clang -Os -march=native -o /federated/apps/calcom/data/root/federated/static_crypt /federated/apps/calcom/data/root/federated/static_crypt.c -lcrypt
|
||||
fi
|
||||
|
||||
@ -1858,6 +1858,7 @@ uninstall_calcom() {
|
||||
|
||||
start_calcom() {
|
||||
# Ensure DNS entry is added
|
||||
/federated/bin/fix pdnsmysql
|
||||
docker exec pdns pdnsutil add-record $DOMAIN calcom A 86400 $EXTERNALIP &> /dev/null
|
||||
[ $? -ne 0 ] && fail "Couldn't add dns record for calcom"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user