meta-tizen: murphy: Prevent running ldconfig if not on system 63/58063/1
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 20 Jan 2016 09:33:26 +0000 (10:33 +0100)
committerLeon Anavi <leon.anavi@konsulko.com>
Wed, 27 Jan 2016 08:26:57 +0000 (08:26 +0000)
commit0c3d7fb8bc5dc6888b35dc84a5ecba2e978cbf94
tree67226675318a8307047544287f3d4f71b9ed34b3
parent01c528b5102add4673cacceba15ed41fbd82f92a
meta-tizen: 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
(From meta-tizen rev: 759339cc168638291a5e1ab3f82b6b403786907d)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
meta-tizen/meta-tizen-common-share/recipes-core/murphy/murphy.inc