Thanks. i didn't ask about repos.conf but about make.profile.
I read the README.rst page carefully and did what it says. Nevertheless, I ran into major troubles after removing /usr/portage.
First, no profile is defined anymore:
me@work# epro list
...
WARNING: No arch defined. Please set.
WARNING: No build defined. Please set.
WARNING: No flavor defined. Please set.
If i make /etc/portage/make.profile a link to /var/git/meta-repo/kits/core-kit/profiles/funtoo/1.0/linux-gnu/ as suggested above, epro gets broken:
me@work# epro arch x86-64bit
Traceback (most recent call last):
File "/usr/bin/epro", line 102, in <module>
EgoModule.run_ego_module(action, econfig, args, VERSION)
File "/usr/share/ego/python/ego/module.py", line 64, in run_ego_module
ego_module(*args)
File "/usr/share/ego/modules/profile.ego", line 299, in __call__
super().__call__(*args)
File "/usr/share/ego/python/ego/module.py", line 49, in __call__
self.handle(**options)
File "/usr/share/ego/modules/profile.ego", line 278, in handle
handler(**options)
File "/usr/share/ego/modules/profile.ego", line 198, in handle_single_profile_actions
current_setting = list(self.tree.get_children(profile_type))[0]
IndexError: list index out of range
Second, tools like qsearch etc. do not work any more:
me@work# qsearch base64
search: open failed: /usr/portage: No such file or directory
Basically, this means that I cannot emerge anymore and my system is broken, for the first time that I'm using funtoo – and it's quite a couple of years!