In Bug 10264, it was discovered that RPM will fail to install packages properly on the host if a postinstall script returns a non-zero exit code. Since we allow for postinstall to return non-zero exit codes at build time, as documented here: http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#new-recipe-post-installation-scripts We should add a note that postinstall scripts intended to run on the host should never return a nonzero exit code, or the package will fail to install properly.
I'll come up with some wording for this and reassign it to Scott when it's ready.
Sounds good Stephano. Thanks, Scott
Created attachment 3542 [details] text changes for documentation See the attachment for the text changes. Let me know if you have any questions.
Stephano, Thanks for the suggested text in your comment. I put it in as is with the exception of calling out the RPM package manager instead of "it". So check it out at http://www.yoctoproject.org/docs/2.3/dev-manual/dev-manual.html#new-recipe-post-installation-scripts. You will notice too that I formatted the thing as a Note since it seemed to be something to note :) Let me know if this works for you. Thanks, Scott
Looks perfect! It's handy that we have that note feature. Thanks for the edits and polishing. --S
Thanks, I am putting the bug to RESOLVED now and setting the doc flag to "done." Scott
Verified, 'note' for RPM installation is placed on the documentation successfully