Update source updater to support fetchgit; add aufs2 using that method. Unfortunately, AUFS2 seems to require some strict conditions on kernel options and version..

svn path=/nixpkgs/trunk/; revision=16983
This commit is contained in:
Michael Raskin
2009-09-08 09:35:21 +00:00
parent 9121ae7fb8
commit edd56d707a
8 changed files with 132 additions and 39 deletions

View File

@@ -42,6 +42,8 @@ if test -z "$finalPath"; then
echo $tmpFile
git checkout $rev
fi
# Allow doing additional processing before .git removal
eval "$NIX_PREFETCH_GIT_CHECKOUT_HOOK"
find $tmpFile -name .git\* | xargs rm -rf
# Compute the hash.