Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] fix ldconfig at target-finalize
@ 2010-06-16 13:43 Baruch Siach
  2010-06-28  7:16 ` Andy Gibbs
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2010-06-16 13:43 UTC (permalink / raw)
  To: buildroot

Host ldconfig fails when the directory of the aux-cache file
(/var/cache/ldconfig, by default) does not exist. Make sure this directory
exists before calling ldconfig.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 794a298..1415e30 100644
--- a/Makefile
+++ b/Makefile
@@ -402,6 +402,7 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y)
 	rm -rf $(TARGET_DIR)/usr/share/gtk-doc
 endif
 	find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
+	mkdir -p $(TARGET_DIR)/var/cache/ldconfig
 	$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
 
 	mkdir -p $(TARGET_DIR)/etc
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-28  8:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-16 13:43 [Buildroot] [PATCH] fix ldconfig at target-finalize Baruch Siach
2010-06-28  7:16 ` Andy Gibbs
2010-06-28  7:22   ` Baruch Siach
2010-06-28  8:31     ` Andy Gibbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox