mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
LSB_Test.sh: check ldconfig before update cache
LSB_Test.sh run ldconfig to update library cache. If command ldconfig doesn't exists, test will fail. Check whether ldconfig exists. If not, don't update library cache. (From OE-Core rev: e3e5ebd6d05263bd7878537df93e9f1572f1172a) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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 ]
|
||||
|
||||
Reference in New Issue
Block a user