[oe-commits] Yann Dirson : git: replace remaining broken hardlinks with symlinks.
git version control
git at git.openembedded.org
Wed Sep 22 06:06:05 UTC 2010
Module: openembedded.git
Branch: master
Commit: 50fc7462c48dec780900378149ac937bc41c45fa
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=50fc7462c48dec780900378149ac937bc41c45fa
Author: Yann Dirson <ydirson at altern.org>
Date: Wed Sep 15 11:27:46 2010 +0000
git: replace remaining broken hardlinks with symlinks.
Signed-off-by: Yann Dirson <ydirson at altern.org>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
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 be7a526..0ca44b5 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 = "r7"
+PR = "r8"
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}${libexecdir}/git-core/$gitprog
+ ln -sf ${bindir}/$gitprog ${D}${libexecdir}/git-core/$gitprog
+ done
rm ${D}${libexecdir}/git-core/git && ln -sf ${bindir}/git ${D}${libexecdir}/git-core/git
}
More information about the Openembedded-commits
mailing list