Index: mod_image_for_test.sh |
diff --git a/mod_image_for_test.sh b/mod_image_for_test.sh |
index d0bd096ee174291db0da2f3386dabeb564586889..5b93d245c4864e9d4b1ff98f98265a90db7609cb 100755 |
--- a/mod_image_for_test.sh |
+++ b/mod_image_for_test.sh |
@@ -235,6 +235,9 @@ else |
fi |
fi |
+# Re-run ldconfig to fix /etc/ldconfig.so.cache. |
+sudo /sbin/ldconfig -r "${ROOT_FS_DIR}" |
+ |
# Let's have a look at the image just in case.. |
if [ "${VERIFY}" = "true" ]; then |
pushd "${ROOT_FS_DIR}" |