mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-16 22:38:04 +00:00
bonescript: fixup git repo
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user