* [Buildroot] [pull request] Pull request for branch for-2010.08-3
@ 2010-08-30 21:15 Thomas Petazzoni
2010-08-30 21:15 ` [Buildroot] [PATCH 1/1] Fix ldconfig call in target-finalize Thomas Petazzoni
2010-08-30 21:35 ` [Buildroot] [pull request] Pull request for branch for-2010.08-3 Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2010-08-30 21:15 UTC (permalink / raw)
To: buildroot
The following changes since commit 4973632207fd496199298191ada01c8c8ec2bee7:
Yann E. MORIN (1):
packages/atk: fix Makefile
are available in the git repository at:
git://git.busybox.net/~tpetazzoni/git/buildroot for-2010.08-3
Thomas Petazzoni (1):
Fix ldconfig call in target-finalize
Makefile | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
Thanks,
--
Thomas Petazzoni
^ permalink raw reply [flat|nested] 3+ messages in thread* [Buildroot] [PATCH 1/1] Fix ldconfig call in target-finalize
2010-08-30 21:15 [Buildroot] [pull request] Pull request for branch for-2010.08-3 Thomas Petazzoni
@ 2010-08-30 21:15 ` Thomas Petazzoni
2010-08-30 21:35 ` [Buildroot] [pull request] Pull request for branch for-2010.08-3 Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2010-08-30 21:15 UTC (permalink / raw)
To: buildroot
Recent versions of ldconfig require the directory /var/lib/ldconfig,
otherwise they bail out with an error. Moreover, having a
/etc/ld.so.conf file also avoids a warning.
In addition to this, we remove the redirection of stderr, so that
errors remain visible to the user.
Thanks to Baruch Siach, Andy Gibbs and Darcy Watkins for investigating
the issue and proposing solutions.
This fixes the build on recent distributions such as Fedora 13 or
Gentoo.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Makefile | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index d37d81f..462d974 100644
--- a/Makefile
+++ b/Makefile
@@ -400,13 +400,17 @@ 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)/etc
+ # Mandatory configuration file and auxilliary cache directory
+ # for recent versions of ldconfig
+ touch $(TARGET_DIR)/etc/ld.so.conf
+ mkdir -p $(TARGET_DIR)/var/cache/ldconfig
if [ -x "$(TARGET_CROSS)ldconfig" ]; \
then \
- $(TARGET_CROSS)ldconfig -r $(TARGET_DIR) 2>/dev/null; \
+ $(TARGET_CROSS)ldconfig -r $(TARGET_DIR); \
else \
- /sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null; \
+ /sbin/ldconfig -r $(TARGET_DIR); \
fi
- mkdir -p $(TARGET_DIR)/etc
echo $(BR2_VERSION)$(shell $(TOPDIR)/scripts/setlocalversion) > \
$(TARGET_DIR)/etc/br-version
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [pull request] Pull request for branch for-2010.08-3
2010-08-30 21:15 [Buildroot] [pull request] Pull request for branch for-2010.08-3 Thomas Petazzoni
2010-08-30 21:15 ` [Buildroot] [PATCH 1/1] Fix ldconfig call in target-finalize Thomas Petazzoni
@ 2010-08-30 21:35 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-08-30 21:35 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> The following changes since commit 4973632207fd496199298191ada01c8c8ec2bee7:
Thomas> Yann E. MORIN (1):
Thomas> packages/atk: fix Makefile
Thomas> are available in the git repository at:
Thomas> git://git.busybox.net/~tpetazzoni/git/buildroot for-2010.08-3
Pulled, thanks!
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-30 21:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-30 21:15 [Buildroot] [pull request] Pull request for branch for-2010.08-3 Thomas Petazzoni
2010-08-30 21:15 ` [Buildroot] [PATCH 1/1] Fix ldconfig call in target-finalize Thomas Petazzoni
2010-08-30 21:35 ` [Buildroot] [pull request] Pull request for branch for-2010.08-3 Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox