* [meta-oe][PATCH 0/2] systemd related fixes
@ 2011-11-08 12:57 Otavio Salvador
2011-11-08 12:58 ` [meta-oe][PATCH 1/2] systemd.bbclass: stop using SYSTEMDPN to rdepends addition Otavio Salvador
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Otavio Salvador @ 2011-11-08 12:57 UTC (permalink / raw)
To: openembedded-devel
The following changes since commit bae85652e5fc8e78afe54e593686d5f74c933cb9:
udev: update to 175 (2011-11-08 09:13:23 +0100)
are available in the git repository at:
git://github.com/OSSystems/meta-oe master
https://github.com/OSSystems/meta-oe/tree/master
Otavio Salvador (2):
systemd.bbclass: stop using SYSTEMDPN to rdepends addition
connman: bump PR due systemd.bbclass fixes
meta-oe/classes/systemd.bbclass | 10 ++++++----
.../recipes-connectivity/connman/connman_0.77.bb | 2 +-
2 files changed, 7 insertions(+), 5 deletions(-)
--
1.7.2.5
^ permalink raw reply [flat|nested] 4+ messages in thread
* [meta-oe][PATCH 1/2] systemd.bbclass: stop using SYSTEMDPN to rdepends addition
2011-11-08 12:57 [meta-oe][PATCH 0/2] systemd related fixes Otavio Salvador
@ 2011-11-08 12:58 ` Otavio Salvador
2011-11-08 12:58 ` [meta-oe][PATCH 2/2] connman: bump PR due systemd.bbclass fixes Otavio Salvador
2011-11-08 13:15 ` [meta-oe][PATCH 0/2] systemd related fixes Martin Jansa
2 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2011-11-08 12:58 UTC (permalink / raw)
To: openembedded-devel
The systemd runtime dependency needs to be add dynamically onto each
package that has the postinst generate thus removing the SYSTEMDPN use
et all.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
meta-oe/classes/systemd.bbclass | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/meta-oe/classes/systemd.bbclass b/meta-oe/classes/systemd.bbclass
index 83833db..2ca7bfc 100644
--- a/meta-oe/classes/systemd.bbclass
+++ b/meta-oe/classes/systemd.bbclass
@@ -1,7 +1,4 @@
-SYSTEMDPN ?= "${PN}"
-
DEPENDS_append = " systemd-systemctl-native"
-RDEPENDS_${SYSTEMDPN}_append = " systemd"
systemd_postinst() {
OPTS=""
@@ -67,9 +64,14 @@ python populate_packages_prepend () {
postrm += bb.data.getVar('systemd_postrm', localdata, 1)
bb.data.setVar('pkg_postrm_%s' % pkg, postrm, d)
+ rdepends = explode_deps(bb.data.getVar('RDEPENDS_' + pkg, d, 0) or bb.data.getVar('RDEPENDS', d, 0) or "")
+ rdepends.append("systemd")
+ bb.data.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends), d)
+
+
pkgs = bb.data.getVar('SYSTEMD_PACKAGES', d, 1)
if pkgs == None:
- pkgs = bb.data.getVar('SYSTEMDPN', d, 1)
+ pkgs = bb.data.getVar('PN', d, 1)
packages = (bb.data.getVar('PACKAGES', d, 1) or "").split()
if not pkgs in packages and packages != []:
pkgs = packages[0]
--
1.7.2.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [meta-oe][PATCH 2/2] connman: bump PR due systemd.bbclass fixes
2011-11-08 12:57 [meta-oe][PATCH 0/2] systemd related fixes Otavio Salvador
2011-11-08 12:58 ` [meta-oe][PATCH 1/2] systemd.bbclass: stop using SYSTEMDPN to rdepends addition Otavio Salvador
@ 2011-11-08 12:58 ` Otavio Salvador
2011-11-08 13:15 ` [meta-oe][PATCH 0/2] systemd related fixes Martin Jansa
2 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2011-11-08 12:58 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
.../recipes-connectivity/connman/connman_0.77.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta-oe/recipes-connectivity/connman/connman_0.77.bb b/meta-oe/recipes-connectivity/connman/connman_0.77.bb
index 9c93e51..9ef368b 100644
--- a/meta-oe/recipes-connectivity/connman/connman_0.77.bb
+++ b/meta-oe/recipes-connectivity/connman/connman_0.77.bb
@@ -1,5 +1,5 @@
require connman.inc
-PR = "r3"
+PR = "r4"
EXTRA_OECONF += "\
--disable-gtk-doc \
--
1.7.2.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-oe][PATCH 0/2] systemd related fixes
2011-11-08 12:57 [meta-oe][PATCH 0/2] systemd related fixes Otavio Salvador
2011-11-08 12:58 ` [meta-oe][PATCH 1/2] systemd.bbclass: stop using SYSTEMDPN to rdepends addition Otavio Salvador
2011-11-08 12:58 ` [meta-oe][PATCH 2/2] connman: bump PR due systemd.bbclass fixes Otavio Salvador
@ 2011-11-08 13:15 ` Martin Jansa
2 siblings, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2011-11-08 13:15 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]
On Tue, Nov 08, 2011 at 12:57:59PM +0000, Otavio Salvador wrote:
> The following changes since commit bae85652e5fc8e78afe54e593686d5f74c933cb9:
>
> udev: update to 175 (2011-11-08 09:13:23 +0100)
>
> are available in the git repository at:
> git://github.com/OSSystems/meta-oe master
> https://github.com/OSSystems/meta-oe/tree/master
>
> Otavio Salvador (2):
> systemd.bbclass: stop using SYSTEMDPN to rdepends addition
> connman: bump PR due systemd.bbclass fixes
Cannot test, but looks like better fix then mine..
>
> meta-oe/classes/systemd.bbclass | 10 ++++++----
> .../recipes-connectivity/connman/connman_0.77.bb | 2 +-
> 2 files changed, 7 insertions(+), 5 deletions(-)
>
> --
> 1.7.2.5
>
>
> _______________________________________________
> 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] 4+ messages in thread
end of thread, other threads:[~2011-11-08 13:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-08 12:57 [meta-oe][PATCH 0/2] systemd related fixes Otavio Salvador
2011-11-08 12:58 ` [meta-oe][PATCH 1/2] systemd.bbclass: stop using SYSTEMDPN to rdepends addition Otavio Salvador
2011-11-08 12:58 ` [meta-oe][PATCH 2/2] connman: bump PR due systemd.bbclass fixes Otavio Salvador
2011-11-08 13:15 ` [meta-oe][PATCH 0/2] systemd related fixes 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.