Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify Debian postinst to use usrsctp on ppc64el. #2214

Merged
merged 1 commit into from
Aug 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading