Commit Graph

7 Commits

Author SHA1 Message Date
Pau Espin 6e76289899 debian-*-erlang: Install libsctp to enable sctp support in erlang apps
The current "--enable-sctp" flag when building erlang consists of
supporting SCTP if the libsctp library is found at runtime, by
dynamically linking to it only when SCTP features are requested.

The erlang package in debian only lists libsctp as a Build-Depends, but
it is not installed by default, so apps wishing to use SCTP will fail:
"""
[error] CRASH REPORT Process <0.155.0> with 0 neighbours crashed with reason: no match of right hand value {error,{shutdown,{open,eprotonosupport}
"""

Installing the libsctp library fixes the issue.

Related: OS#5757
Change-Id: I5ca332f9064c16491116608577b3f68379d840e6
2023-08-28 12:24:45 +00:00
Vadim Yanitskiy 7a41031b5f debian-bullseye-*: apt-key is deprecated, use [signed-by] instead
The following warning message appears when running apt-key:

  apt-key is deprecated. Manage keyring files in trusted.gpg.d instead

The apt-key man page mentions that the "use of apt-key is deprecated,
except for the use of apt-key del in maintainer scripts to remove
existing keys from the main keyring".  What's more, "apt-key will last
be available in Debian 11 and Ubuntu 22.04".

Additionally, while the deprecation message says to "manage keyring
files in trusted.gpg.d instead", the Debian wiki states otherwise.
It's recommended to store the keys in /usr/share/keyrings instead,
and then use the 'signed-by' option to reference them.

ee284d5917

Change-Id: I1cae4f49e72f5e4f9d703cdb8f6d117e18e3567c
2023-02-20 16:39:07 +07:00
Oliver Smith 30b32e574a Use Osmocom OBS
Related: OS#5557
Change-Id: I880f8134e4f7e6ae4125237e6b3983c04cea9ec6
2022-06-27 16:47:56 +02:00
Oliver Smith f3c09b2a24 Install ca-certificates before Osmocom repo
Prepare for using https://downloads.osmocom.org/packages/ instead of
http://download.opensuse.org to download packages. Install
ca-certificates before attempting to use the repository, otherwise it
will print a warning and not use the repository and e.g. install
eclipse-titan from debian's repository instead of our repo.

Fix for:
W: https://downloads.osmocom.org/packages/osmocom:/latest/Debian_11/./InRelease: No system certificates available. Try installing ca-certificates.

Related: OS#5557
Change-Id: Icb6764601671b6e66591f33ede6d0f822811545a
2022-06-27 16:47:56 +02:00
Oliver Smith c6094726ae */Dockerfile: drop MAINTAINER line
MAINTAINER is deprecated, drop the line in all Dockerfiles as suggested
by Vadim.

Related: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
Change-Id: If1ef3032af2075d792c526ae744ec4c0c091da3a
2022-05-13 18:17:06 +02:00
Pau Espin 987c12442d debian-bullseye-erlang: Build rebar3 from source
This way we ensure it is always built against the same erlang OTP
installed in the system.

Change-Id: I6cd8a61ca52c7beda98b357f82ce42eba54e196b
2022-02-16 17:42:03 +00:00
Pau Espin e4f5dc89a4 Add debian-bullseye-erlang docker image
Copied from debian-buster-erlang, references to debian 10 and buster
modified to debian11 and bullseye.

Change-Id: I5c13eedcbfa721b7e1939e571470ea7044c00211
2022-02-16 15:50:32 +01:00