]> code.ossystems Code Review - openembedded-core.git/commit
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)
committerSaul Wold <sgw@linux.intel.com>
Mon, 16 Jul 2012 15:31:40 +0000 (08:31 -0700)
commit3f85ab6d0d05a4e34fe73fa343d2b3b942fc69b7
treeb50a5798b639df6d3ed9a92bed417d2498fa46d8
parent3fec966531059b4b21f40be3b22a60edf88c5190
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

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