android: Run busybox install with -s, since some versions of Android prohibit making hard links.

This commit is contained in:
Joey Hess 2014-05-23 16:18:55 -04:00
parent 2910a85992
commit 44a3e76115
3 changed files with 5 additions and 1 deletions

2
debian/changelog vendored
View file

@ -11,6 +11,8 @@ git-annex (5.20140518) UNRELEASED; urgency=medium
The repository must have been added using initremote.
* webapp: When setting up a ssh remote, record it using initremote,
so that it can be easily enabled elsewhere.
* android: Run busybox install with -s, since some versions of Android
prohibit making hard links.
-- Joey Hess <joeyh@debian.org> Mon, 19 May 2014 15:59:25 -0400

View file

@ -23,3 +23,5 @@ The only relevant log lines seem to be:
add git-annex.apk [2014-05-18 16:57:08 EEST] chat: git [--git-dir=/storage/emulated/legacy/annex/.git","--work-tree=/storage/emulated/legacy/annex","-c","core.bare=false","check-attr","-z","--stdin","annex.backend","annex.numcopies","--"]
[2014-05-18 16:57:08 EEST] read: sha256sum ["git-annex.apk"]
"""]]
> Modified runshell to use busybox install -s; [[done]] --[[Joey]]

View file

@ -30,7 +30,7 @@ buildtree () {
$cmd ln -s "$base/lib/lib.$prog.so" "$base/bin/$prog"
done
$cmd --install $base/bin
$cmd --install -s $base/bin
$cmd rm -rf "$base/bin.old"