[oe] [meta-oe][meta-systemd][] rpcbind: Add ${PN}-systemd to PACKAGES

Florin Sarbu florin.sarbu at windriver.com
Wed Mar 6 07:38:13 UTC 2013


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 at 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 at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list