OTP21 will support building a release tarball with a file sys.config.src instead of sys.config that does not have to be legal Erlang. We should be using this file, if it exists, when replacing OS vars at runtime, instead of the current way of copying/replacing of sys.config.
We'll also need to update the release build code to recognize sys.config.src.
OTP21 will support building a release tarball with a file
sys.config.src
instead ofsys.config
that does not have to be legal Erlang. We should be using this file, if it exists, when replacing OS vars at runtime, instead of the current way of copying/replacing ofsys.config
.We'll also need to update the release build code to recognize
sys.config.src
.I suppose a new config option will be needed?