bongseo Posted February 13, 2018 Report Share Posted February 13, 2018 I'was going to use libressl overlay and I found /etc/portage/repos.conf links to /var/git/meta-repo/repos.conf which is mounted read-only. What is the recommended way to use overlay on a funtoo container ? Link to comment Share on other sites More sharing options...
palica Posted February 13, 2018 Report Share Posted February 13, 2018 you will have to delete /etc/portage/repos.conf symlink and create a normal directory and populate it as shown below ... /etc/portage # ❯❯❯ ls -alF repos.conf total 108 drwxr-xr-x 1 root root 696 Feb 7 21:17 ./ drwxr-xr-x 1 root root 504 Jan 30 03:12 ../ -rw-r--r-- 1 root root 90 Feb 13 19:39 ego-core-hw-kit -rw-r--r-- 1 root root 116 Feb 13 19:39 ego-core-kit -rw-r--r-- 1 root root 90 Feb 13 19:39 ego-desktop-kit -rw-r--r-- 1 root root 82 Feb 13 19:39 ego-dev-kit -rw-r--r-- 1 root root 90 Feb 13 19:39 ego-editors-kit -rw-r--r-- 1 root root 86 Feb 13 19:39 ego-games-kit -rw-r--r-- 1 root root 86 Feb 13 19:39 ego-gnome-kit -rw-r--r-- 1 root root 90 Feb 13 19:39 ego-haskell-kit -rw-r--r-- 1 root root 84 Feb 13 19:39 ego-java-kit -rw-r--r-- 1 root root 82 Feb 13 19:39 ego-kde-kit -rw-r--r-- 1 root root 84 Feb 13 19:39 ego-lang-kit -rw-r--r-- 1 root root 98 Feb 13 19:39 ego-lisp-scheme-kit -rw-r--r-- 1 root root 86 Feb 13 19:39 ego-media-kit -rw-r--r-- 1 root root 90 Feb 13 19:39 ego-ml-lang-kit -rw-r--r-- 1 root root 82 Feb 13 19:39 ego-net-kit -rw-r--r-- 1 root root 81 Feb 13 19:39 ego-nokit -rw-r--r-- 1 root root 84 Feb 13 19:39 ego-perl-kit -rw-r--r-- 1 root root 82 Feb 13 19:39 ego-php-kit -rw-r--r-- 1 root root 88 Feb 13 19:39 ego-python-kit -rw-r--r-- 1 root root 84 Feb 13 19:39 ego-ruby-kit -rw-r--r-- 1 root root 90 Feb 13 19:39 ego-science-kit -rw-r--r-- 1 root root 92 Feb 13 19:39 ego-security-kit -rw-r--r-- 1 root root 84 Feb 13 19:39 ego-text-kit -rw-r--r-- 1 root root 84 Feb 13 19:39 ego-xfce-kit -rw-r--r-- 1 root root 84 Feb 13 19:39 ego-xorg-kit -rw-r--r-- 1 root root 200 Feb 7 21:17 layman.conf copy or link the files from /var/git/meta-repo/repos.conf to /etc/portage/repos.conf as shown above here is a oneliner to link all files from meta-repo to portage cd /var/git/meta-repo/repos.conf; for i in *;do ln -s $i /etc/portage/repos.conf/ego-$i;done create your overlay file such as layman.conf or local.conf or whatever and put your overlay settings there. Link to comment Share on other sites More sharing options...
bongseo Posted February 17, 2018 Author Report Share Posted February 17, 2018 @palica, You're quite right. I can use pre-existing /var/git/meta-repo in many ways. The oneliner should be cd /var/git/meta-repo/repos.conf; for i in *;do ln -s /var/git/meta-repo/repos.conf/$i /etc/portage/repos.conf/ego-$i;done By the way, what meaning does the 'ego-' prefix have? And I have to check meta-repo's change periodically and update links and so on, don't I? Thank you :) Link to comment Share on other sites More sharing options...
palica Posted February 17, 2018 Report Share Posted February 17, 2018 I think ego- prefix was added, because these links will be auto-update when ego sync is run. Yes, you should check it the meta-repo didn't change. thanks for fixing the oneliner :) Link to comment Share on other sites More sharing options...
Recommended Posts