Jump to content
funtoo forums
Sign in to follow this  
bongseo

Using layman on a funtoo container

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.

 

Share this post


Link to post
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 :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...