From a5f1ca30f9dcd1f763a4ef6a39f72c89e56fc4de Mon Sep 17 00:00:00 2001
From: Siri Hansen
Date: Tue, 7 Feb 2017 11:57:54 +0100
Subject: [systools] Fix return value for warnings_as_errors + silent
When both options 'warnings_as_errors' and 'silent' were given to
systools:make_script or systools:make_relup, no error reason would be
returned if warnings occured. Instead only the atom 'error' was
returned. This is now corrected.
Options 'warnings_as_errors' and 'no_warn_sasl' are now also allowed
for systools:make_tar.
---
lib/sasl/doc/src/systools.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'lib/sasl/doc')
diff --git a/lib/sasl/doc/src/systools.xml b/lib/sasl/doc/src/systools.xml
index fa503fa573..4ca4a08329 100644
--- a/lib/sasl/doc/src/systools.xml
+++ b/lib/sasl/doc/src/systools.xml
@@ -268,7 +268,7 @@
Creates a release package.
Name = string()
- Opt = {dirs,[IncDir]} | {path,[Dir]} | {variables,[Var]} | {var_tar,VarTar} | {erts,Dir} | src_tests | exref | {exref,[App]} | silent | {outdir,Dir}
+ Opt = {dirs,[IncDir]} | {path,[Dir]} | {variables,[Var]} | {var_tar,VarTar} | {erts,Dir} | src_tests | exref | {exref,[App]} | silent | {outdir,Dir} | | no_warn_sasl | warnings_as_errors
Dir = string()
IncDir = src | include | atom()
Var = {VarName,PreFix}
@@ -297,6 +297,10 @@
directory unless Name contains a path. If option
{outdir,Dir} is specified, it is located in Dir
instead.
+ If SASL is not included as an application in
+ the .rel file, a warning is issued because such a
+ release cannot be used in an upgrade. To turn off this
+ warning, add option no_warn_sasl.
By default, the release package contains the directories
lib/App-Vsn/ebin and lib/App-Vsn/priv for each
included application. If more directories are to be included,
--
cgit v1.2.3