From 06c5ff4e823cab16987d89c585ef2de4a3db2a7b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 8 Aug 2005 06:57:43 +0000 Subject: minor cleanup for target handling --- target/ext2/ext2root.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'target/ext2') diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk index 49b2e076f..5f5bdb1eb 100644 --- a/target/ext2/ext2root.mk +++ b/target/ext2/ext2root.mk @@ -70,11 +70,9 @@ $(EXT2_BASE): host-fakeroot makedevs genext2fs @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/share/man @rm -rf $(TARGET_DIR)/usr/info - test -e "$(TARGET_DIR)/etc/ld.so.conf" \ - && /sbin/ldconfig -r $(TARGET_DIR) \ - || true + -/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null # Use fakeroot to pretend all target binaries are owned by root - $(STAGING_DIR)/usr/bin/fakeroot \ + -$(STAGING_DIR)/usr/bin/fakeroot \ -i $(STAGING_DIR)/fakeroot.env \ -s $(STAGING_DIR)/fakeroot.env -- \ chown -R root:root $(TARGET_DIR) -- cgit v1.2.3