diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-14 15:08:50 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-14 15:16:50 +0100 |
commit | a0b13fc0e549390c8e2e24004117d0275a0bb966 (patch) | |
tree | ab27b5789ab9b38f8a0dac6d614104a79897ed22 /recipes-misc | |
parent | 955b40d36a5d2b6eb9ca50bed7103d7b6daa7feb (diff) | |
download | meta-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>
Diffstat (limited to 'recipes-misc')
-rw-r--r-- | recipes-misc/payload/beaglebone-getting-started.bb | 13 | ||||
-rw-r--r-- | recipes-misc/payload/bonescript.bb | 15 | ||||
-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 @@ | |||
1 | DESCRIPTION = "BeagleBone Getting Started Guide" | 1 | DESCRIPTION = "BeagleBone Getting Started Guide" |
2 | 2 | ||
3 | PR = "r11" | 3 | PR = "r12" |
4 | 4 | ||
5 | inherit allarch | 5 | inherit allarch |
6 | 6 | ||
@@ -8,20 +8,13 @@ LICENSE = "GPLv2+ && MIT && PD && others" | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639" | 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639" |
9 | 9 | ||
10 | SRCREV = "70ff0ec0e2d44de35824577ab7b6da443dcc0e9a" | 10 | SRCREV = "70ff0ec0e2d44de35824577ab7b6da443dcc0e9a" |
11 | SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git \ | 11 | SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git" |
12 | file://bone101.service" | ||
13 | 12 | ||
14 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
15 | 14 | ||
16 | do_install() { | 15 | do_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 | ||
24 | SYSTEMD_PACKAGES = "${PN}" | 20 | FILES_${PN} += "${datadir}/${PN}" |
25 | SYSTEMD_SERVICE_${PN} = "bone101.service" | ||
26 | |||
27 | FILES_${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 @@ | |||
1 | DESCRIPTION = "Scripting tools for the BeagleBoard and BeagleBone" | 1 | DESCRIPTION = "Scripting tools for the BeagleBoard and BeagleBone" |
2 | 2 | ||
3 | PR = "r6" | 3 | PR = "r8" |
4 | 4 | ||
5 | inherit allarch | 5 | inherit allarch systemd |
6 | 6 | ||
7 | # Ask Jason | 7 | # Ask Jason |
8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
9 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | 9 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" |
10 | 10 | ||
11 | SRCREV = "0b264f3144cb6385e33346dec02692d71844898d" | 11 | SRCREV = "c6c5f3b013eea425d3f4ee64d58b993289d2530f" |
12 | SRC_URI = "git://github.com/jadonk/bonescript.git \ | 12 | SRC_URI = "git://github.com/jadonk/bonescript.git \ |
13 | file://bonescript-git \ | 13 | file://bonescript-git \ |
14 | file://file://bone101.service \ | ||
14 | " | 15 | " |
15 | S = "${WORKDIR}/git" | 16 | S = "${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 | ||
32 | SYSTEMD_PACKAGES = "${PN}" | ||
33 | SYSTEMD_SERVICE_${PN} = "bone101.service" | ||
34 | |||
35 | FILES_${PN} += ""${localstatedir} ${base_libdir}/systemd/system" | ||
28 | RDEPENDS_${PN} = "nodejs cloud9" | 36 | RDEPENDS_${PN} = "nodejs cloud9" |
29 | RRECOMMENDS_${PN} = "git" | 37 | RRECOMMENDS_${PN} = "git" |
30 | FILES_${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 | |||