summaryrefslogtreecommitdiffstats
path: root/meta/classes/prserv.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-11-10 10:30:21 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-30 16:43:01 +0000
commit7561770d43cf1cb0d988c9f095f924aac13ba60a (patch)
treefa8572d388c1a34a13a6ffe0191c5d6ae29cd548 /meta/classes/prserv.bbclass
parent03fbfe7cf138b4aab138552557753d9f03848df4 (diff)
downloadpoky-7561770d43cf1cb0d988c9f095f924aac13ba60a.tar.gz
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. (From OE-Core rev: 3e7120d6a9fd5e46214673d0a6e1085a7314ff42) (From OE-Core rev: 5d74a2bbe036cf586b76aef0d9907ecb3d4a5f1d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/prserv.bbclass')
0 files changed, 0 insertions, 0 deletions