[meta-ti] [PATCH v2] bonescript, beaglebone-getting-started: move bone101 startup to proper recipe
Koen Kooi
koen at dominion.thruhere.net
Mon Nov 14 06:18:14 PST 2011
Also bump SRCREV
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
Changes since v1:
Remove bone101 from getting started do_install
Add bone101.service to bonescript SRC_URI
recipes-misc/payload/beaglebone-getting-started.bb | 13 +++----------
recipes-misc/payload/bonescript.bb | 15 +++++++++++----
.../bone101.service | 0
3 files changed, 14 insertions(+), 14 deletions(-)
rename recipes-misc/payload/{beaglebone-getting-started => bonescript}/bone101.service (100%)
diff --git a/recipes-misc/payload/beaglebone-getting-started.bb b/recipes-misc/payload/beaglebone-getting-started.bb
index ea5b038..81d8ced 100644
--- a/recipes-misc/payload/beaglebone-getting-started.bb
+++ b/recipes-misc/payload/beaglebone-getting-started.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "BeagleBone Getting Started Guide"
-PR = "r11"
+PR = "r12"
inherit allarch
@@ -8,20 +8,13 @@ LICENSE = "GPLv2+ && MIT && PD && others"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639"
SRCREV = "70ff0ec0e2d44de35824577ab7b6da443dcc0e9a"
-SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git \
- file://bone101.service"
+SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git"
S = "${WORKDIR}/git"
do_install() {
install -d ${D}${datadir}/${PN}
cp -a ${S}/* ${D}${datadir}/${PN}
-
- install -d ${D}${base_libdir}/systemd/system
- install -m 0644 ${WORKDIR}/bone101.service ${D}${base_libdir}/systemd/system
}
-SYSTEMD_PACKAGES = "${PN}"
-SYSTEMD_SERVICE_${PN} = "bone101.service"
-
-FILES_${PN} += "${datadir}/${PN} ${base_libdir}/systemd/system"
+FILES_${PN} += "${datadir}/${PN}"
diff --git a/recipes-misc/payload/bonescript.bb b/recipes-misc/payload/bonescript.bb
index bbce022..d9e3b01 100644
--- a/recipes-misc/payload/bonescript.bb
+++ b/recipes-misc/payload/bonescript.bb
@@ -1,16 +1,17 @@
DESCRIPTION = "Scripting tools for the BeagleBoard and BeagleBone"
-PR = "r6"
+PR = "r8"
-inherit allarch
+inherit allarch systemd
# Ask Jason
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
-SRCREV = "0b264f3144cb6385e33346dec02692d71844898d"
+SRCREV = "c6c5f3b013eea425d3f4ee64d58b993289d2530f"
SRC_URI = "git://github.com/jadonk/bonescript.git \
file://bonescript-git \
+ file://bone101.service \
"
S = "${WORKDIR}/git"
@@ -23,8 +24,14 @@ do_install() {
install -d ${D}${localstatedir}/lib/cloud9/
cp -a ${S}/* ${D}${localstatedir}/lib/cloud9/
cp -a ${S}/.git ${D}${localstatedir}/lib/cloud9/
+
+ install -d ${D}${base_libdir}/systemd/system
+ install -m 0644 ${WORKDIR}/bone101.service ${D}${base_libdir}/systemd/system
}
+SYSTEMD_PACKAGES = "${PN}"
+SYSTEMD_SERVICE_${PN} = "bone101.service"
+
+FILES_${PN} += ""${localstatedir} ${base_libdir}/systemd/system"
RDEPENDS_${PN} = "nodejs cloud9"
RRECOMMENDS_${PN} = "git"
-FILES_${PN} += "${localstatedir}"
diff --git a/recipes-misc/payload/beaglebone-getting-started/bone101.service b/recipes-misc/payload/bonescript/bone101.service
similarity index 100%
rename from recipes-misc/payload/beaglebone-getting-started/bone101.service
rename to recipes-misc/payload/bonescript/bone101.service
--
1.7.2.5
More information about the meta-ti
mailing list