]> code.ossystems Code Review - openembedded-core.git/commit
rootfs_rpm.bbclass: fix the unexpected postinst error
authorChen Qi <Qi.Chen@windriver.com>
Tue, 22 Jan 2013 08:44:05 +0000 (16:44 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Jan 2013 15:54:26 +0000 (15:54 +0000)
commit202263aeca837dc7b6615a3dc34569c199163733
tree7bfffcd24487ffd15094827d5985ce2ee0b8da96
parentf8832d969746fb879e63d1b28e6beef5ab82a39d
rootfs_rpm.bbclass: fix the unexpected postinst error

If the /etc/rpm-postinsts/ directory was empty, the following error
would occur at system startup.

      ERROR: postinst /etc/rpm-postinsts/* failed

This patch fixes this issue.

[YOCTO #3767]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs_rpm.bbclass