diff options
author | Philippe Coval <philippe.coval@osg.samsung.com> | 2016-01-20 10:33:25 +0100 |
---|---|---|
committer | Philippe Coval <philippe.coval@osg.samsung.com> | 2016-01-20 10:39:27 +0100 |
commit | 4a9ae2d0394a94ad7ecbd927aae40b125ee5baf7 (patch) | |
tree | 9e0f27ca0613044fd9db6b99fedc6fc5ff60412b | |
parent | 317bfee66280e5dfdbc014fb38ceb0edc95faeca (diff) | |
download | meta-tizen-4a9ae2d0394a94ad7ecbd927aae40b125ee5baf7.tar.gz meta-tizen-4a9ae2d0394a94ad7ecbd927aae40b125ee5baf7.tar.bz2 meta-tizen-4a9ae2d0394a94ad7ecbd927aae40b125ee5baf7.zip |
privacy-manager-server: 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: I06d3731455912b536c053b29833de9d44832027b
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
-rw-r--r-- | meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc b/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc index 01c39096..eb5bfefc 100644 --- a/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc +++ b/meta-tizen-common-base/recipes-security/privacy-manager-server/privacy-manager-server.inc @@ -171,7 +171,7 @@ pkg_postinst_privacy-manager-client() { pkg_postinst_privacy-manager-server() { #!/bin/sh -e - ldconfig + [ "" != "$D" ] || ldconfig echo "Check privacy DB" if [ ! -f $D${prefix}/dbspace/.privacy.db ] then |