-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
As in summary, when no meta-repo exist, running ego sync will fail. It able to create meta-repo directory with portage permissions but then fails with "Meta-repo exists but does not appear to be a git repository. Can't sync"
test case:
w520 git # rm -rf meta-repo w520 git # ego sync Syncing meta-repo ERROR: Meta-repo exists but does not appear to be a git repository. Can't sync. w520 git # ls -l total 60 drwxr-xr-x 22 oleg oleg 4096 Aug 21 22:53 dest-trees drwxr-xr-x 31 root root 4096 Sep 27 07:40 flora drwxr-xr-x 5 root root 161 Aug 5 14:22 funtoo-overlay drwxr-xr-x 173 root root 8192 Mar 25 2017 funtoo-staging drwxr-xr-x 173 root root 8192 Mar 27 2017 funtoo-staging-2017 drwxr-xr-x 10 root root 4096 Aug 9 17:09 genkernel drwxr-xr-x 172 root root 8192 Aug 24 13:20 gentoo drwxr-xr-x 9 root root 4096 Oct 19 11:52 iio-sensor-proxy drwxr-xr-x 4 root root 244 Jun 11 04:24 membrane drwxr-xr-x 5 root root 140 Oct 13 17:19 merge-scripts drwxr-xr-x 2 portage portage 6 Nov 19 08:30 meta-repo drwxr-xr-x 15 root root 219 Nov 16 20:23 oleg-overlay drwxr-xr-x 11 root root 4096 Sep 9 10:29 portage drwxr-xr-x 10 oleg oleg 150 Oct 12 15:06 source-trees drwxr-xr-x 7 root root 86 May 27 05:46 vmware drwxr-xr-x 21 root root 4096 Nov 10 20:06 xorg-kit w520 git #
this is perhaps associated with following change:
https://src.funtoo.org/ego/revision/ccaacd5d6c84851ff85089a77d9950f897fcdd93