From: Michael Krelin Date: Tue, 8 May 2007 15:48:50 +0000 (+0000) Subject: git: minor fixes to make git work on the device. Closes #2226 and #2240 X-Git-Tag: Release-2010-05/1~8868^2~587 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfc067b7935b039556c6867710889ca726d8e908;p=openembedded.git git: minor fixes to make git work on the device. Closes #2226 and #2240 - Adjust path to templates directory to fix `git init-db` - Make it depend on cpio and findutils as at least local `git clone` relies on them. --- diff --git a/packages/git/git_1.4.4.2.bb b/packages/git/git_1.4.4.2.bb index 37f71cfb04..5a22f040f3 100644 --- a/packages/git/git_1.4.4.2.bb +++ b/packages/git/git_1.4.4.2.bb @@ -1,3 +1,11 @@ require git.inc DEPENDS = "openssl curl" -RDEPENDS = "perl perl-module-file-path" +RDEPENDS = "perl perl-module-file-path cpio findutils" + +PR="r1" + +do_install() { + oe_runmake install DESTDIR="${D}" bindir="${bindir}" \ + template_dir="${datadir}/git-core/templates" \ + GIT_PYTHON_DIR="${datadir}/git-core/python" +}