mauricev Posted August 13, 2019 Report Share Posted August 13, 2019 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 comment Share on other sites More sharing options...
mauricev Posted August 13, 2019 Author Report Share Posted August 13, 2019 That does not work. I also tried with just an equal sign. Furthermore , according to https://wiki.gentoo.org/wiki//etc/portage/categories, I just need virtual/mysql and dev-db/mysql, but that doesn't work either. I still get !!! 'my-overlay/mysql' has a category that is not listed in /etc/portage/categories Link to comment Share on other sites More sharing options...
cardinal Posted August 13, 2019 Report Share Posted August 13, 2019 @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 comment Share on other sites More sharing options...
mauricev Posted August 14, 2019 Author Report Share Posted August 14, 2019 Ah, thanks Link to comment Share on other sites More sharing options...
mauricev Posted September 23, 2019 Author Report Share Posted September 23, 2019 I just tried this with s3fs and it built the manifest without complaining as it was doing earlier, but portage doesn't see the overlay at all. Link to comment Share on other sites More sharing options...
mauricev Posted September 23, 2019 Author Report Share Posted September 23, 2019 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 Link to comment Share on other sites More sharing options...
cardinal Posted September 23, 2019 Report Share Posted September 23, 2019 @mauricev 1 hour ago, mauricev said: /opt/my-overlay/dev-fs/s3fs isn't recognized: net-fs/s3fs-1.83::net-kit Change category sub folder to the proper name: cd /opt/my-overlay mv dev-fs net-fs Link to comment Share on other sites More sharing options...
dkg Posted January 31, 2020 Report Share Posted January 31, 2020 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? Link to comment Share on other sites More sharing options...
Recommended Posts