From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-systemd][PATCH 14/33] dnsmasq: move systemd support from meta-systemd back to meta-oe
Date: Sun, 14 Apr 2013 16:52:59 +0200 [thread overview]
Message-ID: <20130414145259.GC2475@jama> (raw)
In-Reply-To: <1365859790-20947-14-git-send-email-Martin.Jansa@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4095 bytes --]
On Sat, Apr 13, 2013 at 03:29:31PM +0200, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc | 14 ++++++++++++--
> .../dnsmasq/dnsmasq/dnsmasq.service | 0
> meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bb | 2 ++
> .../recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend | 18 ------------------
> 4 files changed, 14 insertions(+), 20 deletions(-)
> rename {meta-systemd/meta-oe => meta-oe}/recipes-connectivity/dnsmasq/dnsmasq/dnsmasq.service (100%)
> delete mode 100644 meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend
this breaks dnsmasq-dbus which is using the same .inc. dnsmasq-dbus
removal is in separate patch.
>
> diff --git a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc b/meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc
> index d6f3a54..ef99f48 100644
> --- a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc
> +++ b/meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc
> @@ -9,9 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
> #at least versions 2.15 and prior are moved to the archive folder on the server
> SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(d.getVar('PV',1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \
> file://init \
> - file://dnsmasq.conf"
> + file://dnsmasq.conf \
> + file://dnsmasq.service \
> +"
>
> -inherit update-rc.d
> +inherit update-rc.d systemd
>
> INITSCRIPT_NAME = "dnsmasq"
> INITSCRIPT_PARAMS = "defaults"
> @@ -24,6 +26,14 @@ do_install () {
> install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/init.d ${D}${sysconfdir}/dnsmasq.d
> 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
> }
>
> CONFFILES_${PN} = "${sysconfdir}/dnsmasq.conf"
> +
> +RPROVIDES_${PN} += "${PN}-systemd"
> +RREPLACES_${PN} += "${PN}-systemd"
> +RCONFLICTS_${PN} += "${PN}-systemd"
> +SYSTEMD_SERVICE_${PN} = "dnsmasq.service"
> diff --git a/meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq/dnsmasq.service b/meta-oe/recipes-connectivity/dnsmasq/dnsmasq/dnsmasq.service
> similarity index 100%
> rename from meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq/dnsmasq.service
> rename to meta-oe/recipes-connectivity/dnsmasq/dnsmasq/dnsmasq.service
> diff --git a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bb b/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bb
> index 5f87704..ae37db7 100644
> --- a/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bb
> +++ b/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bb
> @@ -1,4 +1,6 @@
> require dnsmasq.inc
>
> +PR = "r3"
> +
> SRC_URI[dnsmasq-2.55.md5sum] = "b093d7c6bc7f97ae6fd35d048529232a"
> SRC_URI[dnsmasq-2.55.sha256sum] = "cf63ecf5977f00474cbda98376a9d8743500a82fd98e13f43d7037bce9f9f929"
> diff --git a/meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend b/meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend
> deleted file mode 100644
> index 148586e..0000000
> --- a/meta-systemd/meta-oe/recipes-connectivity/dnsmasq/dnsmasq_2.55.bbappend
> +++ /dev/null
> @@ -1,18 +0,0 @@
> -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> -
> -PRINC := "${@int(PRINC) + 2}"
> -
> -inherit systemd
> -
> -SRC_URI += "file://dnsmasq.service"
> -
> -RPROVIDES_${PN} += "${PN}-systemd"
> -RREPLACES_${PN} += "${PN}-systemd"
> -RCONFLICTS_${PN} += "${PN}-systemd"
> -SYSTEMD_SERVICE_${PN} = "dnsmasq.service"
> -
> -do_install_append() {
> - install -d ${D}${systemd_unitdir}/system
> - install -m 0644 ${WORKDIR}/dnsmasq.service ${D}${systemd_unitdir}/system
> -}
> -
> --
> 1.8.1.5
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2013-04-14 15:10 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-13 13:29 [meta-systemd][PATCH 01/33] keymaps: move bbappend to oe-core subdirectory Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 02/33] dropbear: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 03/33] busybox: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 04/33] rpcbind: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 05/33] at: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 06/33] entrance: move systemd support from meta-systemd back to meta-efl Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 07/33] gdm: move systemd support from meta-systemd back to meta-gnome Martin Jansa
2013-04-14 14:50 ` Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 08/33] mpd: move systemd support from meta-systemd back to meta-multimedia Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 09/33] autofs: move systemd support from meta-systemd back to meta-networking Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 10/33] ntp: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 11/33] yp-tools, ypbind-mt: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 12/33] xfce4-session: move systemd support from meta-systemd back to meta-xfce Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 13/33] cloud9: move systemd support from meta-systemd back to meta-oe Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 14/33] dnsmasq: " Martin Jansa
2013-04-14 14:52 ` Martin Jansa [this message]
2013-04-13 13:29 ` [meta-systemd][PATCH 15/33] udisks: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 16/33] strongswan: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 17/33] gpsd: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 18/33] xserver-nodm-init: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 19/33] net-snmp: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 20/33] xinput-calibrator: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 21/33] cherokee: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 22/33] gateone: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 23/33] atftp: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 24/33] zram: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 25/33] syslog-ng: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 26/33] rsyslog: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 27/33] lxdm: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 28/33] pcsc-lite: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 29/33] networkmanager: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 30/33] packagegroup-basic: Drop bbappend from meta-systemd Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 31/33] polkit: move systemd support from meta-systemd back to meta-oe Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 32/33] meta-systemd: drop now unused gitpkgv.bbclass Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 33/33] layer.conf: remove detection of other layers, now there are only oe-core bbappends 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=20130414145259.GC2475@jama \
--to=martin.jansa@gmail.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 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.