1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-05-07 11:59:49 +00:00

bonescript, beaglebone-getting-started: move bone101 startup to proper recipe

Also bump SRCREV

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-11-14 15:08:50 +01:00
parent 955b40d36a
commit a0b13fc0e5
3 changed files with 14 additions and 14 deletions
@@ -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}"
+11 -4
View File
@@ -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://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}"