summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/lsb/lsbtest/LSB_Test.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh b/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
index db4e7496e5..2004157db1 100644
--- a/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
+++ b/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
@@ -444,11 +444,13 @@ else
echo "Fail to creat Dirnames file"
fi
+[ -x /sbin/ldconfig ] && {
echo ""
echo "---------------------------------"
echo "Update cache"
-ldconfig
+/sbin/ldconfig
check;
+}
# Check loop device
if [ ! -b /dev/loop0 ]