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

bonescript: fixup git repo

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-11-11 16:29:32 +01:00
parent 7c1509e70e
commit 6e51674f6e
2 changed files with 22 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
DESCRIPTION = "Scripting tools for the BeagleBoard and BeagleBone"
PR = "r1"
PR = "r6"
inherit allarch
@@ -9,14 +9,22 @@ LICENSE = "MIT"
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}"

View File

@@ -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