From 81856c3175fb011f4c9559a5be55c51ec6ad71cf Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 15 Jan 2012 13:26:17 -0400 Subject: add a configure check for StatFS This way, the build log will indicate whether StatFS can be relied on. I've tested all the failing architectures now, and on all of them, the StatFS code now returns Nothing, rather than Just nonsense. Also, if annex.diskreserve is set on a platform where StatFS is not working, git-annex will complain. Also, the Makefile was missing the sources target used when building with cabal. --- debian/changelog | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index b8b0d7327..2e9468d8c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,9 @@ git-annex (3.20120114) UNRELEASED; urgency=low - * Add a sanity check for bad StatFS results. + * Add a sanity check for bad StatFS results. On architectures + where StatFS does not currently work (s390, mips, powerpc, sparc), + this disables the diskreserve checking code, and attempting to + configure an annex.diskreserve will result in an error. -- Joey Hess Sat, 14 Jan 2012 17:12:04 -0400 -- cgit v1.2.3