connman: enable connman client
PATCH 1/1 connman: enable connman client
connmanctl is now included when connman is installed
--- meta/recipes-connectivity/connman/connman.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/connman/connman.inc +2 -2
@@ -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,6 @@ EXTRA_OECONF += "\ --enable-tools \ --enable-test \ --disable-polkit \ - --disable-client \ --enable-fake \ ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '', d)} \ "
@@ -73,6 +72,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 ${S}/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
Hi Cristian,
Quoted 1 line · Cristian Iorga
- --disable-client \
I'd prefer to see an explicit --enable-client here to make it clear what we're turning on and off.
Quoted 1 line
+ install -m 0755 ${S}/client/connmanctl ${D}${bindir}
${S} (source) should be ${B} (build), although at the moment they are the same directory I've been slowly working on changing that.
Also the fact that you have to do this is depressing. I wonder why upstream doesn't want to install any of the tools?
Ross
Quoted 10 lines · Ross Burton
Hi Cristian,
Quoted 1 line · Cristian Iorga
- --disable-client \
I'd prefer to see an explicit --enable-client here to make it clear what we're turning on and off.
Quoted 1 line
+ install -m 0755 ${S}/client/connmanctl ${D}${bindir}
${S} (source) should be ${B} (build), although at the moment they are the same directory I've been slowly working on changing that.
Also the fact that you have to do this is depressing. I wonder why upstream doesn't want to install any of the tools?
Connmanctl is a helper, even though I have connman in my image, I wouldn't want connmanctl. I assume this is why they don't ship it by default; as my use case is fairly normal for connman.
Which leads to the next point, this should be a seperate package.
Quoted 9 lines
Ross
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 7 lines · On Saturday 23 February 2013 09:02:07 Jack Mitchell wrote:
Quoted 2 lines · Ross Burton
Also the fact that you have to do this is depressing. I wonder why upstream doesn't want to install any of the tools?
Connmanctl is a helper, even though I have connman in my image, I wouldn't want connmanctl. I assume this is why they don't ship it by default; as my use case is fairly normal for connman.
I would have thought if you had asked for the client to be built (or not asked for it not to be built, as the case may be) then surely you would want it installed (as far as make install goes anyway)?
Quoted 1 line
Which leads to the next point, this should be a seperate package.
Probably should be I think yes.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 10 lines · Paul Eggleton
Quoted 6 lines · On Saturday 23 February 2013 09:02:07 Jack Mitchell wrote:
Quoted 2 lines · Ross Burton
Also the fact that you have to do this is depressing. I wonder why upstream doesn't want to install any of the tools?
Connmanctl is a helper, even though I have connman in my image, I wouldn't want connmanctl. I assume this is why they don't ship it by default; as my use case is fairly normal for connman.
I would have thought if you had asked for the client to be built (or not asked for it not to be built, as the case may be) then surely you would want it installed (as far as make install goes anyway)?
Yes I misread, I thought we were explicity enabling it. I'll try to send an email off to upstream and see what they think.
Quoted 3 lines
Quoted 2 lines
Which leads to the next point, this should be a seperate package.
Probably should be I think yes.
If no one beats me to it I'll look into this at work next week. Some of the tools should be split into packages too and I think there may be some distro specific tweaks also (e.g. wifi enabled etc).
Quoted 4 lines
Cheers,
Paul
Hello Ross,
1. As far as I have seen, building the connmanctl is the default, there is no --enable-client.
Maybe I am wrong, I have extracted this info from the documentation.
2. Like you said, at the moment, the client executable is produced directly in the source directory, hence my install command. If I understand correctly, will be the same thing if I change into build directory?
Regards,
Cristian
-----Original Message-----
From: Ross Burton [mailto:[email protected]]
Sent: Saturday, February 23, 2013 10:34 AM
To: Iorga, Cristian
Cc: [email protected]
Subject: Re: [OE-core] [PATCH] connman: enable connman client
Hi Cristian,
Quoted 1 line · Cristian Iorga
- --disable-client \
I'd prefer to see an explicit --enable-client here to make it clear what we're turning on and off.
Quoted 1 line
+ install -m 0755 ${S}/client/connmanctl ${D}${bindir}
${S} (source) should be ${B} (build), although at the moment they are the same directory I've been slowly working on changing that.
Also the fact that you have to do this is depressing. I wonder why upstream doesn't want to install any of the tools?
Ross
Hi Cristian,
Quoted 2 lines · Cristian
1. As far as I have seen, building the connmanctl is the default, there is no --enable-client. Maybe I am wrong, I have extracted this info from the documentation.
With autotools if there's a --disable-something there's always a --enable-something (actually, --disable-something is implemented as --enable-something=no).
Quoted 2 lines
2. Like you said, at the moment, the client executable is produced directly in the source directory, hence my install command. If I understand correctly, will be the same thing if I change into build directory?
The binary is produced in the build directory, it just happens that it is the same directory as the source directory at present.
Quoted 1 line
Also, please note that tools-test and tools-wispr use also the ${S} dir in install, so my code is in accordance to previous code (prior artwork :-) ).
Yes, lots of code is wrong. I'm slowly working through all of oe-core...
Ross
Also, please note that tools-test and tools-wispr use also the ${S} dir in install, so my code is in accordance to previous code (prior artwork :-) ).
-----Original Message-----
From: Iorga, Cristian
Sent: Monday, February 25, 2013 9:19 AM
To: Burton, Ross
Cc: [email protected]
Subject: RE: [OE-core] [PATCH] connman: enable connman client
Hello Ross,
1. As far as I have seen, building the connmanctl is the default, there is no --enable-client.
Maybe I am wrong, I have extracted this info from the documentation.
2. Like you said, at the moment, the client executable is produced directly in the source directory, hence my install command. If I understand correctly, will be the same thing if I change into build directory?
Regards,
Cristian
-----Original Message-----
From: Ross Burton [mailto:[email protected]]
Sent: Saturday, February 23, 2013 10:34 AM
To: Iorga, Cristian
Cc: [email protected]
Subject: Re: [OE-core] [PATCH] connman: enable connman client
Hi Cristian,
Quoted 1 line · Cristian Iorga
- --disable-client \
I'd prefer to see an explicit --enable-client here to make it clear what we're turning on and off.
Quoted 1 line
+ install -m 0755 ${S}/client/connmanctl ${D}${bindir}
${S} (source) should be ${B} (build), although at the moment they are the same directory I've been slowly working on changing that.
Also the fact that you have to do this is depressing. I wonder why upstream doesn't want to install any of the tools?
Ross