aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 39ce2a2497..2c95ecbc99 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -3012,6 +3012,13 @@
If the script succeeds, the package is marked as installed.
If the script fails, the package is marked as unpacked and
the script is executed when the image boots again.
+ <note>
+ Any RPM post-installation script that runs on the target
+ should return a 0 exit code.
+ RPM does not allow non-zero exit codes for these scripts,
+ and the RPM package manager will cause the package to fail
+ installation on the target.
+ </note>
</para>
<para>