]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm.bbclass: name postinst files with package name
authorKang Kai <kai.kang@windriver.com>
Fri, 1 Mar 2013 10:02:14 +0000 (18:02 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Mar 2013 13:01:14 +0000 (13:01 +0000)
commit9b2a008c25a7a3152ae2d8c64ae8de2534471d47
treee5d2b45d891f53988dd1b0fd7de41bab3c57bba7
parent643cdac63353527c1b5cb6eeabe75df8d0dc8346
package_rpm.bbclass: name postinst files with package name

When create rootfs, some post install scripts need be run on device.
They are saved under directory /etc/rpm-postinst and named with numbers
such as 100, 101 etc.

Update to name the postinst script file with its package name instead of
just number. That may be more easy to debug when there is a error.

[YOCTO #3218]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass