[oe] [meta-systemd] wpa-supplicant: add systemd support

2012-08-13 Thread Andreas Müller
* native systemd support came in with v1.0 [1]
* needs [2] to work properly
* mends my wlan under control of networkmanager

[1] 
http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap-1.git;a=blob_plain;f=wpa_supplicant/ChangeLog
[2] http://patches.openembedded.org/patch/34335/

Signed-off-by: Andreas Müller schnitzelt...@googlemail.com
---
 .../wpa-supplicant/wpa-supplicant_1.0.bbappend |3 ---
 .../wpa-supplicant/wpa-supplicant_1.0.bbappend |   14 ++
 2 files changed, 14 insertions(+), 3 deletions(-)
 delete mode 100644 
meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
 create mode 100644 
meta-systemd/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend

diff --git 
a/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend 
b/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
deleted file mode 100644
index 54da0ff..000
--- a/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
+++ /dev/null
@@ -1,3 +0,0 @@
-FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}:
- 
-PRINC = 1
diff --git 
a/meta-systemd/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
 
b/meta-systemd/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
new file mode 100644
index 000..6f62cd8
--- /dev/null
+++ 
b/meta-systemd/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
@@ -0,0 +1,14 @@
+PRINC = 2
+
+inherit systemd
+
+SYSTEMD_PACKAGES = ${PN}-systemd
+SYSTEMD_SERVICE = wpa_supplicant.service
+
+do_install_append () {
+install -d ${D}${systemd_unitdir}/system
+install -m 644 ${S}/systemd/*.service ${D}${systemd_unitdir}/system
+}
+
+# systemd.bbclass does not catch all multiple-instance-service-files
+FILES_${PN}-systemd += ${systemd_unitdir}/system/
-- 
1.7.6.5


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [meta-openembedded/toolchain-layer] Adding retired toolchain support for gcc-4.5.1 and eglibc-2.13

2012-08-13 Thread Elvis Dowson
Hi,
  I've created a set of patches to add retired toolchain support for 
gcc-4.5.1, to the meta-openembedded/toolchain-layer. 

I've also included a patch for eglibc-2.13. Builds for PowerPC 440 processors 
soft-float don't work with eglibc-2.15 and 2.16.

I could add it to the meta-xilinx layer, but I prefer to put retired toolchain 
support into the toolchain layer, so that it is generally available across all 
layers, in case someone needs it.

Do let me know if it is okay to go ahead and submit these patches for inclusion 
into the meta-openembedded/toolchain-layer!

Best regards,

Elvis Dowson
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [meta-systemd,v2] wpa-supplicant: add systemd support

2012-08-13 Thread Andreas Müller
* native systemd support came in with v1.0 [1]
* needs [2] to work properly
* mends my wlan under control of networkmanager

[1] 
http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap-1.git;a=blob_plain;f=wpa_supplicant/ChangeLog
[2] http://patches.openembedded.org/patch/34335/

Signed-off-by: Andreas Müller schnitzelt...@googlemail.com
---
 .../wpa-supplicant/wpa-supplicant_1.0.bbappend |3 ---
 .../wpa-supplicant/wpa-supplicant_1.0.bbappend |   14 ++
 2 files changed, 14 insertions(+), 3 deletions(-)
 delete mode 100644 
meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
 create mode 100644 
meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend

diff --git 
a/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend 
b/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
deleted file mode 100644
index 54da0ff..000
--- a/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
+++ /dev/null
@@ -1,3 +0,0 @@
-FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}:
- 
-PRINC = 1
diff --git 
a/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
 
b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
new file mode 100644
index 000..6f62cd8
--- /dev/null
+++ 
b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend
@@ -0,0 +1,14 @@
+PRINC = 2
+
+inherit systemd
+
+SYSTEMD_PACKAGES = ${PN}-systemd
+SYSTEMD_SERVICE = wpa_supplicant.service
+
+do_install_append () {
+install -d ${D}${systemd_unitdir}/system
+install -m 644 ${S}/systemd/*.service ${D}${systemd_unitdir}/system
+}
+
+# systemd.bbclass does not catch all multiple-instance-service-files
+FILES_${PN}-systemd += ${systemd_unitdir}/system/
-- 
1.7.4.4


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-openembedded/toolchain-layer] Adding retired toolchain support for gcc-4.5.1 and eglibc-2.13

2012-08-13 Thread Khem Raj
Were you able to build eglibc 2.13 with gcc 4.7
And run it


On Monday, August 13, 2012, Elvis Dowson elvis.dow...@gmail.com wrote:
 Hi,
   I've created a set of patches to add retired toolchain support for
gcc-4.5.1, to the meta-openembedded/toolchain-layer.

 I've also included a patch for eglibc-2.13. Builds for PowerPC 440
processors soft-float don't work with eglibc-2.15 and 2.16.

 I could add it to the meta-xilinx layer, but I prefer to put retired
toolchain support into the toolchain layer, so that it is generally
available across all layers, in case someone needs it.

 Do let me know if it is okay to go ahead and submit these patches for
inclusion into the meta-openembedded/toolchain-layer!

 Best regards,

 Elvis Dowson
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-openembedded/toolchain-layer] Adding retired toolchain support for gcc-4.5.1 and eglibc-2.13

2012-08-13 Thread Elvis Dowson

On Aug 14, 2012, at 4:15 AM, Khem Raj wrote:

 Were you able to build eglibc 2.13 with gcc 4.7
 And run it

The gcc-4.7 and eglibc-2.13 combination doesn't work, i.e. no
login or bash prompt.

I will try with gcc-4.6 and eglibc-2.13, since that combo is
know to work, since the Denx ELDK 5.2.1 released based
off yocto/denzil branch uses it.

Will let you know how it goes.

Best regards,

Elvis Dowson

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel