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:03:29 +0000 (13:03 +0000)
commita76129b03d1415bb56c4b0865e202e1464454b09
tree114ab275306bfdc8361d5e6c5d402b32f11b2795
parent06539d099080c837b6fea47972104c1f87fd057a
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]

(From OE-Core rev: 9b2a008c25a7a3152ae2d8c64ae8de2534471d47)

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