* [meta-oe][PATCH] net-snmp: add -systemd packages to PACKAGES list to appease systemd.bbclass
@ 2013-04-17 13:57 Jack Mitchell
2013-04-17 14:53 ` Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Jack Mitchell @ 2013-04-17 13:57 UTC (permalink / raw)
To: openembedded-devel; +Cc: Jack Mitchell
From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
ERROR: net-snmp-server-snmpd-systemd does not appear in package list, please add it
ERROR: net-snmp-server-snmptrapd-systemd does not appear in package list, please add it
Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
---
meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb b/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb
index 81ad6ff..1e1db6a 100644
--- a/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb
+++ b/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb
@@ -61,7 +61,11 @@ do_install_append() {
}
PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-static ${PN}-libs \
- ${PN}-mibs ${PN}-server ${PN}-client ${PN}-server-snmpd ${PN}-server-snmptrapd"
+ ${PN}-mibs ${PN}-server ${PN}-client ${PN}-server-snmpd ${PN}-server-snmptrapd \
+ ${PN}-server-snmpd-systemd ${PN}-server-snmptrapd-systemd "
+
+SYSTEMD_PACKAGES = "${PN}-server-snmpd-systemd \
+ ${PN}-server-snmptrapd-systemd"
ALLOW_EMPTY_${PN}-server = "1"
@@ -91,9 +95,6 @@ INITSCRIPT_PARAMS_${PN}-server = "defaults"
EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemd', '--without-systemd', d)}"
-SYSTEMD_PACKAGES = "${PN}-server-snmpd-systemd \
- ${PN}-server-snmptrapd-systemd"
-
SYSTEMD_SERVICE_${PN}-server-snmpd = "snmpd.service"
SYSTEMD_SERVICE_${PN}-server-snmptrapd = "snmptrapd.service"
--
1.8.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-oe][PATCH] net-snmp: add -systemd packages to PACKAGES list to appease systemd.bbclass
2013-04-17 13:57 [meta-oe][PATCH] net-snmp: add -systemd packages to PACKAGES list to appease systemd.bbclass Jack Mitchell
@ 2013-04-17 14:53 ` Martin Jansa
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2013-04-17 14:53 UTC (permalink / raw)
To: openembedded-devel; +Cc: Jack Mitchell
[-- Attachment #1: Type: text/plain, Size: 2256 bytes --]
On Wed, Apr 17, 2013 at 02:57:45PM +0100, Jack Mitchell wrote:
> From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
>
> ERROR: net-snmp-server-snmpd-systemd does not appear in package list, please add it
> ERROR: net-snmp-server-snmptrapd-systemd does not appear in package list, please add it
>
> Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
> ---
> meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb b/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb
> index 81ad6ff..1e1db6a 100644
> --- a/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb
> +++ b/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb
> @@ -61,7 +61,11 @@ do_install_append() {
> }
>
> PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-static ${PN}-libs \
> - ${PN}-mibs ${PN}-server ${PN}-client ${PN}-server-snmpd ${PN}-server-snmptrapd"
> + ${PN}-mibs ${PN}-server ${PN}-client ${PN}-server-snmpd ${PN}-server-snmptrapd \
> + ${PN}-server-snmpd-systemd ${PN}-server-snmptrapd-systemd "
> +
> +SYSTEMD_PACKAGES = "${PN}-server-snmpd-systemd \
> + ${PN}-server-snmptrapd-systemd"
It should be changed to
SYSTEMD_PACKAGES = "${PN}-server-snmpd \
${PN}-server-snmptrapd"
At least to match SYSTEMD_SERVICE, not sure how have we missed that.
> ALLOW_EMPTY_${PN}-server = "1"
>
> @@ -91,9 +95,6 @@ INITSCRIPT_PARAMS_${PN}-server = "defaults"
>
> EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemd', '--without-systemd', d)}"
>
> -SYSTEMD_PACKAGES = "${PN}-server-snmpd-systemd \
> - ${PN}-server-snmptrapd-systemd"
> -
> SYSTEMD_SERVICE_${PN}-server-snmpd = "snmpd.service"
> SYSTEMD_SERVICE_${PN}-server-snmptrapd = "snmptrapd.service"
>
> --
> 1.8.2
>
>
> _______________________________________________
> 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] 2+ messages in thread
end of thread, other threads:[~2013-04-17 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17 13:57 [meta-oe][PATCH] net-snmp: add -systemd packages to PACKAGES list to appease systemd.bbclass Jack Mitchell
2013-04-17 14:53 ` Martin Jansa
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.