murphy: Prevent running ldconfig if not on system 69/57469/1
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 20 Jan 2016 09:33:26 +0000 (10:33 +0100)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 20 Jan 2016 09:39:06 +0000 (10:39 +0100)
commit759339cc168638291a5e1ab3f82b6b403786907d
treeb7cbf1f66665a30b4505b6de3e38a18d98ca9f15
parent6dddf426bdc822e482ef792cdf5bcc7d82681a5b
murphy: 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: I2ae3467c0f0e8b5b620d1772774771e3c33774ae
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
meta-tizen-common-share/recipes-core/murphy/murphy.inc