mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] systemd: add setting to enable ldconfig service
Date: Thu, 26 May 2016 16:11:09 +0200	[thread overview]
Message-ID: <20160526141109.GM30393@pengutronix.de> (raw)
In-Reply-To: <20160526134154.GA1015@archie.localdomain>

Hi,

On Thu, May 26, 2016 at 03:41:54PM +0200, Clemens Gruber wrote:
> On Thu, May 26, 2016 at 11:53:30AM +0200, Michael Olbrich wrote:
> > Not like this. This should be handled in rc-once where the rootfs is
> > actually writeable. Also, as far as I know, there is currently no option to
> > install ldconfig. You should probably with a patch for this.
> 
> Hm, you mean you don't want to use the ldconfig.service from systemd,
> keep the --disable-ldconfig option and call ldconfig -X manually from a
> rc-once.d script, for it to work with read-only rootfs usecases?

Exactly.

> Regarding the ldconfig binary. You are right, totally forgot that I have
> a custom rule for that. I'll send a patch for that too with v2 of this
> patch.
> Btw. where should I put the ptxdist setting for the ldconfig binary?
> Is shell_and_console the right place, even though it is copied from the
> toolchain directory?

Add it to glibc please, before locale and localedef. And use the same
kconfig symbol to install the rc-once script as well, unless you have
use-case to keep it separate.

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2016-05-26 14:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-19 17:05 Clemens Gruber
2016-05-26  9:53 ` Michael Olbrich
2016-05-26 13:41   ` Clemens Gruber
2016-05-26 14:11     ` Michael Olbrich [this message]

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=20160526141109.GM30393@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox