Jump to content
mauricev

overlays again

Recommended Posts

I setup a new overlay from scratch for virtual mysql, but emerge apparently doesn't see it

/opt/my-overlay # ls
metadata  mysql  profiles
/opt/my-overlay/metadata # ls
layout.conf
more layout.conf 
masters = core-kit
/opt/my-overlay/profiles # ls
repo_name
base-einstein /opt/my-overlay/profiles # more repo_name 
my-overlay
/etc/portage/repos.conf # more my-overlay.conf 
[my-overlay]
location = /opt/my-overlay
auto-sync = no
priority = 10

One thing is this complaint:

ebuild /opt/my-overlay/mysql/mysql-8.0.16.ebuild digest
Appending /opt to PORTDIR_OVERLAY...

!!! 'my-overlay/mysql' has a category that is not listed in /etc/portage/categories
>>> Creating Manifest for /opt/my-overlay/mysql
base-einstein /etc/portage # more categories 
virtual

Are virtual ebuilds a category that requires special treatment?

Share this post


Link to post
Share on other sites

@mauricev

The ebuild and files directory if it exists must be inside a directory named after program, inside a directory with the category name.

Create the proper directory path for virtual/mysql and dev-db/mysql ebuilds in /opt/my-overlay:

mkdir -p /opt/my-overlay/{dev-db,virtual}/mysql

Reference: https://wiki.gentoo.org/wiki/Custom_repository

 

 

 

 

Share this post


Link to post
Share on other sites

I actually have one overlay working and one not.

/opt/my-overlay/net-fs/s3ql is recognized and let's me emerge net-fs/s3ql-3.3::my-overlay

/opt/my-overlay/dev-fs/s3fs isn't recognized: net-fs/s3fs-1.83::net-kit

 

Share this post


Link to post
Share on other sites
On 9/23/2019 at 8:38 AM, mauricev said:

 


/opt/my-overlay/net-fs/s3ql is recognized and let's me emerge net-fs/s3ql-3.3::my-overlay

 

Did you get s3ql v3.3 working?  Could you share your ebuild?

Share this post


Link to post
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...