bitbake: fetch2/git: Stop git from triggering fsync() calls
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Apr 2014 10:20:04 +0000 (11:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Apr 2014 00:27:55 +0000 (01:27 +0100)
commitf53980cec16190fc46a8c673192b6b1eeb3f6a39
treec84052020d61c909fa8091a6ef72392364c0139d
parent8efd369c2fd602556fe2037c55fbcce4caf4c39f
bitbake: fetch2/git: Stop git from triggering fsync() calls

We only ever clone other repositories, if there were a problem such as power
failure, we'd blow away data and rebuild. As such we don't need fsync(). With
filesystems like ext*, the fsync pushes nearly all the data out to disk
which impacts all running processes.

We therefore set a configuration parameter to disable the fsync() calls.

Also fixup a case where basecmd wasn't being used for no good reason.

(Bitbake rev: 0a26abaf3a1e34d556c9375068dd17c879568d0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/git.py