Patchwork [meta-qt5,2/3] packagegroup-qt5-qtcreator-debug: Add package group

login
register
mail settings
Submitter Otavio Salvador
Date Feb. 24, 2014, 8:28 p.m.
Message ID <1393273696-9249-3-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/67367/
State Accepted, archived
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Feb. 24, 2014, 8:28 p.m.
This allow for easy installation of needed packages for remote
debugging using QtCreator.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../packagegroups/packagegroup-qt5-qtcreator-debug.bb      |   12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 recipes-qt/packagegroups/packagegroup-qt5-qtcreator-debug.bb
Khem Raj - Feb. 25, 2014, 5:52 a.m.
On Mon, Feb 24, 2014 at 12:28 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> This allow for easy installation of needed packages for remote
> debugging using QtCreator.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  .../packagegroups/packagegroup-qt5-qtcreator-debug.bb      |   12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 recipes-qt/packagegroups/packagegroup-qt5-qtcreator-debug.bb
>
> diff --git a/recipes-qt/packagegroups/packagegroup-qt5-qtcreator-debug.bb b/recipes-qt/packagegroups/packagegroup-qt5-qtcreator-debug.bb
> new file mode 100644
> index 0000000..4cfbea9
> --- /dev/null
> +++ b/recipes-qt/packagegroups/packagegroup-qt5-qtcreator-debug.bb
> @@ -0,0 +1,12 @@
> +# Copyright (C) 2014 O.S. Systems Software LTDA.
> +
> +SUMMARY = "Remote debugging tools for QtCreator integration"
> +LICENSE = "MIT"
> +
> +inherit packagegroup
> +
> +RDEPENDS_${PN} = " \
> +    gdbserver \
> +    openssh \

one could use dropbear or openssh for providing ssh server can we rely on that
instead of hardcoding openssh here ?

> +    openssh-sftp-server \
> +"
> --
> 1.7.10.4
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Otavio Salvador - Feb. 25, 2014, 11:36 a.m.
On Tue, Feb 25, 2014 at 2:52 AM, Khem Raj <raj.khem@gmail.com> wrote:
> On Mon, Feb 24, 2014 at 12:28 PM, Otavio Salvador
>> +RDEPENDS_${PN} = " \
>> +    gdbserver \
>> +    openssh \
>
> one could use dropbear or openssh for providing ssh server can we rely on that
> instead of hardcoding openssh here ?

We can try and see if it works.

Giulian, could you give this a try?
Giulian Vivan - Feb. 26, 2014, 12:38 p.m.
Hello

We tested it and when qtcreator tries to connect to the device with
dropbear, it gets "server rejected password". A connection done through a
terminal is accepted normally.

Giulian Gonçalves Vivan
O.S. Systems Software Ltda.
www.ossystems.com.br
+55 53 3282-2787


On Tue, Feb 25, 2014 at 8:36 AM, Otavio Salvador <otavio@ossystems.com.br>wrote:

> On Tue, Feb 25, 2014 at 2:52 AM, Khem Raj <raj.khem@gmail.com> wrote:
> > On Mon, Feb 24, 2014 at 12:28 PM, Otavio Salvador
> >> +RDEPENDS_${PN} = " \
> >> +    gdbserver \
> >> +    openssh \
> >
> > one could use dropbear or openssh for providing ssh server can we rely
> on that
> > instead of hardcoding openssh here ?
>
> We can try and see if it works.
>
> Giulian, could you give this a try?
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>
Otavio Salvador - Feb. 26, 2014, 12:40 p.m.
Hello Khem,

On Wed, Feb 26, 2014 at 9:18 AM, Giulian Vivan <giulian@ossystems.com.br> wrote:
> We tested it and when qtcreator tries to connect to the device with
> dropbear, it gets "server rejected password". A connection done through a
> terminal is accepted normally.

Any specific reason to prefer Dropbear?
Khem Raj - Feb. 26, 2014, 4:26 p.m.
On Feb 26, 2014, at 4:40 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:

> Hello Khem,
> 
> On Wed, Feb 26, 2014 at 9:18 AM, Giulian Vivan <giulian@ossystems.com.br> wrote:
>> We tested it and when qtcreator tries to connect to the device with
>> dropbear, it gets "server rejected password". A connection done through a
>> terminal is accepted normally.

do you have empty password ? 

> 
> Any specific reason to prefer Dropbear?

it smaller than openssh many embedded platforms have it in their images
you will have conflicts if you now try to shove hard dep on openssh

> 
> -- 
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
Otavio Salvador - Feb. 26, 2014, 4:45 p.m.
On Wed, Feb 26, 2014 at 1:26 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
> On Feb 26, 2014, at 4:40 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>
>> Hello Khem,
>>
>> On Wed, Feb 26, 2014 at 9:18 AM, Giulian Vivan <giulian@ossystems.com.br> wrote:
>>> We tested it and when qtcreator tries to connect to the device with
>>> dropbear, it gets "server rejected password". A connection done through a
>>> terminal is accepted normally.
>
> do you have empty password ?

I will let Giulian answer this one.

>> Any specific reason to prefer Dropbear?
>
> it smaller than openssh many embedded platforms have it in their images
> you will have conflicts if you now try to shove hard dep on openssh

Even if we are abow to make it compatible, how would we 'choose' between both?
Giulian Vivan - Feb. 26, 2014, 4:48 p.m.
On Wed, Feb 26, 2014 at 1:45 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:

> On Wed, Feb 26, 2014 at 1:26 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >
> > On Feb 26, 2014, at 4:40 AM, Otavio Salvador <otavio@ossystems.com.br>
> wrote:
> >
> >> Hello Khem,
> >>
> >> On Wed, Feb 26, 2014 at 9:18 AM, Giulian Vivan <
> giulian@ossystems.com.br> wrote:
> >>> We tested it and when qtcreator tries to connect to the device with
> >>> dropbear, it gets "server rejected password". A connection done
> through a
> >>> terminal is accepted normally.
> >
> > do you have empty password ?
>
> I will let Giulian answer this one.
>
>
Yes, it's an empty password.


>  >> Any specific reason to prefer Dropbear?
> >
> > it smaller than openssh many embedded platforms have it in their images
> > you will have conflicts if you now try to shove hard dep on openssh
>
> Even if we are abow to make it compatible, how would we 'choose' between
> both?
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>

Giulian Gonçalves Vivan
O.S. Systems Software Ltda.
www.ossystems.com.br
+55 53 3282-2787

Patch

diff --git a/recipes-qt/packagegroups/packagegroup-qt5-qtcreator-debug.bb b/recipes-qt/packagegroups/packagegroup-qt5-qtcreator-debug.bb
new file mode 100644
index 0000000..4cfbea9
--- /dev/null
+++ b/recipes-qt/packagegroups/packagegroup-qt5-qtcreator-debug.bb
@@ -0,0 +1,12 @@ 
+# Copyright (C) 2014 O.S. Systems Software LTDA.
+
+SUMMARY = "Remote debugging tools for QtCreator integration"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = " \
+    gdbserver \
+    openssh \
+    openssh-sftp-server \
+"