From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-devel@lists.openembedded.org
Cc: Mark Asselstine <mark.asselstine@windriver.com>,
joe.macdonald@windriver.com
Subject: Re: [meta-networking][PATCH] dnsmasq: don't expect systemd support to be set
Date: Sun, 11 Aug 2013 21:41:32 +0100 [thread overview]
Message-ID: <8194550.0BPKn9U7hO@helios> (raw)
In-Reply-To: <1376187025-22368-1-git-send-email-mark.asselstine@windriver.com>
Hi Mark,
On Saturday 10 August 2013 22:10:25 Mark Asselstine wrote:
> If you don't have 'systemd' set in your DISTRO_FEATURES 'dnsmasq' will
> fail to package due to a QA error;
>
> ERROR: QA Issue: dnsmasq: Files/directories were installed but not shipped
> /lib
>
> Check for systemd in DISTRO_FEATURES before performing installation
> instructions related to systemd.
>
> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
> ---
> meta-networking/recipes-support/dnsmasq/dnsmasq.inc | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
> b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc index
> 0f5b273..b9e7ff6 100644
> --- a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
> +++ b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
> @@ -31,8 +31,10 @@ do_install () {
> install -m 644 ${WORKDIR}/dnsmasq.conf ${D}${sysconfdir}/
> install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq
>
> - install -d ${D}${systemd_unitdir}/system
> - install -m 0644 ${WORKDIR}/dnsmasq.service
> ${D}${systemd_unitdir}/system + if ${@base_contains('DISTRO_FEATURES',
> 'systemd', 'true', 'false', d)}; then + install -d
> ${D}${systemd_unitdir}/system
> + install -m 0644 ${WORKDIR}/dnsmasq.service
> ${D}${systemd_unitdir}/system + fi
>
> if [ "${@base_contains('PACKAGECONFIG', 'dbus', 'dbus', '', d)}" != ""
> ]; then install -d ${D}${sysconfdir}/dbus-1/system.d
There's already a global fix for this in OE-Core:
http://cgit.openembedded.org/openembedded-core/commit/meta/classes/systemd.bbclass?id=ac5d20f4adac69ea1702694fb50849c9e465b443
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2013-08-11 20:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-11 2:10 [meta-networking][PATCH] dnsmasq: don't expect systemd support to be set Mark Asselstine
2013-08-11 20:41 ` Paul Eggleton [this message]
2013-08-12 6:59 ` Martin Jansa
2013-08-12 12:25 ` Mark Asselstine
2013-08-12 11:28 ` Joe MacDonald
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=8194550.0BPKn9U7hO@helios \
--to=paul.eggleton@linux.intel.com \
--cc=joe.macdonald@windriver.com \
--cc=mark.asselstine@windriver.com \
--cc=openembedded-devel@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