summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-11-14 15:08:50 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-11-14 15:16:50 +0100
commita0b13fc0e549390c8e2e24004117d0275a0bb966 (patch)
treeab27b5789ab9b38f8a0dac6d614104a79897ed22
parent955b40d36a5d2b6eb9ca50bed7103d7b6daa7feb (diff)
downloadmeta-ti-a0b13fc0e549390c8e2e24004117d0275a0bb966.tar.gz
bonescript, beaglebone-getting-started: move bone101 startup to proper recipe
Also bump SRCREV Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--recipes-misc/payload/beaglebone-getting-started.bb13
-rw-r--r--recipes-misc/payload/bonescript.bb15
-rw-r--r--recipes-misc/payload/bonescript/bone101.service (renamed from recipes-misc/payload/beaglebone-getting-started/bone101.service)0
3 files changed, 14 insertions, 14 deletions
diff --git a/recipes-misc/payload/beaglebone-getting-started.bb b/recipes-misc/payload/beaglebone-getting-started.bb
index ea5b038a..81d8ceda 100644
--- a/recipes-misc/payload/beaglebone-getting-started.bb
+++ b/recipes-misc/payload/beaglebone-getting-started.bb
@@ -1,6 +1,6 @@
1DESCRIPTION = "BeagleBone Getting Started Guide" 1DESCRIPTION = "BeagleBone Getting Started Guide"
2 2
3PR = "r11" 3PR = "r12"
4 4
5inherit allarch 5inherit allarch
6 6
@@ -8,20 +8,13 @@ LICENSE = "GPLv2+ && MIT && PD && others"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639" 8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639"
9 9
10SRCREV = "70ff0ec0e2d44de35824577ab7b6da443dcc0e9a" 10SRCREV = "70ff0ec0e2d44de35824577ab7b6da443dcc0e9a"
11SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git \ 11SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git"
12 file://bone101.service"
13 12
14S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
15 14
16do_install() { 15do_install() {
17 install -d ${D}${datadir}/${PN} 16 install -d ${D}${datadir}/${PN}
18 cp -a ${S}/* ${D}${datadir}/${PN} 17 cp -a ${S}/* ${D}${datadir}/${PN}
19
20 install -d ${D}${base_libdir}/systemd/system
21 install -m 0644 ${WORKDIR}/bone101.service ${D}${base_libdir}/systemd/system
22} 18}
23 19
24SYSTEMD_PACKAGES = "${PN}" 20FILES_${PN} += "${datadir}/${PN}"
25SYSTEMD_SERVICE_${PN} = "bone101.service"
26
27FILES_${PN} += "${datadir}/${PN} ${base_libdir}/systemd/system"
diff --git a/recipes-misc/payload/bonescript.bb b/recipes-misc/payload/bonescript.bb
index bbce0223..d9e3b018 100644
--- a/recipes-misc/payload/bonescript.bb
+++ b/recipes-misc/payload/bonescript.bb
@@ -1,16 +1,17 @@
1DESCRIPTION = "Scripting tools for the BeagleBoard and BeagleBone" 1DESCRIPTION = "Scripting tools for the BeagleBoard and BeagleBone"
2 2
3PR = "r6" 3PR = "r8"
4 4
5inherit allarch 5inherit allarch systemd
6 6
7# Ask Jason 7# Ask Jason
8LICENSE = "MIT" 8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" 9LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
10 10
11SRCREV = "0b264f3144cb6385e33346dec02692d71844898d" 11SRCREV = "c6c5f3b013eea425d3f4ee64d58b993289d2530f"
12SRC_URI = "git://github.com/jadonk/bonescript.git \ 12SRC_URI = "git://github.com/jadonk/bonescript.git \
13 file://bonescript-git \ 13 file://bonescript-git \
14 file://file://bone101.service \
14 " 15 "
15S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
16 17
@@ -23,8 +24,14 @@ do_install() {
23 install -d ${D}${localstatedir}/lib/cloud9/ 24 install -d ${D}${localstatedir}/lib/cloud9/
24 cp -a ${S}/* ${D}${localstatedir}/lib/cloud9/ 25 cp -a ${S}/* ${D}${localstatedir}/lib/cloud9/
25 cp -a ${S}/.git ${D}${localstatedir}/lib/cloud9/ 26 cp -a ${S}/.git ${D}${localstatedir}/lib/cloud9/
27
28 install -d ${D}${base_libdir}/systemd/system
29 install -m 0644 ${WORKDIR}/bone101.service ${D}${base_libdir}/systemd/system
26} 30}
27 31
32SYSTEMD_PACKAGES = "${PN}"
33SYSTEMD_SERVICE_${PN} = "bone101.service"
34
35FILES_${PN} += ""${localstatedir} ${base_libdir}/systemd/system"
28RDEPENDS_${PN} = "nodejs cloud9" 36RDEPENDS_${PN} = "nodejs cloud9"
29RRECOMMENDS_${PN} = "git" 37RRECOMMENDS_${PN} = "git"
30FILES_${PN} += "${localstatedir}"
diff --git a/recipes-misc/payload/beaglebone-getting-started/bone101.service b/recipes-misc/payload/bonescript/bone101.service
index 49562ba4..49562ba4 100644
--- a/recipes-misc/payload/beaglebone-getting-started/bone101.service
+++ b/recipes-misc/payload/bonescript/bone101.service