meta-tizen: gumd: Prevent running ldconfig if not on system 61/58061/1
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 18 Jan 2016 10:19:08 +0000 (11:19 +0100)
committerLeon Anavi <leon.anavi@konsulko.com>
Wed, 27 Jan 2016 08:26:41 +0000 (08:26 +0000)
commit76b50cf1ee7de8922ced6669f2e2a997a125a163
treea98f3d81a0c1b9c675795e31164ab8a322b52d72
parent9e800232dc2e552110008c0b5f8901d56301c539
meta-tizen: gumd: 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: Ie211954bfb1753a8fa7d450caa653c1e03a99d63
(From meta-tizen rev: 0dbe39ac0ee3899efb15608feab593fb4752b88c)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
meta-tizen/meta-tizen-common-base/recipes-security/gumd/gumd.inc