Skip to contentSkip to conversation

qconnman: add

PATCH In review Otavio Salvador 2 participants 5 messages Dec 9, 2011 1 message not in the archive

lore
Share & tools
lore
#1 lore raw

PATCH 1/2 qconnman: add

In reply to a message not in the archive
---
 meta-oe/recipes-qt/qconnman/qconnman_git.bb |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-qt/qconnman/qconnman_git.bb
meta-oe/recipes-qt/qconnman/qconnman_git.bb new file +16 -0
new file mode 100644
index 0000000..51b458b
@@ -0,0 +1,16 @@
+DESCRIPTION = "ConnMan management interface done in Qt"
+DEPENDS = "connman"
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+inherit autotools qt4x11
+
+EXTRA_QMAKEVARS_PRE += "PREFIX=/usr"
+EXTRA_OEMAKE += "INSTALL_ROOT=${D}"
+
+PV = "0.0+gitr${SRCPV}"
+SRCREV = "9bab120f426e41552c369b7030414c792dd25a91"
+SRC_URI = "git://github.com/OSSystems/qconnman.git"
+
+S = "${WORKDIR}/git/"
Signature · 1 line
1.7.2.5
#2 lore raw

PATCH 2/2 dropbear: move dropbear-systemd to a bbappend

While on it, the recipe has been updated to use systemd.bbclass and cleaned up.

---
 .../recipes-core/dropbear/dropbear-systemd_v1.bb   |   40 --------------------
 .../{dropbear-systemd => dropbear}/dropbear.socket |    0
 .../[email protected]                              |    0
 .../dropbearkey.service                            |    0
 .../dropbear/dropbear_2011.54.bbappend             |   33 ++++++++++++++++
 5 files changed, 33 insertions(+), 40 deletions(-)
 delete mode 100644 meta-oe/recipes-core/dropbear/dropbear-systemd_v1.bb
 rename meta-oe/recipes-core/dropbear/{dropbear-systemd => dropbear}/dropbear.socket (100%)
 rename meta-oe/recipes-core/dropbear/{dropbear-systemd => dropbear}/[email protected] (100%)
 rename meta-oe/recipes-core/dropbear/{dropbear-systemd => dropbear}/dropbearkey.service (100%)
 create mode 100644 meta-oe/recipes-core/dropbear/dropbear_2011.54.bbappend
meta-oe/recipes-core/dropbear/dropbear-systemd_v1.bb deleted +0 -40
deleted file mode 100644
index b46c0e2..0000000
@@ -1,40 +0,0 @@
-DESCRIPTION = "Socket based activation for dropbear ssh server"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
-
-inherit allarch
-
-SRC_URI = "file://dropbearkey.service \
-           file://[email protected] \
-           file://dropbear.socket \
-          "
-
-do_configure() {
-	:
-}
-
-do_compile() {
-	:
-}
-
-do_install() {
-	install -d ${D}${base_libdir}/systemd/system
-	install -m 0644 ${WORKDIR}/dropbear*.* ${D}${base_libdir}/systemd/system/
-}
-
-pkg_postinst_${PN} () {
-if test "x$D" != "x"; then
-	exit 1
-fi
-systemctl enable dropbear.socket
-ln -sf /dev/null ${base_libdir}/systemd/system/dropbear.service
-}
-
-pkg_postrm_${PN} () {
-systemctl disable dropbear.socket
-rm -f ${base_libdir}/systemd/system/dropbear.service
-}
-
-RDEPENDS_${PN} = "systemd dropbear"
-FILES_${PN} = "${base_libdir}/systemd/system"
-
meta-oe/recipes-core/dropbear/dropbear/dropbear.socket renamed from meta-oe/recipes-core/dropbear/dropbear-systemd/dropbear.socket +0 -0
similarity index 100%
rename from meta-oe/recipes-core/dropbear/dropbear-systemd/dropbear.socket
rename to meta-oe/recipes-core/dropbear/dropbear/dropbear.socket
meta-oe/recipes-core/dropbear/dropbear/[email protected] renamed from meta-oe/recipes-core/dropbear/dropbear-systemd/[email protected] +0 -0
similarity index 100%
rename from meta-oe/recipes-core/dropbear/dropbear-systemd/[email protected]
rename to meta-oe/recipes-core/dropbear/dropbear/[email protected]
meta-oe/recipes-core/dropbear/dropbear/dropbearkey.service renamed from meta-oe/recipes-core/dropbear/dropbear-systemd/dropbearkey.service +0 -0
similarity index 100%
rename from meta-oe/recipes-core/dropbear/dropbear-systemd/dropbearkey.service
rename to meta-oe/recipes-core/dropbear/dropbear/dropbearkey.service
meta-oe/recipes-core/dropbear/dropbear_2011.54.bbappend new file +33 -0
new file mode 100644
index 0000000..664b6de
@@ -0,0 +1,33 @@
+inherit systemd
+
+PR .= ".meta-oe.1"
+
+# look for files in the layer first
+FILESEXTRAPATHS := "${THISDIR}/${PN}"
+
+SRC_URI += "file://dropbearkey.service \
+            file://[email protected] \
+            file://dropbear.socket"
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE_${PN}-systemd = "dropbear.socket"
+
+do_install_append() {
+	install -d ${D}${base_libdir}/systemd/system
+	install -m 0644 ${WORKDIR}/dropbearkey.service ${D}${base_libdir}/systemd/system/
+	install -m 0644 ${WORKDIR}/[email protected] ${D}${base_libdir}/systemd/system/
+	install -m 0644 ${WORKDIR}/dropbear.socket ${D}${base_libdir}/systemd/system/
+}
+
+PACKAGES += "${PN}-systemd"
+
+RDEPENDS_${PN}-systemd += "dropbear"
+FILES_${PN}-systemd = "${base_libdir}/systemd"
+
+pkg_postinst_${PN}-systemd_append() {
+ln -sf /dev/null $D${base_libdir}/systemd/system/dropbear.service
+}
+
+pkg_postrm_${PN}-systemd_append() {
+rm -f ${base_libdir}/systemd/system/dropbear.service
+}
Signature · 1 line
1.7.2.5
#3 lore raw
In reply to Otavio Salvador

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 09-12-11 13:04, Otavio Salvador schreef:

Quoted 6 lines

meta-oe/recipes-qt/qconnman/qconnman_git.bb | 16 ++++++++++++++++ 1
files changed, 16 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-qt/qconnman/qconnman_git.bb

(quoted diff) +0 -0
Quoted 10 lines

b/meta-oe/recipes-qt/qconnman/qconnman_git.bb new file mode 100644 index 0000000..51b458b --- /dev/null +++ b/meta-oe/recipes-qt/qconnman/qconnman_git.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "ConnMan management interface done in Qt" +DEPENDS = "connman" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +inherit autotools qt4x11 + +EXTRA_QMAKEVARS_PRE += "PREFIX=/usr" +EXTRA_OEMAKE += "INSTALL_ROOT=${D}" + +PV = "0.0+gitr${SRCPV}" +SRCREV = "9bab120f426e41552c369b7030414c792dd25a91" +SRC_URI = "git://github.com/OSSystems/qconnman.git" + +S = "${WORKDIR}/git/"

Can I talk you into adding a 'inherit qt4e' version as well?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7h+7sACgkQMkyGM64RGpHAxgCgsBxvzbjbLz0GII6RmgCNGU2H smQAn1CPeCyO5X8N+eO9wqtE+v1G7OxA
=LtMP
-----END PGP SIGNATURE-----

#4 lore raw

Will do.

Quoted 41 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 09-12-11 13:04, Otavio Salvador schreef:

Quoted 6 lines

meta-oe/recipes-qt/qconnman/qconnman_git.bb | 16 ++++++++++++++++ 1
files changed, 16 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-qt/qconnman/qconnman_git.bb

(quoted diff) +0 -0
Quoted 10 lines

b/meta-oe/recipes-qt/qconnman/qconnman_git.bb new file mode 100644 index 0000000..51b458b --- /dev/null +++ b/meta-oe/recipes-qt/qconnman/qconnman_git.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "ConnMan management interface done in Qt" +DEPENDS = "connman" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +inherit autotools qt4x11 + +EXTRA_QMAKEVARS_PRE += "PREFIX=/usr" +EXTRA_OEMAKE += "INSTALL_ROOT=${D}" + +PV = "0.0+gitr${SRCPV}" +SRCREV = "9bab120f426e41552c369b7030414c792dd25a91" +SRC_URI = "git://github.com/OSSystems/qconnman.git" + +S = "${WORKDIR}/git/"

Can I talk you into adding a 'inherit qt4e' version as well?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7h+7sACgkQMkyGM64RGpHAxgCgsBxvzbjbLz0GII6RmgCNGU2H smQAn1CPeCyO5X8N+eO9wqtE+v1G7OxA
=LtMP
-----END PGP SIGNATURE-----

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

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#5 lore raw

I have updated my GitHub branch. Want me to resend it?

Quoted 57 lines · Otavio Salvador

Will do.

Quoted 38 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 09-12-11 13:04, Otavio Salvador schreef:

Quoted 7 lines

meta-oe/recipes-qt/qconnman/qconnman_git.bb | 16 ++++++++++++++++ 1
files changed, 16 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-qt/qconnman/qconnman_git.bb

(quoted diff) +0 -0

b/meta-oe/recipes-qt/qconnman/qconnman_git.bb new file mode 100644

index

Quoted 6 lines

0000000..51b458b --- /dev/null +++ b/meta-oe/recipes-qt/qconnman/qconnman_git.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "ConnMan management interface done in Qt" +DEPENDS = "connman" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +inherit autotools qt4x11 + +EXTRA_QMAKEVARS_PRE += "PREFIX=/usr" +EXTRA_OEMAKE

+=

Quoted 3 lines

"INSTALL_ROOT=${D}" + +PV = "0.0+gitr${SRCPV}" +SRCREV = "9bab120f426e41552c369b7030414c792dd25a91" +SRC_URI = "git://github.com/OSSystems/qconnman.git" + +S = "${WORKDIR}/git/"

Can I talk you into adding a 'inherit qt4e' version as well?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7h+7sACgkQMkyGM64RGpHAxgCgsBxvzbjbLz0GII6RmgCNGU2H smQAn1CPeCyO5X8N+eO9wqtE+v1G7OxA
=LtMP
-----END PGP SIGNATURE-----

Quoted 5 lines

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

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br