* [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt
@ 2010-11-09 15:50 Darcy Watkins
2010-11-09 17:39 ` Thomas Petazzoni
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Darcy Watkins @ 2010-11-09 15:50 UTC (permalink / raw)
To: buildroot
This instructs the ldconfig not to build / rebuild the cache. It was a
while back I encountered this and I have just carried it forward since.
Someone more expert should check this and decide on its appropriateness
for 2010.11 and/or future buildroot release.
Signed-off by: Darcy Watkins <dwatkins@tranzeo.com>
Index: buildroot-2010.11_powerpc/Makefile
===================================================================
--- buildroot-2010.11_powerpc.orig/Makefile
+++ buildroot-2010.11_powerpc/Makefile
@@ -413,9 +413,9 @@ endif
mkdir -p $(TARGET_DIR)/var/cache/ldconfig
if [ -x "$(TARGET_CROSS)ldconfig" ]; \
then \
- $(TARGET_CROSS)ldconfig -r $(TARGET_DIR); \
+ $(TARGET_CROSS)ldconfig -N -r $(TARGET_DIR); \
else \
- /sbin/ldconfig -r $(TARGET_DIR); \
+ /sbin/ldconfig -N -r $(TARGET_DIR); \
fi
echo $(BR2_VERSION_FULL) > $(TARGET_DIR)/etc/br-version
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt
2010-11-09 15:50 [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt Darcy Watkins
@ 2010-11-09 17:39 ` Thomas Petazzoni
2010-11-09 18:37 ` Darcy Watkins
2010-11-09 20:00 ` Darcy Watkins
2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2010-11-09 17:39 UTC (permalink / raw)
To: buildroot
On Tue, 09 Nov 2010 07:50:56 -0800
Darcy Watkins <dwatkins@tranzeo.com> wrote:
> This instructs the ldconfig not to build / rebuild the cache. It was
> a while back I encountered this and I have just carried it forward
> since. Someone more expert should check this and decide on its
> appropriateness for 2010.11 and/or future buildroot release.
Well all the point of calling ldconfig at this point is to create this
cache. So if we add -N to disable the cache build, what's the point of
calling ldconfig at all ?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt
2010-11-09 15:50 [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt Darcy Watkins
2010-11-09 17:39 ` Thomas Petazzoni
@ 2010-11-09 18:37 ` Darcy Watkins
2010-11-09 18:54 ` Thomas Petazzoni
2010-11-09 20:00 ` Darcy Watkins
2 siblings, 1 reply; 5+ messages in thread
From: Darcy Watkins @ 2010-11-09 18:37 UTC (permalink / raw)
To: buildroot
> Well all the point of calling ldconfig at this point is to create this
> cache. So if we add -N to disable the cache build, what's the point of
> calling ldconfig at all ?
Then I'm going to try building without the patch to see if it is OK to
toss it into the infinite bit sink. Thx!
Darcy
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt
2010-11-09 18:37 ` Darcy Watkins
@ 2010-11-09 18:54 ` Thomas Petazzoni
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2010-11-09 18:54 UTC (permalink / raw)
To: buildroot
On Tue, 09 Nov 2010 10:37:33 -0800
Darcy Watkins <dwatkins@tranzeo.com> wrote:
> Then I'm going to try building without the patch to see if it is OK to
> toss it into the infinite bit sink. Thx!
What is the problem you're having without the patch ?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt
2010-11-09 15:50 [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt Darcy Watkins
2010-11-09 17:39 ` Thomas Petazzoni
2010-11-09 18:37 ` Darcy Watkins
@ 2010-11-09 20:00 ` Darcy Watkins
2 siblings, 0 replies; 5+ messages in thread
From: Darcy Watkins @ 2010-11-09 20:00 UTC (permalink / raw)
To: buildroot
>> Then I'm going to try building without the patch to see if it is OK to
>> toss it into the infinite bit sink. Thx!
>
> What is the problem you're having without the patch ?
I think I ran into difficulties a while back when using crosstool and
then an upgrade to a newer Fedora distribution.
I just ran a build of buildroot without the patch and using crosstool-ng
1.9.0 as an external toolchain. Worked fine so to the bit sink the
patch goes.
Thx.
Darcy
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-11-09 20:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09 15:50 [Buildroot] Buildroot Patches I Use [3] - ldconfig -N opt Darcy Watkins
2010-11-09 17:39 ` Thomas Petazzoni
2010-11-09 18:37 ` Darcy Watkins
2010-11-09 18:54 ` Thomas Petazzoni
2010-11-09 20:00 ` Darcy Watkins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox