Skip to contentSkip to conversation

connman: enable connman client

PATCH Superseded Cristian Iorga 4 participants 8 messages Feb 25, 2013 – Feb 26, 2013

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 connman: enable connman client

connmanctl is now included when connman is installed

---
 meta/recipes-connectivity/connman/connman.inc |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-connectivity/connman/connman.inc +3 -2
index b61e2af..b0ede60 100644
@@ -20,7 +20,7 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
             ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
             "
 
-INC_PR = "r17"
+INC_PR = "r18"
 
 TIST = "--enable-tist"
 TIST_powerpc = ""
@@ -38,7 +38,7 @@ EXTRA_OECONF += "\
     --enable-tools \
     --enable-test \
     --disable-polkit \
-    --disable-client \
+    --enable-client \
     --enable-fake \
     ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '', d)} \
 "
@@ -73,6 +73,7 @@ do_install_append() {
 	install -d ${D}${bindir}
 	install -m 0755 ${S}/tools/*-test ${D}${bindir}
 	install -m 0755 ${S}/tools/wispr ${D}${bindir}
+	install -m 0755 ${B}/client/connmanctl ${D}${bindir}
 
 	# We don't need to package an empty directory
 	rmdir ${D}${libdir}/connman/scripts
Signature · 1 line
1.7.10.4
#1 lore raw

Changes from V1:
- connman client is explicitly enabled
- ${B} is used instead of ${S} (in this specific case are the same, it will be changed later on)

-----Original Message-----
From: Iorga, Cristian
Sent: Monday, February 25, 2013 10:49 AM
To: [email protected]
Cc: Iorga, Cristian
Subject: [PATCH V2] connman: enable connman client

connmanctl is now included when connman is installed

---
 meta/recipes-connectivity/connman/connman.inc |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-connectivity/connman/connman.inc +3 -2
index b61e2af..b0ede60 100644
@@ -20,7 +20,7 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
             ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
             "
 
-INC_PR = "r17"
+INC_PR = "r18"
 
 TIST = "--enable-tist"
 TIST_powerpc = ""
@@ -38,7 +38,7 @@ EXTRA_OECONF += "\
     --enable-tools \
     --enable-test \
     --disable-polkit \
-    --disable-client \
+    --enable-client \
     --enable-fake \
     ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '', d)} \  "
@@ -73,6 +73,7 @@ do_install_append() {
 	install -d ${D}${bindir}
 	install -m 0755 ${S}/tools/*-test ${D}${bindir}
 	install -m 0755 ${S}/tools/wispr ${D}${bindir}
+	install -m 0755 ${B}/client/connmanctl ${D}${bindir}
 
 	# We don't need to package an empty directory
 	rmdir ${D}${libdir}/connman/scripts

--
1.7.10.4

#2 lore raw
Quoted 4 lines · Cristian

Changes from V1:
- connman client is explicitly enabled
- ${B} is used instead of ${S} (in this specific case are the same, it will be changed later on)

Please add these to a proper commit message.

Also, there was some discussion prior about putting the connmanctl in a separate package, that does not seem to have happened here.

It could go into the -tools packages that already exists or it's own package connman-ctl?

I know Jack M. mentioned looking into this also, so let's be sure to coordinate this.

Thanks
Sau!

Quoted 52 lines

-----Original Message-----
From: Iorga, Cristian
Sent: Monday, February 25, 2013 10:49 AM
To: [email protected]
Cc: Iorga, Cristian
Subject: [PATCH V2] connman: enable connman client

connmanctl is now included when connman is installed

---
  meta/recipes-connectivity/connman/connman.inc |    5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-connectivity/connman/connman.inc +3 -3
index b61e2af..b0ede60 100644
@@ -20,7 +20,7 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
              ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
              "
 
-INC_PR = "r17"
+INC_PR = "r18"
 
  TIST = "--enable-tist"
  TIST_powerpc = ""
@@ -38,7 +38,7 @@ EXTRA_OECONF += "\
      --enable-tools \
      --enable-test \
      --disable-polkit \
-    --disable-client \
+    --enable-client \
      --enable-fake \
      ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '', d)} \  "
@@ -73,6 +73,7 @@ do_install_append() {
  	install -d ${D}${bindir}
  	install -m 0755 ${S}/tools/*-test ${D}${bindir}
  	install -m 0755 ${S}/tools/wispr ${D}${bindir}
+	install -m 0755 ${B}/client/connmanctl ${D}${bindir}
 
  	# We don't need to package an empty directory
  	rmdir ${D}${libdir}/connman/scripts
--

1.7.10.4

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 6 lines · Saul Wold
Quoted 5 lines · Cristian

Changes from V1:
- connman client is explicitly enabled
- ${B} is used instead of ${S} (in this specific case are the
same, it will be changed later on)

Quoted 7 lines

Please add these to a proper commit message.

Also, there was some discussion prior about putting the connmanctl in a separate package, that does not seem to have happened here.

It could go into the -tools packages that already exists or it's own package connman-ctl?

I know Jack M. mentioned looking into this also, so let's be sure to coordinate this.

Yes, that was my suggestion. I'm blocked at the moment by a binutils failure I can't shift, so currently unable to contribute. I would suggest putting it in a new connman-client package which is a 2 minute change and test.

Quoted 63 lines

Thanks
Sau!

Quoted 54 lines

I know Jack M. mentioned looking into this also, so let's be sure to coordinate this. -----Original Message-----
From: Iorga, Cristian
Sent: Monday, February 25, 2013 10:49 AM
To: [email protected]
Cc: Iorga, Cristian
Subject: [PATCH V2] connman: enable connman client

connmanctl is now included when connman is installed

---
  meta/recipes-connectivity/connman/connman.inc |    5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-connectivity/connman/connman.inc +1 -1
index b61e2af..b0ede60 100644
@@ -20,7 +20,7 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
              ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', 
 d)} \
              "
 
-INC_PR = "r17"
+INC_PR = "r18"
 
  TIST = "--enable-tist"

TIST_powerpc = ""

meta/recipes-connectivity/connman/connman.inc +1 -1
@@ -38,7 +38,7 @@ EXTRA_OECONF += "\
      --enable-tools \
      --enable-test \
      --disable-polkit \
-    --disable-client \
+    --enable-client \
      --enable-fake \
      ${@base_contains('DISTRO_FEATURES', 'systemd', 

'--with-systemdunitdir=${systemd_unitdir}/system/', '', d)} \ "

meta/recipes-connectivity/connman/connman.inc +1 -0
@@ -73,6 +73,7 @@ do_install_append() {
      install -d ${D}${bindir}
      install -m 0755 ${S}/tools/*-test ${D}${bindir}
      install -m 0755 ${S}/tools/wispr ${D}${bindir}
+    install -m 0755 ${B}/client/connmanctl ${D}${bindir}
 
      # We don't need to package an empty directory
      rmdir ${D}${libdir}/connman/scripts
Signature · 7 lines
1.7.10.4


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#4 lore raw

Hello all,

So, what is the general agreement here?

I placed connmanctl in the same package as connman because it is a very valuable tool, which should go in by default if connman is present also. It should not belong to connman-test, because it is used to control connman, not test it.
If you want it to be in a connman-ctl package, just let me know and I will do the changes, re-test, and re-send the patch.

Regards,
Cristian

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jack Mitchell
Sent: Tuesday, February 26, 2013 11:25 AM
To: [email protected]
Subject: Re: [OE-core] [PATCH V2] connman: enable connman client

Quoted 8 lines · Saul Wold
Quoted 5 lines · Cristian

Changes from V1:
- connman client is explicitly enabled
- ${B} is used instead of ${S} (in this specific case are the
same, it will be changed later on)

Please add these to a proper commit message.

Quoted 8 lines

Also, there was some discussion prior about putting the connmanctl in a separate package, that does not seem to have happened here.

It could go into the -tools packages that already exists or it's own package connman-ctl?

I know Jack M. mentioned looking into this also, so let's be sure to coordinate this.

Yes, that was my suggestion. I'm blocked at the moment by a binutils failure I can't shift, so currently unable to contribute. I would suggest putting it in a new connman-client package which is a 2 minute change and test.

Quoted 65 lines

Thanks
Sau!

Quoted 51 lines

I know Jack M. mentioned looking into this also, so let's be sure to coordinate this. -----Original Message-----
From: Iorga, Cristian
Sent: Monday, February 25, 2013 10:49 AM
To: [email protected]
Cc: Iorga, Cristian
Subject: [PATCH V2] connman: enable connman client

connmanctl is now included when connman is installed

---
  meta/recipes-connectivity/connman/connman.inc |    5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-connectivity/connman/connman.inc +1 -1
index b61e2af..b0ede60 100644
@@ -20,7 +20,7 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
              ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', 
 d)} \
              "
 
-INC_PR = "r17"
+INC_PR = "r18"
 
  TIST = "--enable-tist"

TIST_powerpc = ""

meta/recipes-connectivity/connman/connman.inc +1 -1
@@ -38,7 +38,7 @@ EXTRA_OECONF += "\
      --enable-tools \
      --enable-test \
      --disable-polkit \
-    --disable-client \
+    --enable-client \
      --enable-fake \
      ${@base_contains('DISTRO_FEATURES', 'systemd', 

'--with-systemdunitdir=${systemd_unitdir}/system/', '', d)} \ "

meta/recipes-connectivity/connman/connman.inc +1 -1
@@ -73,6 +73,7 @@ do_install_append() {
      install -d ${D}${bindir}
      install -m 0755 ${S}/tools/*-test ${D}${bindir}
      install -m 0755 ${S}/tools/wispr ${D}${bindir}
+    install -m 0755 ${B}/client/connmanctl ${D}${bindir}
 
      # We don't need to package an empty directory
      rmdir ${D}${libdir}/connman/scripts
--

1.7.10.4

Quoted 5 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Signature · 11 lines
   Jack Mitchell ([email protected])
   Embedded Systems Engineer
   http://www.embed.me.uk

--


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
#5 lore raw
Quoted 7 lines · Cristian

Hello all,

So, what is the general agreement here?

I placed connmanctl in the same package as connman because it is a very valuable tool, which should go in by default if connman is present also. It should not belong to connman-test, because it is used to control connman, not test it.
If you want it to be in a connman-ctl package, just let me know and I will do the changes, re-test, and re-send the patch.

I think it is best to be defined as a separate package connman-client within the current connman recipe. My reasoning for this is that connman is widely used as an embedded network manager and its main interface is dbus rather than the 'helper' program connmanctl.

Quoted 93 lines

Regards,
Cristian

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jack Mitchell
Sent: Tuesday, February 26, 2013 11:25 AM
To: [email protected]
Subject: Re: [OE-core] [PATCH V2] connman: enable connman client

Quoted 8 lines · Saul Wold
Quoted 5 lines · Cristian

Changes from V1:
- connman client is explicitly enabled
- ${B} is used instead of ${S} (in this specific case are the
same, it will be changed later on)

Please add these to a proper commit message.

Quoted 8 lines

Also, there was some discussion prior about putting the connmanctl in a separate package, that does not seem to have happened here.

It could go into the -tools packages that already exists or it's own package connman-ctl?

I know Jack M. mentioned looking into this also, so let's be sure to coordinate this.

Yes, that was my suggestion. I'm blocked at the moment by a binutils failure I can't shift, so currently unable to contribute. I would suggest putting it in a new connman-client package which is a 2 minute change and test.

Quoted 63 lines

Thanks
Sau!

Quoted 51 lines

I know Jack M. mentioned looking into this also, so let's be sure to coordinate this. -----Original Message-----
From: Iorga, Cristian
Sent: Monday, February 25, 2013 10:49 AM
To: [email protected]
Cc: Iorga, Cristian
Subject: [PATCH V2] connman: enable connman client

connmanctl is now included when connman is installed

---
   meta/recipes-connectivity/connman/connman.inc |    5 +++--
   1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-connectivity/connman/connman.inc +1 -1
index b61e2af..b0ede60 100644
@@ -20,7 +20,7 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
               ${@base_contains('DISTRO_FEATURES', '3g','ofono', '',
 d)} \
               "
 
-INC_PR = "r17"
+INC_PR = "r18"
 
   TIST = "--enable-tist"

TIST_powerpc = ""

meta/recipes-connectivity/connman/connman.inc +1 -1
@@ -38,7 +38,7 @@ EXTRA_OECONF += "\
       --enable-tools \
       --enable-test \
       --disable-polkit \
-    --disable-client \
+    --enable-client \
       --enable-fake \
       ${@base_contains('DISTRO_FEATURES', 'systemd',

'--with-systemdunitdir=${systemd_unitdir}/system/', '', d)} \ "

meta/recipes-connectivity/connman/connman.inc +1 -1
@@ -73,6 +73,7 @@ do_install_append() {
       install -d ${D}${bindir}
       install -m 0755 ${S}/tools/*-test ${D}${bindir}
       install -m 0755 ${S}/tools/wispr ${D}${bindir}
+    install -m 0755 ${B}/client/connmanctl ${D}${bindir}
 
       # We don't need to package an empty directory
       rmdir ${D}${libdir}/connman/scripts
--

1.7.10.4

Quoted 5 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#6 lore raw
Quoted 4 lines · Jack Mitchell

I think it is best to be defined as a separate package connman-client within the current connman recipe. My reasoning for this is that connman is widely used as an embedded network manager and its main interface is dbus rather than the 'helper' program connmanctl.

Cristian - in another commit can you also add connman-client to the tools-testapps image feature?

Ross

#7 lore raw
Quoted 6 lines · Ross
Quoted 4 lines · Jack Mitchell

I think it is best to be defined as a separate package connman-client within the current connman recipe. My reasoning for this is that connman is widely used as an embedded network manager and its main interface is dbus rather than the 'helper' program connmanctl.

+1 to connman-client

Quoted 3 lines

Cristian - in another commit can you also add connman-client to the tools-testapps image feature?

+1 here also!

Sau!

Quoted 7 lines

Ross

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core