All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package
Date: Sat, 12 Jan 2008 13:52:26 +0100	[thread overview]
Message-ID: <01b701c85520$dc548460$030514ac@atmel.com> (raw)
In-Reply-To: 20080110134511.GA1941@cloud.net.au

You should not write to /etc.
You should write to the project_build_dir/<project>/root/etc


Best Regards
Ulf Samuelsson                ulf at atmel.com
Atmel Nordic AB
Mail:  Box 2033, 174 02 Sundbyberg, Sweden
Visit:  Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden
Phone +46 (8) 441 54 22     Fax +46 (8) 441 54 29
GSM    +46 (706) 22 44 57

Technical support when I am not available:
AT90 AVR Applications Group: mailto:avr at atmel.com
AT91 ARM Applications Group: mailto:at91support at atmel.com
AVR32 Applications Group        mailto:avr32 at atmel.com
http://www.avrfreaks.net/;            http://avr32linux.org/
http://www.at91.com/ ;                ftp://at91dist:distrib at 81.80.104.162/
----- Original Message ----- 
From: "Hamish Moffatt" <hamish@cloud.net.au>
To: "Ulf Samuelsson" <ulf@atmel.com>
Cc: <buildroot@uclibc.org>
Sent: Thursday, January 10, 2008 2:45 PM
Subject: Re: [Buildroot] svn commit: trunk/buildroot/package


> On Thu, Jan 10, 2008 at 12:04:18PM +0100, Ulf Samuelsson wrote:
>> > On Thu, Jan 10, 2008 at 01:29:06AM -0800, ulf at uclibc.org wrote:
>> >> Log:
>> >> Use host ldconfig, if external toolchain is used
>> >> 
>> >> +ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
>> >> +TARGET_LDCONFIG=/sbin/ldconfig
>> >> +else
>> >>  TARGET_LDCONFIG=$(TARGET_CROSS)ldconfig
>> >> +endif
>> > 
>> > How can that be right? What does it fix?
>> 
>> You may be right, it may need more complex logic.
>> Is testing CodeSourcery tools, which does not provide ldconfig.
>> Running /sbin/ldconfig seems to allow the build to complete.
> 
> On my system, /sbin/ldconfig fails if run as a non-root user (can't
> create temporary file /etc/ld.so.cache~).
> 
> Maybe the logic could detect if $(TARGET_CROSS)ldconfig exists and if
> not, set TARGET_LDCONFIG=/bin/true? (I don't think there is any need to
> ever run /sbin/ldconfig, because the host's ld.so.cache doesn't need
> updating.)
> 
> ifeq ($(shell which $(TARGET_CROSS)ldconfig),)
> TARGET_LDCONFIG=/bin/true
> else
> TARGET_LDCONFIG=$(TARGET_CROSS)ldconfig
> endif
> 
> ... appears to work here. "type" or "whence" or "command -v" might be
> more portable than which, I'm not sure. I don't see any way to do it
> without $(shell ..) though.
> 
> 
> cheers
> Hamish
> -- 
> Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
>

  reply	other threads:[~2008-01-12 12:52 UTC|newest]

Thread overview: 180+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-10  9:29 [Buildroot] svn commit: trunk/buildroot/package ulf at uclibc.org
2008-01-10 10:42 ` Hamish Moffatt
2008-01-10 11:04   ` Ulf Samuelsson
2008-01-10 13:45     ` Hamish Moffatt
2008-01-12 12:52       ` Ulf Samuelsson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-03-02  7:59 jacmet at uclibc.org
2009-02-13  9:18 jacmet at uclibc.org
2009-02-04 12:57 jacmet at uclibc.org
2009-02-02  0:39 hamish at uclibc.org
2009-02-02  6:25 ` Peter Korsgaard
2009-02-02 23:22   ` Hamish Moffatt
2009-02-01 16:10 ulf at uclibc.org
2009-01-28  6:32 jacmet at uclibc.org
2009-01-16 12:30 jacmet at uclibc.org
2009-01-13  0:46 hamish at uclibc.org
2009-01-11 20:13 ulf at uclibc.org
2009-01-05 15:23 jacmet at uclibc.org
2008-12-30 19:15 jacmet at uclibc.org
2008-12-29 15:22 jacmet at uclibc.org
2008-12-28 22:28 jacmet at uclibc.org
2008-12-15 22:07 tpetazzoni at uclibc.org
2008-12-15 22:42 ` Thomas Petazzoni
2008-12-16  0:37   ` Hamish Moffatt
2008-12-11  0:33 jacmet at uclibc.org
2008-12-08  8:08 egtvedt at uclibc.org
2008-11-21 14:51 jacmet at uclibc.org
2008-11-11 18:32 tpetazzoni at uclibc.org
2008-11-11 18:46 ` danieljlaird at hotmail.com
2008-11-11 19:10   ` Thomas Petazzoni
2008-11-11 20:52     ` danieljlaird at hotmail.com
2008-11-12  1:09 ` hartleys
2008-11-12  7:55   ` Thomas Petazzoni
2008-11-12 14:14     ` Arnar Mar Sig
2008-11-15  6:06       ` Roberto A. Foglietta
2008-11-15  9:22         ` danieljlaird at hotmail.com
2008-11-15  9:28           ` danieljlaird at hotmail.com
2008-11-15  9:40           ` Roberto A. Foglietta
2008-11-17 11:53         ` Daniel Laird
2008-11-18  3:26           ` Weber, Bernd
2008-11-15 21:20 ` Peter Korsgaard
2008-11-16  9:14   ` Roberto A. Foglietta
2008-11-21 14:51   ` Peter Korsgaard
2008-11-20 14:56 ` Roberto A. Foglietta
2008-11-20 19:13   ` danieljlaird at hotmail.com
2008-11-22 14:04     ` Thomas Petazzoni
2008-11-07  8:56 jacmet at uclibc.org
2008-11-07  8:15 laird at uclibc.org
2008-11-06 12:54 laird at uclibc.org
2008-11-06 15:54 ` hartleys
2008-11-06 16:39   ` Thomas Petazzoni
2008-11-06 17:44   ` danieljlaird at hotmail.com
2008-11-06 18:11     ` hartleys
2008-11-06 21:01       ` danieljlaird at hotmail.com
2008-11-06 22:20       ` Thomas Petazzoni
2008-10-22 15:28 laird at uclibc.org
2008-10-22 12:47 laird at uclibc.org
2008-10-22 15:01 ` Thomas Petazzoni
2008-10-20 11:32 jacmet at uclibc.org
2008-10-07 17:08 wberrier at uclibc.org
2008-10-07 23:17 ` Hamish Moffatt
2008-10-06 19:20 wberrier at uclibc.org
2008-09-19 14:43 laird at uclibc.org
2008-09-19 13:37 laird at uclibc.org
2008-09-14 19:19 jacmet at uclibc.org
2008-09-14 19:19 jacmet at uclibc.org
2008-09-04  2:34 hamish at uclibc.org
2008-09-04  1:19 hamish at uclibc.org
2008-09-04  1:05 hamish at uclibc.org
2008-08-29 12:04 laird at uclibc.org
2008-08-22 14:24 jacmet at uclibc.org
2008-08-22 14:24 jacmet at uclibc.org
2008-08-22 14:01 jacmet at uclibc.org
2008-08-16 11:59 jacmet at uclibc.org
2008-08-04 19:08 jacmet at uclibc.org
2008-08-04 19:08 jacmet at uclibc.org
2008-08-04 19:08 jacmet at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-07-11 13:44 jacmet at uclibc.org
2008-07-10  8:17 jacmet at uclibc.org
2008-07-07  5:08 jacmet at uclibc.org
2008-07-06  6:23 ulf at uclibc.org
2008-07-07  5:06 ` Peter Korsgaard
2008-07-04  3:49 correa at uclibc.org
2008-07-02  8:58 jacmet at uclibc.org
2008-07-01 13:30 jacmet at uclibc.org
2008-07-01 12:04 jacmet at uclibc.org
2008-06-26 11:43 jacmet at uclibc.org
2008-06-24 18:35 jacmet at uclibc.org
2008-06-24 13:26 jacmet at uclibc.org
2008-06-14 21:01 jacmet at uclibc.org
2008-05-31  7:27 jacmet at uclibc.org
2008-04-19 20:44 jacmet at uclibc.org
2008-04-12  9:44 nkukard at uclibc.org
2008-04-01 10:30 jacmet at uclibc.org
2008-03-28 23:13 jacmet at uclibc.org
2008-03-28 10:40 jacmet at uclibc.org
2008-03-28 10:39 jacmet at uclibc.org
2008-03-28 10:39 jacmet at uclibc.org
2008-03-11 18:15 ninevoltz at uclibc.org
2008-03-11 19:12 ` Peter Korsgaard
2008-03-07 16:54 ninevoltz at uclibc.org
2008-03-07 20:32 ` Peter Korsgaard
2008-03-07 23:55 ` Hamish Moffatt
2008-03-10 10:40   ` Ivan Kuten
2008-03-10 23:50     ` Hamish Moffatt
2008-03-06 18:40 ninevoltz at uclibc.org
2008-03-06 18:39 ninevoltz at uclibc.org
2008-02-24 21:35 jacmet at uclibc.org
2008-02-24 23:03 ` Hamish Moffatt
2008-02-24 21:34 jacmet at uclibc.org
2008-02-24 20:17 jacmet at uclibc.org
2007-10-30 20:05 ulf at uclibc.org
2007-10-30 10:31 ulf at uclibc.org
2007-10-26 17:50 vanokuten at uclibc.org
2007-10-29  0:42 ` Hamish Moffatt
2007-10-30 20:00   ` Ulf Samuelsson
2007-10-18  7:40 ulf at uclibc.org
2007-10-18  5:56 ulf at uclibc.org
2007-09-29 14:27 aldot at uclibc.org
2007-09-29 10:05 aldot at uclibc.org
2007-09-28 22:15 aldot at uclibc.org
2007-09-28 19:49 ulf at uclibc.org
2007-09-27 21:58 aldot at uclibc.org
2007-09-20 18:28 aldot at uclibc.org
2007-09-20 17:27 aldot at uclibc.org
2007-09-20 11:14 aldot at uclibc.org
2007-09-20 11:08 aldot at uclibc.org
2007-09-12  4:40 ulf at uclibc.org
2007-09-01 17:32 aldot at uclibc.org
2007-08-28  8:14 aldot at uclibc.org
2007-08-24 14:18 aldot at uclibc.org
2007-08-22 16:56 aldot at uclibc.org
2007-08-22 16:44 aldot at uclibc.org
2007-08-22 16:28 aldot at uclibc.org
2007-08-22 16:21 aldot at uclibc.org
2007-08-22 16:19 aldot at uclibc.org
2007-08-22 16:08 aldot at uclibc.org
2007-08-22 16:02 aldot at uclibc.org
2007-08-22 15:59 aldot at uclibc.org
2007-08-22 15:52 aldot at uclibc.org
2007-08-14  6:18 ulf at uclibc.org
2007-08-06 19:41 ulf at uclibc.org
2007-07-31 15:10 aldot at uclibc.org
2007-07-27 12:47 aldot at uclibc.org
2007-07-23 12:03 aldot at uclibc.org
2007-07-23 12:01 ulf at uclibc.org
2007-07-23 11:37 aldot at uclibc.org
2007-07-22 20:09 sjhill at uclibc.org
2007-07-22 23:00 ` Ulf Samuelsson
2007-07-20 11:36 ulf at uclibc.org
2007-07-17 12:09 ulf at uclibc.org
2007-07-17  0:24 sjhill at uclibc.org
2007-07-12 15:32 ulf at uclibc.org
2007-07-02  8:58 aldot at uclibc.org
2007-06-26 14:02 aldot at uclibc.org
2007-05-07  4:01 sjhill at uclibc.org
2007-03-20 17:58 aldot at uclibc.org
2007-02-16  9:32 aldot at uclibc.org
2007-01-30 17:33 aldot at uclibc.org
2007-01-30  8:35 aldot at uclibc.org
2007-01-22 19:33 aldot at uclibc.org
2007-01-22 12:27 aldot at uclibc.org
2007-01-21 16:08 aldot at uclibc.org
2007-01-17 12:31 aldot at uclibc.org
2007-01-17 12:28 aldot at uclibc.org
2007-01-17 12:27 aldot at uclibc.org
2007-01-17 12:04 aldot at uclibc.org
2007-01-17 11:34 aldot at uclibc.org
2007-01-15 22:37 andersen at uclibc.org
2007-01-15 16:01 aldot at uclibc.org
2007-01-14 22:18 andersen at uclibc.org
2007-01-14  1:04 sjhill at uclibc.org
2006-12-15 14:37 aldot at uclibc.org
2006-12-08 12:45 aldot at uclibc.org
2006-10-01 18:34 aldot at uclibc.org
2006-09-30 21:08 aldot at uclibc.org
2006-08-29 16:41 aldot at uclibc.org
2006-08-24 19:35 aldot at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='01b701c85520$dc548460$030514ac@atmel.com' \
    --to=ulf@atmel.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.