From 5ef0c31bf4bd98805cf37da90e134f4a0f4acc83 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 14 Jul 2005 23:30:39 +0000 Subject: Run ldconfig on the target rootfs to generate /etc/ld.so.cache --- target/squashfs/squashfsroot.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'target/squashfs') diff --git a/target/squashfs/squashfsroot.mk b/target/squashfs/squashfsroot.mk index 7aac15c7d..abbd61848 100644 --- a/target/squashfs/squashfsroot.mk +++ b/target/squashfs/squashfsroot.mk @@ -57,6 +57,7 @@ squashfsroot: squashfs host-fakeroot makedevs -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true; @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/info + /sbin/ldconfig -r $(TARGET_DIR) # Use fakeroot to munge permissions and do root-like things rm -f $(STAGING_DIR)/fakeroot.env touch $(STAGING_DIR)/fakeroot.env -- cgit v1.2.3