Attention is currently required from: dexter, jolly.
fixeria has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/onomondo-eim/+/42830?usp=email )
Change subject: config/sys.config: fix certificate paths ......................................................................
Patch Set 1: Code-Review-1
(1 comment)
Patchset:
PS1: Usually all misc files go to the `priv` directory - this is a standard place for auxiliary files in OTP applications. Its path can be obtained at run-time via `code:priv_dir/1`:
``` -spec get_priv(Name) -> Path when Name :: file:filename_all(), Path :: file:filename_all(). get_priv(Name) -> PrivDir = code:priv_dir(?ENV_APP_NAME), filename:join(PrivDir, Name).
%% example Path = get_priv("sample_ssl_cert.crt").
```
The proposed patch looks wrong to me. The configuration should definitely not contain relative paths.