message-port: Prevent running ldconfig if not on system 70/57470/1
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 20 Jan 2016 09:33:25 +0000 (10:33 +0100)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 20 Jan 2016 09:39:26 +0000 (10:39 +0100)
commit34fe05b1b2c0258c570cf77d05c9ab6ef56fa49d
tree90ad513099f2a392a082a013ee3d3a14edd25b97
parent759339cc168638291a5e1ab3f82b6b403786907d
message-port: Prevent running ldconfig if not on system

Without this change,
bitbake tries to run ldconfig on host instead
and then complains (but not fail !) about permission issue like :

   /sbin/ldconfig.real: \
   Can't create temporary cache file /etc/ld.so.cache~: \
   Permission denied

Note, "or condition" is prefered because of shell's -e option.

Change-Id: I0f1c9b6389ed37cccf6ad9d2a6bf77966043f2da
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
meta-tizen-common-base/recipes-application-framework/message-port/message-port.inc