Hi Andreas,
the difference between running
git clone --branch master git://gitserver/fai.git
/var/lib/fai/config
from a normal shell and the script included with FAI is that this script
uses 2 git related environment variables:
export GIT_WORK_TREE="$FAI"
export GIT_DIR="$FAI/.git"
So to reproduce the error in a shell, set $FAI to some directory and
then copy/paste the two export statements before cloning.
Then run
git clone --branch master git://gitserver/fai.git $FAI
So imo when setting the git environment variables, you would need to use
git clone --branch master git://gitserver/fai.git $GIT_DIR
instead.
Cheers,
Bastian
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org