Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Jermain Horsman" <jermain.horsman@nedap.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [kirkstone][PATCH] run-postinsts: Set dependency for ldconfig to avoid boot issues
Date: Thu, 04 May 2023 01:33:29 -0700	[thread overview]
Message-ID: <27200.1683189209167253697@lists.openembedded.org> (raw)
In-Reply-To: <CAMKF1soAYAOWOfuQoejoKTqhxsa8NLShVe6osTyqnDvKzpEM2g@mail.gmail.com>

On Thu, May  4, 2023 at 02:12 AM, Khem Raj wrote:

>
> should it depend on ldconfig being in distro features ? it may not be
> there on all systems.
>

Do you mean we should add it conditionally based upon the value of distro features?
Or if it is required to have ldconfig included in distro features for this change?

If it is the latter, an After= dependency on a service that does not exist should not have any effect.
An After= only means the startup of this service is delayed until ldconfig has finished starting up.
If ldconfig.service does not exist, it can never be started and there is nothing to wait for,
meaning this service will start as soon as the other After= dependencies are met.


      reply	other threads:[~2023-05-04  8:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-03 14:12 [kirkstone][PATCH] run-postinsts: Set dependency for ldconfig to avoid boot issues jhatnedap
2023-05-04  0:12 ` [OE-core] " Khem Raj
2023-05-04  8:33   ` Jermain Horsman [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=27200.1683189209167253697@lists.openembedded.org \
    --to=jermain.horsman@nedap.com \
    --cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox