diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-11-10 10:30:21 -0600 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-11-11 00:33:49 -0800 |
commit | 3e7120d6a9fd5e46214673d0a6e1085a7314ff42 (patch) | |
tree | 1dfc78dc1355d509cbf5dd9eb88190a94be7bf08 /meta/classes/core-image.bbclass | |
parent | 815560c0ee5a1a984b7d0fc8417c46606854e7fe (diff) | |
download | openembedded-core-3e7120d6a9fd5e46214673d0a6e1085a7314ff42.tar.gz openembedded-core-3e7120d6a9fd5e46214673d0a6e1085a7314ff42.tar.bz2 openembedded-core-3e7120d6a9fd5e46214673d0a6e1085a7314ff42.tar.xz openembedded-core-3e7120d6a9fd5e46214673d0a6e1085a7314ff42.zip |
rootfs_rpm.bbclass: Enable pre and post install scripts
[YOCTO #1755]
We change the want the RPM rootfs install works to install pre and post install
scripts. The new method uses a script helper that is invoked by RPM outside
of the normal chroot.
The wrapper is dynamically generated prior to the install starting. It will
check the return code of the script. If the script fails, it will store a copy
to be executed on the first system boot. This is similar to the previous
mechanism.
In addition, a line of debug was added to the scripts as written by package_rpm
to list which package and which script for later debugging, if necessary.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/core-image.bbclass')
0 files changed, 0 insertions, 0 deletions