Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

Using layman on a funtoo container


bongseo

Recommended Posts

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

@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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...