package install failure on systems without /sbin/ldconfig
authorAmy Fong <amy.fong@windriver.com>
Mon, 9 Jul 2012 18:50:17 +0000 (14:50 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jul 2012 09:53:53 +0000 (10:53 +0100)
commitd06cd60f275a286db3ea98644795373950a34b4e
treed537161eef85a55d17d99ff26f0e8e72ce8392cc
parentf3f3ba360812beea95b2b8648b571990d0f3de24
package install failure on systems without /sbin/ldconfig

Package install failures due to issues in post install rules.

package_do_shlibs only looks for libraries in a directory "lib", this should be
modified to the variable baselib.

ldconfig_postinst_fragment failure observed on systems without /sbin/ldconfig
        [ -x /sbin/ldconfig ] && /sbin/ldconfig
results in the post install rule returning a failure. Modify to
        if [ -x /sbin/ldconfig ]; then /sbin/ldconfig; fi

(From OE-Core rev: 3f85ab6d0d05a4e34fe73fa343d2b3b942fc69b7)

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass