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

login
register
mail settings
Submitter Otavio Salvador
Date Feb. 27, 2014, 5:11 p.m.
Message ID <1393521090-20876-2-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/67617/
State Accepted, archived
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Feb. 27, 2014, 5:11 p.m.
This allow for easy installation of needed packages for remote
debugging using QtCreator. The qtdeclarative-plugins package provides
the needed infrastructure to remotely debug QML application.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Giulian Vivan <giulian@ossystems.com.br>
---
 .../packagegroups/packagegroup-qt5-qtcreator-debug.bb     |   13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 recipes-qt/packagegroups/packagegroup-qt5-qtcreator-debug.bb
Khem Raj - Feb. 27, 2014, 5:15 p.m.
On Feb 27, 2014, at 9:11 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:

> +
> +RDEPENDS_${PN} = " \
> +    gdbserver \
> +    openssh \
> +    openssh-sftp-server \
> +    qtdeclarative-plugins \
> +"
> -- 

this hardcoding openssh issue still is unresolved ?
Otavio Salvador - Feb. 27, 2014, 5:28 p.m.
On Thu, Feb 27, 2014 at 2:15 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
> On Feb 27, 2014, at 9:11 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>
>> +
>> +RDEPENDS_${PN} = " \
>> +    gdbserver \
>> +    openssh \
>> +    openssh-sftp-server \
>> +    qtdeclarative-plugins \
>> +"
>> --
>
> this hardcoding openssh issue still is unresolved ?

As explained in v1, Dropbear does not work.
Khem Raj - Feb. 27, 2014, 5:29 p.m.
On Feb 27, 2014, at 9:28 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:

> As explained in v1, Dropbear does not work.

it does work. you just have to use non-empty password.
Otavio Salvador - Feb. 27, 2014, 5:33 p.m.
On Thu, Feb 27, 2014 at 2:29 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
> On Feb 27, 2014, at 9:28 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>
>> As explained in v1, Dropbear does not work.
>
> it does work. you just have to use non-empty password.

and how you think we can allow user to override it?
Khem Raj - Feb. 27, 2014, 6:04 p.m.
On Feb 27, 2014, at 9:33 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:

> and how you think we can allow user to override it?

there is -B option that can be passed to dropbear to let it accept
blank passwords.
Otavio Salvador - Feb. 27, 2014, 6:12 p.m.
On Thu, Feb 27, 2014 at 3:04 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
> On Feb 27, 2014, at 9:33 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>
>> and how you think we can allow user to override it?
>
> there is -B option that can be passed to dropbear to let it accept
> blank passwords.

+++ b/recipes-qt/packagegroups/packagegroup-qt5-qtcreator-debug.bb
@@ -0,0 +1,16 @@
+# Copyright (C) 2014 O.S. Systems Software LTDA.
+
+SUMMARY = "Remote debugging tools for QtCreator integration"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+# Override by distro if needed
+VIRTUAL-RUNTIME_qtcreator-debug-ssh-daemon ?= "openssh-sshd"
+
+RDEPENDS_${PN} = " \
+    gdbserver \
+    ${VIRTUAL-RUNTIME_qtcreator-debug-ssh-daemon} \
+    openssh-sftp-server \
+    qtdeclarative-plugins \
+"

Looks good?

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..cb1518d
--- /dev/null
+++ b/recipes-qt/packagegroups/packagegroup-qt5-qtcreator-debug.bb
@@ -0,0 +1,13 @@ 
+# 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 \
+    qtdeclarative-plugins \
+"