Skip to content

Commit

Permalink
Modify Debian postinst to use usrsctp on ppc64el. (#2214)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanLennox authored Aug 26, 2024
1 parent 97a1f15 commit 6e441e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ case "$1" in
sed -i 's/.*--apis.*//' $CONFIG
fi

# dcsctp4j isn't built for ppc64el, so use usrsctp there if no explicit option has been set.
DEBARCH=$(dpkg --print-architecture)
if [ "$DEBARCH" = "ppc64el" ] && ! hocon -f $HOCON_CONFIG get "videobridge.sctp.use-usrsctp" > /dev/null 2>&1 ;then
hocon -f $HOCON_CONFIG set "videobridge.sctp.use-usrsctp" "true"
fi

# we don't want to start the daemon as root
if ! getent group jitsi > /dev/null ; then
groupadd jitsi
Expand Down

0 comments on commit 6e441e6

Please sign in to comment.