Skip to contentSkip to conversation

bluez4_4.101.bbappend: update according to bluez4

PATCH In review Cristian Iorga 5 participants 8 messages Apr 24, 2015 – Apr 27, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/2 bluez4_4.101.bbappend: update according to bluez4

bluez4 recipe has been updated with proper systemd support, so update meta-systemd append accordingly. Also update to the right directory structure.

---
 .../recipes-connectivity/bluez/bluez4_4.101.bbappend                 | 5 -----
 1 file changed, 5 deletions(-)
 rename meta-systemd/{oe-core => meta-oe}/recipes-connectivity/bluez/bluez4_4.101.bbappend (51%)
meta-systemd/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bbappend renamed from meta-systemd/oe-core/recipes-connectivity/bluez/bluez4_4.101.bbappend +0 -5
similarity index 51%
rename from meta-systemd/oe-core/recipes-connectivity/bluez/bluez4_4.101.bbappend
rename to meta-systemd/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bbappend
index da01b05..260c02e 100644
@@ -1,9 +1,4 @@
-inherit systemd
-
-EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/"
-
 RPROVIDES_${PN} += "${PN}-systemd"
 RREPLACES_${PN} += "${PN}-systemd"
 RCONFLICTS_${PN} += "${PN}-systemd"
-SYSTEMD_SERVICE_${PN} = "bluetooth.service"
 SYSTEMD_AUTO_ENABLE = "disable"
Signature · 1 line
2.1.0
#1 lore raw

PATCH v3 2/2 layer.conf: add detection of meta-oe layer.

bluez append has been moved to meta-oe,
so add detection for that layer.

---
 meta-systemd/conf/layer.conf | 1 +
 1 file changed, 1 insertion(+)
meta-systemd/conf/layer.conf +1 -0
index 0563f44..06c2ff1 100644
@@ -15,6 +15,7 @@ BBPATH .= ":${LAYERDIR}"
 BBFILES += "\
   ${LAYERDIR}/recipes-*/*/*.bb \
   ${LAYERDIR}/oe-core/recipes-*/*/*.bbappend \
+  ${LAYERDIR}/meta-oe/recipes-*/*/*.bbappend \
 "
 
 BBFILE_COLLECTIONS += "systemd-layer"
Signature · 1 line
2.1.0
#2 lore raw

Re: [meta-oe][meta-systemd][PATCH V3 2/2] layer.conf: add detection of meta-oe layer.

Quoted 2 lines · Cristian Iorga

bluez append has been moved to meta-oe,
so add detection for that layer.

This isn't "detection" :)

Quoted 25 lines
---
 meta-systemd/conf/layer.conf | 1 +
 1 file changed, 1 insertion(+)
meta-systemd/conf/layer.conf +1 -0
index 0563f44..06c2ff1 100644
@@ -15,6 +15,7 @@ BBPATH .= ":${LAYERDIR}"
 BBFILES += "\
   ${LAYERDIR}/recipes-*/*/*.bb \
   ${LAYERDIR}/oe-core/recipes-*/*/*.bbappend \
+  ${LAYERDIR}/meta-oe/recipes-*/*/*.bbappend \
 "
 
 BBFILE_COLLECTIONS += "systemd-layer"
Signature · 7 lines
2.1.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
In reply to Cristian Iorga

In V3, proper layer.conf for meta-systemd with meta-oe added detection.

-----Original Message-----
From: Iorga, Cristian
Sent: Friday, April 24, 2015 6:44 PM
To: [email protected]
Cc: Iorga, Cristian
Subject: [meta-oe][meta-systemd][PATCH V3 1/2] bluez4_4.101.bbappend: update according to bluez4

bluez4 recipe has been updated with proper systemd support, so update meta-systemd append accordingly. Also update to the right directory structure.

---
 .../recipes-connectivity/bluez/bluez4_4.101.bbappend                 | 5 -----
 1 file changed, 5 deletions(-)
 rename meta-systemd/{oe-core => meta-oe}/recipes-connectivity/bluez/bluez4_4.101.bbappend (51%)
meta-systemd/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bbapp renamed from meta-systemd/oe-core/recipes-connectivity/bluez/bluez4_4.101.bbappend +0 -0
similarity index 51%
rename from meta-systemd/oe-core/recipes-connectivity/bluez/bluez4_4.101.bbappend
rename to meta-systemd/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bbappend
index da01b05..260c02e 100644

+++ end
@@ -1,9 +1,4 @@
-inherit systemd
-
-EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/" -
RPROVIDES_${PN} += "${PN}-systemd"
RREPLACES_${PN} += "${PN}-systemd"
RCONFLICTS_${PN} += "${PN}-systemd"
-SYSTEMD_SERVICE_${PN} = "bluetooth.service"
SYSTEMD_AUTO_ENABLE = "disable"
--
2.1.0

#4 lore raw
In reply to Cristian Iorga
Quoted 9 lines · Cristian Iorga

bluez4 recipe has been updated with proper systemd support, so update meta-systemd append accordingly. Also update to the right directory structure.

---
 .../recipes-connectivity/bluez/bluez4_4.101.bbappend                 | 5 -----
 1 file changed, 5 deletions(-)
 rename meta-systemd/{oe-core => meta-oe}/recipes-connectivity/bluez/bluez4_4.101.bbappend (51%)

Like Martin asked on you V2, why do you keep this as a bbappend, instead of adding this directly to the recipe?

If you look at meta-systemd today, you'll see that there's only a minor number of recipes from oe-core, that's being appended. All the other recipes that previously where appended to from meta-systemd, has got their systemd support directly in their own recipes.

Cheers,
Anders

Signature · 2 lines
Anders Darander
ChargeStorm AB / eStorm AB
#5 lore raw

Hi Anders,

Quoted 12 lines · On Monday 27 April 2015 06:53:19 Anders Darander wrote:
Quoted 11 lines · Cristian Iorga

bluez4 recipe has been updated with proper systemd support, so update meta-systemd append accordingly. Also update to the right directory structure.

---

 .../recipes-connectivity/bluez/bluez4_4.101.bbappend                 | 5
 ----- 1 file changed, 5 deletions(-)
 rename meta-systemd/{oe-core =>

meta-oe}/recipes-connectivity/bluez/bluez4_4.101.bbappend (51%)

Quoted 7 lines

Like Martin asked on you V2, why do you keep this as a bbappend, instead of adding this directly to the recipe?

If you look at meta-systemd today, you'll see that there's only a minor number of recipes from oe-core, that's being appended. All the other recipes that previously where appended to from meta-systemd, has got their systemd support directly in their own recipes.

It depends on what you mean by systemd "support". What's left over in most of the meta-systemd bbappends is RPROVIDES/RREPLACES/RCONFLICTS on the package names which we haven't used for a couple of years by now; surely at some point we should let those die with meta-systemd?

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#6 lore raw
Quoted 11 lines · Paul Eggleton
Quoted 4 lines

If you look at meta-systemd today, you'll see that there's only a minor number of recipes from oe-core, that's being appended. All the other recipes that previously where appended to from meta-systemd, has got their systemd support directly in their own recipes.

It depends on what you mean by systemd "support". What's left over in most of
the meta-systemd bbappends is RPROVIDES/RREPLACES/RCONFLICTS on the package names which we haven't used for a couple of years by now; surely at some point
we should let those die with meta-systemd?

FWIW I agree here. Those names are only for compatibility with meta-systemd, so they can stay in meta-systemd and eventually be retired.

Ross

#7 lore raw
Quoted 16 lines · Ross
Quoted 11 lines · Paul Eggleton
Quoted 4 lines

If you look at meta-systemd today, you'll see that there's only a minor number of recipes from oe-core, that's being appended. All the other recipes that previously where appended to from meta-systemd, has got their systemd support directly in their own recipes.

It depends on what you mean by systemd "support". What's left over in most of
the meta-systemd bbappends is RPROVIDES/RREPLACES/RCONFLICTS on the package names which we haven't used for a couple of years by now; surely at some point
we should let those die with meta-systemd?

Quoted 2 lines

FWIW I agree here. Those names are only for compatibility with meta-systemd, so they can stay in meta-systemd and eventually be retired.

They were already migrated from meta-systemd to meta-openembedded/* layers long time ago, so now when bluez4 is being added to meta-oe then for consistency sake it should get these names inside of the recipe as well.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]