Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Andrew Bresticker <abrestic@waymo.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] kexec-tools: Depend on sysinit.target rather than basic.target
Date: Wed, 12 Sep 2018 10:44:15 -0700	[thread overview]
Message-ID: <20180912174415.71497-2-abrestic@waymo.com> (raw)
In-Reply-To: <20180912174415.71497-1-abrestic@waymo.com>

kdump.service only needs filesystems to be up, for which sysinit.target
is sufficeint. basic.target pulls in networking and other services which
are unnecessary for kdump. This is also useful for when kdump.service is
used as the boot target (e.g. for the kdump kernel) and only a minimal
system needs to be brought up.

Signed-off-by: Andrew Bresticker <abrestic@waymo.com>
---
 meta/recipes-kernel/kexec/kexec-tools/kdump.service | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/kexec/kexec-tools/kdump.service b/meta/recipes-kernel/kexec/kexec-tools/kdump.service
index 013c5a62b3..b4a2c0611d 100644
--- a/meta/recipes-kernel/kexec/kexec-tools/kdump.service
+++ b/meta/recipes-kernel/kexec/kexec-tools/kdump.service
@@ -1,7 +1,8 @@
 [Unit]
 Description=Reboot and dump vmcore via kexec
 DefaultDependencies=no
-After=basic.target
+Requires=sysinit.target
+After=sysinit.target
 
 [Service]
 Type=oneshot
-- 
2.19.0.rc2.392.g5ba43deb5a-goog



      reply	other threads:[~2018-09-12 17:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-12 17:44 [PATCH 1/2] kexec-tools: Install systemd service Andrew Bresticker
2018-09-12 17:44 ` Andrew Bresticker [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=20180912174415.71497-2-abrestic@waymo.com \
    --to=abrestic@waymo.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