summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-11-21 16:45:23 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-08 16:36:47 +0000
commitd9e3f7629bb8d9a23bd0105c1c3e269f5279fcf3 (patch)
treea0e2b6e8614f6a038bc6c3729ed278d668941d32 /documentation
parent2a6bba43786bd36ecb629b35e50f5b1221292678 (diff)
downloadpoky-d9e3f7629bb8d9a23bd0105c1c3e269f5279fcf3.tar.gz
dev-manual: Added note about RPM not dealing with post-install
Fixes [YOCTO #10351] I added a note to the "Post Installation Scripts" section of the "Writing a New Recipe" section to call out the fact that the RPM package manager will not install packages on the target when any RPM post-install script returns a non-zero exit code when the script is run on the target. (From yocto-docs rev: a2b36b4a352522e3c576a45ee239af51eda518c1) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-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 @@
3012 If the script succeeds, the package is marked as installed. 3012 If the script succeeds, the package is marked as installed.
3013 If the script fails, the package is marked as unpacked and 3013 If the script fails, the package is marked as unpacked and
3014 the script is executed when the image boots again. 3014 the script is executed when the image boots again.
3015 <note>
3016 Any RPM post-installation script that runs on the target
3017 should return a 0 exit code.
3018 RPM does not allow non-zero exit codes for these scripts,
3019 and the RPM package manager will cause the package to fail
3020 installation on the target.
3021 </note>
3015 </para> 3022 </para>
3016 3023
3017 <para> 3024 <para>