meta-tizen: ail: Prevent running ldconfig if not on system 62/58062/1
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 19 Jan 2016 14:33:51 +0000 (15:33 +0100)
committerLeon Anavi <leon.anavi@konsulko.com>
Wed, 27 Jan 2016 08:26:49 +0000 (08:26 +0000)
commit01c528b5102add4673cacceba15ed41fbd82f92a
tree8b5880c9a2f4d488793570012097cb3ee3d36f3a
parent76b50cf1ee7de8922ced6669f2e2a997a125a163
meta-tizen: ail: 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 preferred because of shell's -e option.

Change-Id: Ie211954bfb1753a8fa7d450caa653c1e03a9ffff
(From meta-tizen rev: 6dddf426bdc822e482ef792cdf5bcc7d82681a5b)
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-application-framework/ail/ail.inc