[oe] [PATCH 1/3] git: replace remaining broken hardlinks with symlinks.

Yann Dirson ydirson at free.fr
Tue Aug 3 22:50:18 UTC 2010


Signed-off-by: Yann Dirson <ydirson at altern.org>
---
 recipes/git/git_1.7.0.2.bb |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/recipes/git/git_1.7.0.2.bb b/recipes/git/git_1.7.0.2.bb
index a3a73f0..917b609 100644
--- a/recipes/git/git_1.7.0.2.bb
+++ b/recipes/git/git_1.7.0.2.bb
@@ -14,14 +14,18 @@ RDEPENDS_${PN} = "perl perl-module-file-path cpio findutils sed"
 # Dropbear ssh needs a wrapper script, so install openssh-ssh to make it work out of the box
 RRECOMMENDS_${PN} = "openssh-ssh"
 
-PR = "r6"
+PR = "r6.1"
 
 do_install_append() {
 	# Fix broken hardlinks
 	for gitprog in git-receive-pack git-upload-archive ; do
-		rm ${D}${bindir}/$gitprog 
+		rm ${D}${bindir}/$gitprog
 		ln -sf ${bindir}/git ${D}${bindir}/$gitprog
 	done
+	for gitprog in git-cvsserver git-shell git-upload-pack ; do
+		rm ${D}/usr/libexec/git-core/$gitprog
+		ln -sf ${bindir}/$gitprog ${D}/usr/libexec/git-core/$gitprog
+	done
 	rm ${D}${libexecdir}/git-core/git && ln -sf ${bindir}/git ${D}${libexecdir}/git-core/git
 }
 
-- 
1.7.1






More information about the Openembedded-devel mailing list