Skip to contentSkip to conversation

wpa-supplicant: Add bbappend to package systemd service in a -systemd package

PATCH In review Andrei Gherzan 3 participants 5 messages Feb 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wpa-supplicant: Add bbappend to package systemd service in a -systemd package

---
 .../wpa-supplicant/wpa-supplicant_2.0.bbappend     |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100644 meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend
meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend new file +7 -0
new file mode 100644
index 0000000..d286689
@@ -0,0 +1,7 @@
+PRINC := "${@int(PRINC) + 1}"
+
+inherit systemd
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "wpa_supplicant.service"
+SYSTEMD_AUTO_ENABLE = "disable"
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 12 lines · Andrei Gherzan
---
 .../wpa-supplicant/wpa-supplicant_2.0.bbappend     |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100644 meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend
meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend new file +0 -0
new file mode 100644
index 0000000..d286689

meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend line 7

Quoted 7 lines
meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend new file +7 -0
@@ -0,0 +1,7 @@
+PRINC := "${@int(PRINC) + 1}"
+
+inherit systemd
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "wpa_supplicant.service"
+SYSTEMD_AUTO_ENABLE = "disable"

oe-core wpa-supplicant now installs wpa_supplicant.service to PN, is this SYSTEMD_PACKAGES correct now?

http://lists.linuxtogo.org/pipermail/openembedded-devel/2013-January/043675.html

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 7 lines · Martin Jansa
Quoted 5 lines · Andrei Gherzan
---
 .../wpa-supplicant/wpa-supplicant_2.0.bbappend     |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100644 meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend
Quoted 6 lines

oe-core wpa-supplicant now installs wpa_supplicant.service to PN, is this SYSTEMD_PACKAGES correct now?

http://lists.linuxtogo.org/pipermail/openembedded-devel/2013-January/043675.html

--

oe-core has set facts. The decision systemd or not is made by DISTRO_FEATURE. I think we have to follow that (=let meta-systemd die) to avoid two concurrent systemd enable mechanisms.

Andreas

#3 lore raw
Quoted 11 lines · Andreas Müller
Quoted 10 lines · Martin Jansa
Quoted 5 lines · Andrei Gherzan
---
 .../wpa-supplicant/wpa-supplicant_2.0.bbappend     |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100644 meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend

oe-core wpa-supplicant now installs wpa_supplicant.service to PN, is this SYSTEMD_PACKAGES correct now?

Hmm... don't really understand your question. I know the service is installed in PN and by using SYSTEMD_PACKAGES="${PN}-systemd" I actually move that service in ${PN}-systemd.

Quoted 6 lines
Quoted 3 lines

http://lists.linuxtogo.org/pipermail/openembedded-devel/2013-January/043675.html

--

oe-core has set facts. The decision systemd or not is made by DISTRO_FEATURE. I think we have to follow that (=let meta-systemd die) to avoid two concurrent systemd enable mechanisms.

I understand this and makes sense. But still, systemd services should be in a systemd package. Will resend this to oe-core.

--
Andrei Gherzan | Wind River Systems
m: +40 734 450 615 | p: +40 236 320 307

#4 lore raw
Quoted 19 lines · Andrei Gherzan
Quoted 11 lines · Andreas Müller
Quoted 10 lines · Martin Jansa
Quoted 5 lines · Andrei Gherzan
---
 .../wpa-supplicant/wpa-supplicant_2.0.bbappend     |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100644 meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend

oe-core wpa-supplicant now installs wpa_supplicant.service to PN, is this SYSTEMD_PACKAGES correct now?

Hmm... don't really understand your question. I know the service is installed in PN and by using SYSTEMD_PACKAGES="${PN}-systemd" I actually move that service in ${PN}-systemd.

Quoted 2 lines
Quoted 2 lines

http://lists.linuxtogo.org/pipermail/openembedded-devel/2013-January/043675.html

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

--

oe-core has set facts. The decision systemd or not is made by DISTRO_FEATURE. I think we have to follow that (=let meta-systemd die) to avoid two concurrent systemd enable mechanisms.

I understand this and makes sense. But still, systemd services should be in a systemd package. Will resend this to oe-core.

Good luck :))

Andreas