summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7c1509e)
raw | patch | inline | side by side (parent: 7c1509e)
author | Koen Kooi <koen@dominion.thruhere.net> | |
Fri, 11 Nov 2011 15:29:32 +0000 (16:29 +0100) | ||
committer | Koen Kooi <koen@dominion.thruhere.net> | |
Fri, 11 Nov 2011 16:16:49 +0000 (17:16 +0100) |
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
recipes-misc/payload/bonescript.bb | patch | blob | history | |
recipes-misc/payload/bonescript/bonescript-git | [new file with mode: 0644] | patch | blob |
index 700d460e93f846ecc322557b1d2f73825f4010f3..bbce02237a5e603de9172949cffd299b8eddbad8 100644 (file)
DESCRIPTION = "Scripting tools for the BeagleBoard and BeagleBone"
-PR = "r1"
+PR = "r6"
inherit allarch
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
SRCREV = "0b264f3144cb6385e33346dec02692d71844898d"
-SRC_URI = "git://github.com/jadonk/bonescript.git"
+SRC_URI = "git://github.com/jadonk/bonescript.git \
+ file://bonescript-git \
+ "
S = "${WORKDIR}/git"
do_install() {
+ install -m 0644 ${WORKDIR}/bonescript-git ${S}/.git/config
+ cp $(cat .git/objects/info/alternates)/pack/* .git/objects/pack
+ rm -f ${S}/.git/objects/info/alternates
+ echo ${SRCREV} > .git/refs/heads/master
+ git checkout master || true
install -d ${D}${localstatedir}/lib/cloud9/
cp -a ${S}/* ${D}${localstatedir}/lib/cloud9/
cp -a ${S}/.git ${D}${localstatedir}/lib/cloud9/
}
-RDEPENDS_${PN} = "nodejs"
+RDEPENDS_${PN} = "nodejs cloud9"
+RRECOMMENDS_${PN} = "git"
FILES_${PN} += "${localstatedir}"
diff --git a/recipes-misc/payload/bonescript/bonescript-git b/recipes-misc/payload/bonescript/bonescript-git
--- /dev/null
@@ -0,0 +1,11 @@
+[core]
+ repositoryformatversion = 0
+ filemode = true
+ bare = false
+ logallrefupdates = true
+[remote "origin"]
+ fetch = +refs/heads/*:refs/remotes/origin/*
+ url = git://github.com/jadonk/bonescript.git
+[branch "master"]
+ remote = origin
+ merge = refs/heads/master