mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] remove
@ 2012-12-03 10:22 Xizhou Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Xizhou Wang @ 2012-12-03 10:22 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1413 bytes --]

 


Xizhou Wang 
Electronics Engineer

Direct: +44 (0) 1296 634024
Direct Fax: +44 (0)1296 634030
De Soutter Medical Limited Halton Brook Business Park, Weston Road, Aston Clinton, Aylesbury. Bucks HP22 5WF
Tel: +44 (0)1296 634000 Fax: +44 (0)1296 634033 Web: http://www.de-soutter.com/
--------------------------------------------------------------------------
This electronic message contains information from De Soutter Medical Ltd, which may be privileged or confidential and protected by copyright. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this email is prohibited and may be unlawful. If you have received this electronic message in error, please notify us by telephone or email immediately.
De Soutter Medical does not authorise any contract to be made using email without our express permission being granted in writing. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept liability for any such matters or their consequences. Anyone who communicates with us by e-mail is taken to accept the risks in doing so.
De Soutter Medical Ltd. Registered in England No. 3164365.

[-- Attachment #1.2: Type: text/html, Size: 3823 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [ptxdist] remove
@ 2016-05-19 17:19 Zolog, Ionel
  2016-05-20  7:04 ` Juergen Borleis
  0 siblings, 1 reply; 3+ messages in thread
From: Zolog, Ionel @ 2016-05-19 17:19 UTC (permalink / raw)
  To: ptxdist



Best Regards,
Ionel Zolog
Astronics Test Systems Inc.
O: 949-460-6809
C: 703-231-0814
ionel.zolog@astronics.com

-----Original Message-----
From: Clemens Gruber [mailto:clemens.gruber@pqgruber.com]
Sent: Thursday, May 19, 2016 10:06 AM
To: ptxdist@pengutronix.de
Cc: Clemens Gruber
Subject: [ptxdist] [PATCH] systemd: add setting to enable ldconfig service

Add a ptxdist setting to enable the systemd ldconfig.service, which calls /sbin/ldconfig -X if /etc/ld.so.cache does not exist and the machine boots or was updated.
Having a /etc/ld.so.cache file reduces the number of necessary syscalls dramatically. This is especially noticeable when often calling small binaries like /bin/true.
See: LD_DEBUG=libs /bin/true or strace /bin/true

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 rules/systemd.in   | 7 +++++++
 rules/systemd.make | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/rules/systemd.in b/rules/systemd.in index 876a890..fba72bc 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -73,6 +73,13 @@ config SYSTEMD_DISABLE_RANDOM_SEED
   the random seed is not possible.
   Warning: enabling this option may be insecure.

+config SYSTEMD_LDCONFIG
+bool
+prompt "enable ldconfig to initialize /etc/ld.so.cache"
+help
+  Enables ldconfig.service, which calls ldconfig at first boot and after
+  systemd-update-done if /etc/ld.so.cache does not exist.
+
 config SYSTEMD_LOGIND
 bool
 select SYSTEMD_DBUS
diff --git a/rules/systemd.make b/rules/systemd.make index 71c633a..776942d 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -121,7 +121,7 @@ SYSTEMD_CONF_OPT:= \
 --$(call ptx/endis,PTXCONF_UDEV_HWDB)-hwdb \
 --disable-manpages \
 --disable-hibernate \
---disable-ldconfig \
+--$(call ptx/endis,PTXCONF_SYSTEMD_LDCONFIG)-ldconfig \
 --enable-split-usr \
 --disable-tests \
 --disable-debug \
--
2.8.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail.

Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2016-05-20  7:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-03 10:22 [ptxdist] remove Xizhou Wang
2016-05-19 17:19 Zolog, Ionel
2016-05-20  7:04 ` Juergen Borleis

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