Android: Avoid trying to use Android's own ionice, which does not allow specifying a command to run. Fixes transferring files to/from android and probably a few other things.

This commit is contained in:
Joey Hess 2013-12-29 17:32:08 -04:00
parent e3a71c006a
commit d6d5b0a6d8
3 changed files with 9 additions and 0 deletions

View file

@ -52,7 +52,11 @@ getBatchCommandMaker = do
#ifndef mingw32_HOST_OS
nicers <- filterM (inPath . fst)
[ ("nice", [])
#ifndef __ANDROID__
-- Android's ionice does not allow specifying a command,
-- so don't use it.
, ("ionice", ["-c3"])
#else
, ("nocache", [])
]
return $ \(command, params) ->

3
debian/changelog vendored
View file

@ -15,6 +15,9 @@ git-annex (5.20131222) UNRELEASED; urgency=medium
rather than v4, and so the automatic direct mode upgrade to v5 was not
done.
* importfeed: Support youtube playlists.
* Android: Avoid trying to use Android's own ionice, which does not
allow specifying a command to run. Fixes transferring files to/from
android and probably a few other things.
-- Joey Hess <joeyh@debian.org> Tue, 24 Dec 2013 13:54:32 -0400

View file

@ -80,3 +80,5 @@ Everything up-to-date
Invalid pid specified
~
]]
> [[fixed|done]] --[[Joey]]