Bug#682067: gitrepo as FAI_CONFIG_SRC fails with fatal: Not a git repository /var/lib/fai/config/.git

2013-07-01 Thread John Paul Adrian Glaubitz
yes, they should. Seems your git repo is configured wrongly. (=as a bare git repo.) So, what is the proper way of setting up the git repository then? The default way of git does not work and it doesn't matter whether I am specifying --bare or not, it never works until I apply the suggested

Bug#682067: gitrepo as FAI_CONFIG_SRC fails with fatal: Not a git repository /var/lib/fai/config/.git

2012-12-21 Thread Bastian Neuburger
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

Bug#682067: gitrepo as FAI_CONFIG_SRC fails with fatal: Not a git repository /var/lib/fai/config/.git

2012-12-17 Thread Andreas Boesen
On 2012-12-17 08:26, Andreas Boesen wrote: Package: fai-client Version: 4.0.3 Sorry. It's 4.0.4. On 2012-11-13 17:30, Holger Levsen wrote: yes, they should. Seems your git repo is configured wrongly. (=as a bare git repo.) Up until now I thought that a bare repository is only created if I

Bug#682067: gitrepo as FAI_CONFIG_SRC fails with fatal: Not a git repository /var/lib/fai/config/.git

2012-12-16 Thread Andreas Boesen
Package: fai-client Version: 4.0.3 fai.conf: FAI=/var/lib/fai/config Hello, I can also confirm this behaviour. I also tested the patch[1] from GitHub. This behaviour/bug(?) also breaks the softupdate. When I first encountered this because installations failed I cloned a clean version of

Bug#682067: gitrepo as FAI_CONFIG_SRC fails with fatal: Not a git repository /var/lib/fai/config/.git

2012-11-14 Thread Bastian Neuburger
Hi, On Donnerstag, 19. Juli 2012, Bastian Neuburger wrote: When I use a git repository as config source for a FAI network install, FAI exits after trying to setup the config space from git. Inside /var/lib/fai there were not only the files I checked into the git repo but also the git control

Bug#682067: gitrepo as FAI_CONFIG_SRC fails with fatal: Not a git repository /var/lib/fai/config/.git

2012-11-13 Thread Holger Levsen
tags 682067 - patch tags 682067 + unreproducible retitle 682067 fai should deal with bare git repos thanks Hi, On Donnerstag, 19. Juli 2012, Bastian Neuburger wrote: When I use a git repository as config source for a FAI network install, FAI exits after trying to setup the config space from

Bug#682067: gitrepo as FAI_CONFIG_SRC fails with fatal: Not a git repository /var/lib/fai/config/.git

2012-07-19 Thread Bastian Neuburger
Package: fai-client Version: 4.0.3 Tags: patch When I use a git repository as config source for a FAI network install, FAI exits after trying to setup the config space from git. Inside /var/lib/fai there were not only the files I checked into the git repo but also the git control files (e.g.