All of lore.kernel.org
 help / color / mirror / Atom feed
* How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd
@ 2012-05-03 19:11 Elvis Dowson
  2012-05-03 22:56 ` Denys Dmytriyenko
  0 siblings, 1 reply; 11+ messages in thread
From: Elvis Dowson @ 2012-05-03 19:11 UTC (permalink / raw)
  To: Yocto Discussion Mailing List

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

Hi,
      I get a bunch of warnings asking me to set SYSTEMD_PACKAGES as <existing-package>-systemd.

WARNING: /tool/yocto/meta-ti/recipes-misc/payload/bonescript.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd
WARNING: /tool/yocto/meta-openembedded/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd
WARNING: /tool/yocto/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd

What should I do to fix these warnings?

Best regards,

Elvis Dowson


[-- Attachment #2: Type: text/html, Size: 1165 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd
  2012-05-03 19:11 How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd Elvis Dowson
@ 2012-05-03 22:56 ` Denys Dmytriyenko
  0 siblings, 0 replies; 11+ messages in thread
From: Denys Dmytriyenko @ 2012-05-03 22:56 UTC (permalink / raw)
  To: Elvis Dowson; +Cc: Yocto Discussion Mailing List

On Thu, May 03, 2012 at 09:11:49PM +0200, Elvis Dowson wrote:
> Hi,
>       I get a bunch of warnings asking me to set SYSTEMD_PACKAGES as 
> <existing-package>-systemd.

You get those from the recipes that inherit systemd.bbclass, but not set 
SYSTEMD_PACKAGES with ${PN}-systemd for some reason. Sometimes it's wrong and 
needs fixing, but often it's done on purpose and the warning just needs to be 
silenced.

> WARNING: /tool/yocto/meta-ti/recipes-misc/payload/bonescript.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd

The first one is now silenced in meta-ti.

> WARNING: /tool/yocto/meta-openembedded/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd
> WARNING: /tool/yocto/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd

For these 2 please report them on openembedded-devel mailing list, where 
meta-oe things are being discussed. The last warning is confisuing, as it 
reports the recipe is in poky/oe-core, but it actually comes from the 
corresponding .bbappend in meta-oe.

-- 
Denys


^ permalink raw reply	[flat|nested] 11+ messages in thread

* How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd
@ 2012-05-04  7:54 Elvis Dowson
  2012-05-04  8:02 ` Martin Jansa
  0 siblings, 1 reply; 11+ messages in thread
From: Elvis Dowson @ 2012-05-04  7:54 UTC (permalink / raw)
  To: OpenEmbedded Core Mailing List

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

Hi,
      I get the following warnings when I try to do bitbake core-image-minimal

WARNING: /tool/yocto/meta-openembedded/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd

WARNING: /tool/yocto/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd

What is the appropriate change to make these two warnings go away?

Best regards,

Elvis Dowson

[-- Attachment #2: Type: text/html, Size: 999 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd
  2012-05-04  7:54 Elvis Dowson
@ 2012-05-04  8:02 ` Martin Jansa
  2012-05-04  8:16   ` Elvis Dowson
  2012-05-04  9:19   ` Elvis Dowson
  0 siblings, 2 replies; 11+ messages in thread
From: Martin Jansa @ 2012-05-04  8:02 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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

On Fri, May 04, 2012 at 09:54:35AM +0200, Elvis Dowson wrote:
> Hi,
>       I get the following warnings when I try to do bitbake core-image-minimal
> 
> WARNING: /tool/yocto/meta-openembedded/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd
> 
> WARNING: /tool/yocto/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd
> 
> What is the appropriate change to make these two warnings go away?

Check this thread
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg24963.html

Cheers,

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

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd
  2012-05-04  8:02 ` Martin Jansa
@ 2012-05-04  8:16   ` Elvis Dowson
  2012-05-04  8:19     ` Martin Jansa
  2012-05-04  9:19   ` Elvis Dowson
  1 sibling, 1 reply; 11+ messages in thread
From: Elvis Dowson @ 2012-05-04  8:16 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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

Hi Martin,

On May 4, 2012, at 10:02 AM, Martin Jansa wrote:
> 
> Check this thread
> http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg24963.html

The above thread only discusses the warning, but no-one has fixed it yet. If you can tell me what needs to be done, I'll create a patch and post it back to the list.

Best regards,

Elvis Dowson

[-- Attachment #2: Type: text/html, Size: 802 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd
  2012-05-04  8:16   ` Elvis Dowson
@ 2012-05-04  8:19     ` Martin Jansa
  0 siblings, 0 replies; 11+ messages in thread
From: Martin Jansa @ 2012-05-04  8:19 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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

On Fri, May 04, 2012 at 10:16:50AM +0200, Elvis Dowson wrote:
> Hi Martin,
> 
> On May 4, 2012, at 10:02 AM, Martin Jansa wrote:
> > 
> > Check this thread
> > http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg24963.html
> 
> The above thread only discusses the warning, but no-one has fixed it yet. If you can tell me what needs to be done, I'll create a patch and post it back to the list.

My reply in that thread says what needs to be done.

Cheers,

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

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd
  2012-05-04  8:02 ` Martin Jansa
  2012-05-04  8:16   ` Elvis Dowson
@ 2012-05-04  9:19   ` Elvis Dowson
  2012-05-04  9:46     ` Koen Kooi
  1 sibling, 1 reply; 11+ messages in thread
From: Elvis Dowson @ 2012-05-04  9:19 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Hi,
       I've submitted a patch to fix the warning for networkmanager_0.9.2.0.bb.

However, I still get the warning for lighttpd_1.4.30.bb

even after adding the following line:

SYSTEMD_PACKAGES = "${PN}-systemd"

or both these two lines in the recipe:

SYSTEMD_PACKAGES = "${PN}-systemd"
SYSTEMD_SERVICE = "lighttpd.service"

WARNING: /tool/yocto/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd

Best regards,

Elvis Dowson




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd
  2012-05-04  9:19   ` Elvis Dowson
@ 2012-05-04  9:46     ` Koen Kooi
  2012-05-04 18:09       ` Elvis Dowson
  0 siblings, 1 reply; 11+ messages in thread
From: Koen Kooi @ 2012-05-04  9:46 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 4 mei 2012, om 11:19 heeft Elvis Dowson het volgende geschreven:

> Hi,
>       I've submitted a patch to fix the warning for networkmanager_0.9.2.0.bb.
> 
> However, I still get the warning for lighttpd_1.4.30.bb
> 
> even after adding the following line:
> 
> SYSTEMD_PACKAGES = "${PN}-systemd"
> 
> or both these two lines in the recipe:
> 
> SYSTEMD_PACKAGES = "${PN}-systemd"
> SYSTEMD_SERVICE = "lighttpd.service"
> 
> WARNING: /tool/yocto/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd

When doing things like that you need to bump PR and fixup all dependents like tasks and images to ensure upgrade paths.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd
  2012-05-04  9:46     ` Koen Kooi
@ 2012-05-04 18:09       ` Elvis Dowson
  2012-05-04 18:27         ` Denys Dmytriyenko
  0 siblings, 1 reply; 11+ messages in thread
From: Elvis Dowson @ 2012-05-04 18:09 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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

Hi Koen,

On May 4, 2012, at 11:46 AM, Koen Kooi wrote:

> When doing things like that you need to bump PR and fixup all dependents like tasks and images to ensure upgrade paths.

I bumped the PR, but still get the warning message. How is the warning for this specific package linked to its dependents. The warning looks localized to the lighttpd_1.4.30.bb recipe.

If you can tell me how to fix it, I'll do it and send a patch.

diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.30.
index 3ae3867..71ae64c 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb
@@ -16,7 +16,7 @@ RDEPENDS_${PN} += " \
                lighttpd-module-staticfile \
 "
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.bz2 \
         file://index.html.lighttpd \
@@ -51,6 +51,9 @@ do_install_append() {
     install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html
 }
 
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "lighttpd.service"
+
 FILES_${PN} += "${sysconfdir} /www"
 
 CONFFILES_${PN} = "${sysconfdir}/lighttpd.conf"

Elvis Dowson


[-- Attachment #2: Type: text/html, Size: 3475 bytes --]

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd
  2012-05-04 18:09       ` Elvis Dowson
@ 2012-05-04 18:27         ` Denys Dmytriyenko
  2012-05-04 18:52           ` Elvis Dowson
  0 siblings, 1 reply; 11+ messages in thread
From: Denys Dmytriyenko @ 2012-05-04 18:27 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, May 04, 2012 at 08:09:39PM +0200, Elvis Dowson wrote:
> Hi Koen,
> 
> I bumped the PR, but still get the warning message. How is the warning for 
> this specific package linked to its dependents. The warning looks localized 
> to the lighttpd_1.4.30.bb recipe.
> 
> If you can tell me how to fix it, I'll do it and send a patch.

You are trying to fix it in oe-core/poky layer, where it doesn't use systemd. 
There is a .bbappend in meta-oe for that. In fact, here's what I told you 
yesterday:

> WARNING: /tool/yocto/meta-openembedded/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd
> WARNING: /tool/yocto/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb: it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd

For these 2 please report them on openembedded-devel mailing list, where
meta-oe things are being discussed. The last warning is confisuing, as it
reports the recipe is in poky/oe-core, but it actually comes from the
corresponding .bbappend in meta-oe.

-- 
Denys



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd
  2012-05-04 18:27         ` Denys Dmytriyenko
@ 2012-05-04 18:52           ` Elvis Dowson
  0 siblings, 0 replies; 11+ messages in thread
From: Elvis Dowson @ 2012-05-04 18:52 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Hi Denys,

On May 4, 2012, at 8:27 PM, Denys Dmytriyenko wrote:

> You are trying to fix it in oe-core/poky layer, where it doesn't use systemd. 
> There is a .bbappend in meta-oe for that. 

Yes, you're right! :-) Ok, I'm slowly starting to see how its important to trace
any additional .bbappend recipes. 

> For these 2 please report them on openembedded-devel mailing list, where
> meta-oe things are being discussed. The last warning is confisuing, as it
> reports the recipe is in poky/oe-core, but it actually comes from the
> corresponding .bbappend in meta-oe.

I'll submit these two patches to the openembedded-devel mailing list, once
I go through the sutmitting patches README. :-) God, the things you have to
do just to submit a simple patch! ;-)

Best regards,

Elvis


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-05-04 19:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03 19:11 How to fix warning: set SYSTEMD_PACKAGES as <existing-package>-systemd Elvis Dowson
2012-05-03 22:56 ` Denys Dmytriyenko
  -- strict thread matches above, loose matches on Subject: below --
2012-05-04  7:54 Elvis Dowson
2012-05-04  8:02 ` Martin Jansa
2012-05-04  8:16   ` Elvis Dowson
2012-05-04  8:19     ` Martin Jansa
2012-05-04  9:19   ` Elvis Dowson
2012-05-04  9:46     ` Koen Kooi
2012-05-04 18:09       ` Elvis Dowson
2012-05-04 18:27         ` Denys Dmytriyenko
2012-05-04 18:52           ` Elvis Dowson

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.