All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Burton, Ross" <ross.burton@intel.com>
To: Abdur Rehman <abdur_rehman@mentor.com>
Cc: Christopher Larson <chris_larson@mentor.com>,
	OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] watchdog: kill update-rc.d when not using sysvinit
Date: Tue, 28 Jul 2015 21:46:58 +0100	[thread overview]
Message-ID: <CAJTo0LZiEWScYqCJBfzrMQ=02vkb9jd5a-6+VvSZBqePZgr7yg@mail.gmail.com> (raw)
In-Reply-To: <1438103507-63604-1-git-send-email-abdur_rehman@mentor.com>

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]

On 28 July 2015 at 18:11, Abdur Rehman <abdur_rehman@mentor.com> wrote:

> +python () {
> +    if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False,
> d):
> +        d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
> +}
>

Isn't this what the update-rcd logic does already:

    # Check that this class isn't being inhibited (generally, by
    # systemd.bbclass) before doing any work.
    if bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d) or \
       not d.getVar("INHIBIT_UPDATERCD_BBCLASS", True):

Ross

[-- Attachment #2: Type: text/html, Size: 1225 bytes --]

  reply	other threads:[~2015-07-28 20:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28 17:11 [PATCH] watchdog: kill update-rc.d when not using sysvinit Abdur Rehman
2015-07-28 20:46 ` Burton, Ross [this message]
2015-07-29 18:05   ` Rehman, Abdur
2015-07-29 18:35     ` Burton, Ross
2015-07-29 19:27       ` Christopher Larson
2015-07-29 19:48         ` Burton, Ross
2015-07-29 20:09           ` Christopher Larson
2015-07-30 12:53             ` Burton, Ross
2015-07-30 15:13               ` Christopher Larson
2015-07-29 20:19         ` Martin Jansa

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='CAJTo0LZiEWScYqCJBfzrMQ=02vkb9jd5a-6+VvSZBqePZgr7yg@mail.gmail.com' \
    --to=ross.burton@intel.com \
    --cc=abdur_rehman@mentor.com \
    --cc=chris_larson@mentor.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 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.