* [PATCH] rpcbind: Add ${PN}-systemd to PACKAGES
@ 2013-02-14 9:32 Florin Sarbu
2013-02-14 9:32 ` [meta-oe][meta-systemd][] " Florin Sarbu
0 siblings, 1 reply; 9+ messages in thread
From: Florin Sarbu @ 2013-02-14 9:32 UTC (permalink / raw)
To: openembedded-devel
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.
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
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-oe][meta-systemd][] rpcbind: Add ${PN}-systemd to PACKAGES
2013-02-14 9:32 [PATCH] rpcbind: Add ${PN}-systemd to PACKAGES Florin Sarbu
@ 2013-02-14 9:32 ` Florin Sarbu
2013-02-14 9:44 ` Martin Jansa
0 siblings, 1 reply; 9+ messages in thread
From: Florin Sarbu @ 2013-02-14 9:32 UTC (permalink / raw)
To: openembedded-devel
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.
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
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [meta-oe][meta-systemd][] rpcbind: Add ${PN}-systemd to PACKAGES
2013-02-14 9:32 ` [meta-oe][meta-systemd][] " Florin Sarbu
@ 2013-02-14 9:44 ` Martin Jansa
2013-03-06 7:38 ` Florin Sarbu
0 siblings, 1 reply; 9+ messages in thread
From: Martin Jansa @ 2013-02-14 9:44 UTC (permalink / raw)
To: openembedded-devel
[-- 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 --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-oe][meta-systemd][] rpcbind: Add ${PN}-systemd to PACKAGES
2013-02-14 9:44 ` Martin Jansa
@ 2013-03-06 7:38 ` Florin Sarbu
2013-03-06 8:00 ` Martin Jansa
0 siblings, 1 reply; 9+ messages in thread
From: Florin Sarbu @ 2013-03-06 7:38 UTC (permalink / raw)
To: openembedded-devel
Hi,
this is still needed (for me at least but it looks like should be the
case for everybody too). I have today's master on both poky and
meta-openembedded and get:
ERROR: rpcbind-systemd does not appear in package list, please add it
ERROR: Function failed:
SYSTEMD_SERVICE_rpcbind-systemd value rpcbind.service does not exist
Have Khem's patches you were talking about been merged? Can't see them
anywhere though.
Thank you,
Florin
On 02/14/2013 11:44 AM, Martin Jansa wrote:
> 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
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-oe][meta-systemd][] rpcbind: Add ${PN}-systemd to PACKAGES
2013-03-06 7:38 ` Florin Sarbu
@ 2013-03-06 8:00 ` Martin Jansa
2013-03-06 8:04 ` Florin Sarbu
0 siblings, 1 reply; 9+ messages in thread
From: Martin Jansa @ 2013-03-06 8:00 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3919 bytes --]
On Wed, Mar 06, 2013 at 09:38:13AM +0200, Florin Sarbu wrote:
> Hi,
> this is still needed (for me at least but it looks like should be the
> case for everybody too). I have today's master on both poky and
> meta-openembedded and get:
>
> ERROR: rpcbind-systemd does not appear in package list, please add it
> ERROR: Function failed:
>
> SYSTEMD_SERVICE_rpcbind-systemd value rpcbind.service does not exist
Are you sure you're using systemd.bbclass from meta-systemd?
$ bitbake -e rpcbind | grep ^PACKAGES
PACKAGESPLITFUNCS="populate_packages_updatercd package_do_split_locales populate_packages"
PACKAGES="rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
PACKAGES_DYNAMIC="^rpcbind-locale-.*"
# $PACKAGES [3 operations]
# set conf/bitbake.conf:270
# "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
# set /OE/shr-core/openembedded-core/meta/conf/documentation.conf:91
# [doc] "Names of packages to be generated. @group packaging"
# set systemd.bbclass:33 [systemd_create_package]
# "rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
# computed:
# "rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
PACKAGES="rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
>
>
> Have Khem's patches you were talking about been merged? Can't see them
> anywhere though.
>
> Thank you,
> Florin
>
> On 02/14/2013 11:44 AM, Martin Jansa wrote:
> > 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
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> 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 --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-oe][meta-systemd][] rpcbind: Add ${PN}-systemd to PACKAGES
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
0 siblings, 2 replies; 9+ messages in thread
From: Florin Sarbu @ 2013-03-06 8:04 UTC (permalink / raw)
To: openembedded-devel
Actually no, forgot to mention that. My bad. I am using the systemd
class from poky. Now that poky has systemd.bbclass, what is the point of
the meta-openembedded systemd class? I thought it would go away and
people would rely on the poky features for systemd enabling.
On 03/06/2013 10:00 AM, Martin Jansa wrote:
> On Wed, Mar 06, 2013 at 09:38:13AM +0200, Florin Sarbu wrote:
>> Hi,
>> this is still needed (for me at least but it looks like should be the
>> case for everybody too). I have today's master on both poky and
>> meta-openembedded and get:
>>
>> ERROR: rpcbind-systemd does not appear in package list, please add it
>> ERROR: Function failed:
>>
>> SYSTEMD_SERVICE_rpcbind-systemd value rpcbind.service does not exist
> Are you sure you're using systemd.bbclass from meta-systemd?
>
> $ bitbake -e rpcbind | grep ^PACKAGES
> PACKAGESPLITFUNCS="populate_packages_updatercd package_do_split_locales populate_packages"
> PACKAGES="rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
> PACKAGES_DYNAMIC="^rpcbind-locale-.*"
>
> # $PACKAGES [3 operations]
> # set conf/bitbake.conf:270
> # "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
> # set /OE/shr-core/openembedded-core/meta/conf/documentation.conf:91
> # [doc] "Names of packages to be generated. @group packaging"
> # set systemd.bbclass:33 [systemd_create_package]
> # "rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
> # computed:
> # "rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
> PACKAGES="rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
>
>>
>> Have Khem's patches you were talking about been merged? Can't see them
>> anywhere though.
>>
>> Thank you,
>> Florin
>>
>> On 02/14/2013 11:44 AM, Martin Jansa wrote:
>>> 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
>>>
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-oe][meta-systemd][] rpcbind: Add ${PN}-systemd to PACKAGES
2013-03-06 8:04 ` Florin Sarbu
@ 2013-03-06 12:17 ` Martin Jansa
2013-03-06 14:22 ` Florin Sarbu
1 sibling, 0 replies; 9+ messages in thread
From: Martin Jansa @ 2013-03-06 12:17 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 5068 bytes --]
On Wed, Mar 06, 2013 at 10:04:09AM +0200, Florin Sarbu wrote:
> Actually no, forgot to mention that. My bad. I am using the systemd
> class from poky. Now that poky has systemd.bbclass, what is the point of
> the meta-openembedded systemd class? I thought it would go away and
> people would rely on the poky features for systemd enabling.
See this thread
http://lists.linuxtogo.org/pipermail/openembedded-core/2013-February/035956.html
> On 03/06/2013 10:00 AM, Martin Jansa wrote:
> > On Wed, Mar 06, 2013 at 09:38:13AM +0200, Florin Sarbu wrote:
> >> Hi,
> >> this is still needed (for me at least but it looks like should be the
> >> case for everybody too). I have today's master on both poky and
> >> meta-openembedded and get:
> >>
> >> ERROR: rpcbind-systemd does not appear in package list, please add it
> >> ERROR: Function failed:
> >>
> >> SYSTEMD_SERVICE_rpcbind-systemd value rpcbind.service does not exist
> > Are you sure you're using systemd.bbclass from meta-systemd?
> >
> > $ bitbake -e rpcbind | grep ^PACKAGES
> > PACKAGESPLITFUNCS="populate_packages_updatercd package_do_split_locales populate_packages"
> > PACKAGES="rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
> > PACKAGES_DYNAMIC="^rpcbind-locale-.*"
> >
> > # $PACKAGES [3 operations]
> > # set conf/bitbake.conf:270
> > # "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
> > # set /OE/shr-core/openembedded-core/meta/conf/documentation.conf:91
> > # [doc] "Names of packages to be generated. @group packaging"
> > # set systemd.bbclass:33 [systemd_create_package]
> > # "rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
> > # computed:
> > # "rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
> > PACKAGES="rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev rpcbind-doc rpcbind-locale rpcbind"
> >
> >>
> >> Have Khem's patches you were talking about been merged? Can't see them
> >> anywhere though.
> >>
> >> Thank you,
> >> Florin
> >>
> >> On 02/14/2013 11:44 AM, Martin Jansa wrote:
> >>> 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
> >>>
> >>> _______________________________________________
> >>> Openembedded-devel mailing list
> >>> Openembedded-devel@lists.openembedded.org
> >>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >> _______________________________________________
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> 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 --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-oe][meta-systemd][] rpcbind: Add ${PN}-systemd to PACKAGES
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
1 sibling, 1 reply; 9+ messages in thread
From: Florin Sarbu @ 2013-03-06 14:22 UTC (permalink / raw)
To: openembedded-devel
So no plans to remove the systemd support from meta-openembedded now
that poky has a systemd.bbclass merged in? My feeling is that this adds
unneeded overhead now.
On 03/06/2013 10:04 AM, Florin Sarbu wrote:
> Actually no, forgot to mention that. My bad. I am using the systemd
> class from poky. Now that poky has systemd.bbclass, what is the point
> of the meta-openembedded systemd class? I thought it would go away and
> people would rely on the poky features for systemd enabling.
>
> On 03/06/2013 10:00 AM, Martin Jansa wrote:
>> On Wed, Mar 06, 2013 at 09:38:13AM +0200, Florin Sarbu wrote:
>>> Hi,
>>> this is still needed (for me at least but it looks like should be the
>>> case for everybody too). I have today's master on both poky and
>>> meta-openembedded and get:
>>>
>>> ERROR: rpcbind-systemd does not appear in package list, please add it
>>> ERROR: Function failed:
>>>
>>> SYSTEMD_SERVICE_rpcbind-systemd value rpcbind.service does not exist
>> Are you sure you're using systemd.bbclass from meta-systemd?
>>
>> $ bitbake -e rpcbind | grep ^PACKAGES
>> PACKAGESPLITFUNCS="populate_packages_updatercd
>> package_do_split_locales populate_packages"
>> PACKAGES="rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev
>> rpcbind-doc rpcbind-locale rpcbind"
>> PACKAGES_DYNAMIC="^rpcbind-locale-.*"
>>
>> # $PACKAGES [3 operations]
>> # set conf/bitbake.conf:270
>> # "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale
>> ${PACKAGE_BEFORE_PN} ${PN}"
>> # set /OE/shr-core/openembedded-core/meta/conf/documentation.conf:91
>> # [doc] "Names of packages to be generated. @group packaging"
>> # set systemd.bbclass:33 [systemd_create_package]
>> # "rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev
>> rpcbind-doc rpcbind-locale rpcbind"
>> # computed:
>> # "rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev
>> rpcbind-doc rpcbind-locale rpcbind"
>> PACKAGES="rpcbind-systemd rpcbind-dbg rpcbind-staticdev rpcbind-dev
>> rpcbind-doc rpcbind-locale rpcbind"
>>
>>>
>>> Have Khem's patches you were talking about been merged? Can't see them
>>> anywhere though.
>>>
>>> Thank you,
>>> Florin
>>>
>>> On 02/14/2013 11:44 AM, Martin Jansa wrote:
>>>> 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
>>>>>
>>>>
>>>> _______________________________________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.openembedded.org
>>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-oe][meta-systemd][] rpcbind: Add ${PN}-systemd to PACKAGES
2013-03-06 14:22 ` Florin Sarbu
@ 2013-03-06 16:27 ` Khem Raj
0 siblings, 0 replies; 9+ messages in thread
From: Khem Raj @ 2013-03-06 16:27 UTC (permalink / raw)
To: openembedded-devel
On Wed, Mar 6, 2013 at 6:22 AM, Florin Sarbu <florin.sarbu@windriver.com> wrote:
> So no plans to remove the systemd support from meta-openembedded now that
> poky has a systemd.bbclass merged in? My feeling is that this adds unneeded
> overhead now.
There are outstanding issues that needs to be addressed. We are trying
hard to merge systemd class such that
we dont have to keep another copy
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-03-06 16:44 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.