All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][meta-systemd][] rpcbind: Add ${PN}-systemd to PACKAGES
Date: Thu, 14 Feb 2013 10:44:45 +0100	[thread overview]
Message-ID: <20130214094445.GJ3300@jama> (raw)
In-Reply-To: <1360834325-22890-2-git-send-email-florin.sarbu@windriver.com>

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

On Thu, Feb 14, 2013 at 11:32:05AM +0200, Florin Sarbu wrote:
> The ${PN}-systemd should be added to PACKAGES
> so that the package gets created.
> 
> Added do_install_append to have the systemd.service
> installed in the proper location.

see khem's patch fixing this in many recipes including rpcbind.

> 
> Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
> ---
>  .../meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend    |    8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend b/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend
> index 0fa7f97..8197550 100644
> --- a/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend
> +++ b/meta-systemd/meta-oe/recipes-extended/rpcbind/rpcbind_0.2.0.bbappend
> @@ -1,6 +1,8 @@
>  inherit systemd
>  
> -PRINC := "${@int(PRINC) + 1}"
> +PACKAGES =+ "${PN}-systemd"
> +
> +PRINC := "${@int(PRINC) + 2}"
>  
>  # look for files in the layer first
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> @@ -10,3 +12,7 @@ SRC_URI += "file://rpcbind.service"
>  SYSTEMD_PACKAGES = "${PN}-systemd"
>  SYSTEMD_SERVICE = "rpcbind.service"
>  
> +do_install_append() {
> +        install -d ${D}${systemd_unitdir}/system/
> +        install -m 0644 ${WORKDIR}/rpcbind.service ${D}${systemd_unitdir}/system
> +}
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2013-02-14 10:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14  9:32 [PATCH] rpcbind: Add ${PN}-systemd to PACKAGES Florin Sarbu
2013-02-14  9:32 ` [meta-oe][meta-systemd][] " Florin Sarbu
2013-02-14  9:44   ` Martin Jansa [this message]
2013-03-06  7:38     ` Florin Sarbu
2013-03-06  8:00       ` Martin Jansa
2013-03-06  8:04         ` Florin Sarbu
2013-03-06 12:17           ` Martin Jansa
2013-03-06 14:22           ` Florin Sarbu
2013-03-06 16:27             ` Khem Raj

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=20130214094445.GJ3300@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.