Jump to content

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?

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

 

 

 

 

Link to post
Share on other sites
  • 1 month later...
  • 4 months later...

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...