From: Carsten Haitzler (The Rasterman) <raster@rasterman.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe-commits] Koen Kooi : initscripts: only run ldconfig on boot when ld.so. conf is present
Date: Fri, 31 Oct 2008 23:37:53 +1100 [thread overview]
Message-ID: <20081031233753.43f5f09d.raster@rasterman.com> (raw)
In-Reply-To: <20081031110045.7EF89189333@amethyst.openembedded.net>
On Fri, 31 Oct 2008 12:00:45 +0100 (CET) git@amethyst.openembedded.net (GIT
User account) babbled:
is there any reason to run ldconfig on boot? this should be handled by opkg on
package install/upgrade or by the flash image creation (this slows boot
significantly and i've patched out/disabled ldconfig run in bootmisc.sh with no
ill effects).
> Module: openembedded.git
> Branch: org.openembedded.dev
> Commit: 6628886e858d77a8f9f94dd3229143e144d39f0e
> URL:
> http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6628886e858d77a8f9f94dd3229143e144d39f0e
>
> Author: Koen Kooi <koen@openembedded.org>
> Date: Fri Oct 31 11:57:54 2008 +0100
>
> initscripts: only run ldconfig on boot when ld.so.conf is present
>
> ---
>
> packages/initscripts/initscripts-1.0/bootmisc.sh | 6 ++++--
> packages/initscripts/initscripts_1.0.bb | 2 +-
> 2 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/packages/initscripts/initscripts-1.0/bootmisc.sh
> b/packages/initscripts/initscripts-1.0/bootmisc.sh index 2a40e0c..dde1209
> 100755
> --- a/packages/initscripts/initscripts-1.0/bootmisc.sh
> +++ b/packages/initscripts/initscripts-1.0/bootmisc.sh
> @@ -57,9 +57,11 @@ then
> fi
>
> #
> -# Update dynamic library cache
> +# Update dynamic library cache, but only if ld.so.conf is present
> #
> -/sbin/ldconfig
> +if [ -e /etc/ld.so.conf ] ; then
> + /sbin/ldconfig
> +fi
>
> # Set the system clock from hardware clock
> # If the timestamp is 1 day or more recent than the current time,
> diff --git a/packages/initscripts/initscripts_1.0.bb
> b/packages/initscripts/initscripts_1.0.bb index b1c4317..8daefc5 100644
> --- a/packages/initscripts/initscripts_1.0.bb
> +++ b/packages/initscripts/initscripts_1.0.bb
> @@ -4,7 +4,7 @@ PRIORITY = "required"
> DEPENDS = "makedevs"
> RDEPENDS = "makedevs"
> LICENSE = "GPL"
> -PR = "r109"
> +PR = "r110"
>
> SRC_URI = "file://functions \
> file://halt \
>
>
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
>
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) raster@rasterman.com
next parent reply other threads:[~2008-10-31 13:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20081031110045.7EF89189333@amethyst.openembedded.net>
2008-10-31 12:37 ` Carsten Haitzler [this message]
2008-10-31 15:55 ` [oe-commits] Koen Kooi : initscripts: only run ldconfig on boot when ld.so. conf is present Koen Kooi
2008-10-31 21:53 ` Carsten Haitzler
2008-11-01 8:22 ` Koen Kooi
2008-11-01 11:38 ` Stanislav Brabec
2008-11-01 19:20 ` Phil Blundell
2008-11-02 7:45 ` Koen Kooi
2008-11-01 23:08 ` Carsten Haitzler
2008-11-02 4:51 ` Denys Dmytriyenko
2008-11-02 6:37 ` Carsten Haitzler
2008-11-02 10:52 ` Stanislav Brabec
2008-11-02 11:25 ` Running one-off target binaries, was: " Koen Kooi
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=20081031233753.43f5f09d.raster@rasterman.com \
--to=raster@rasterman.com \
--cc=openembedded-devel@lists.openembedded.org \
/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.