Talk:Profile (Portage)

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.

Profile diagram

Talk status
This discussion is done as of 2018-12-23.

The ASCII-art representation of profile building/'stacking' is very hard to follow .. does anyone have any ideas for a better representation?! -- veremit (talk) 21:19, 4 May 2018 (UTC)

Colorization ? --Cronolio (talk) 07:08, 5 May 2018 (UTC)
The diagram gets complicated because it tries to simultaneously show filesystem layout and settings inheritance. I simplified it, feel free to improve it or reopen the discussion. — GuillermoDH (talk) 19:04, 23 December 2018 (UTC)

Combining multiple profiles from the Gentoo ebuild repository

Talk status
This discussion is done as of 2023-03-01.

The syntax given for a custom profile parent file, gentoo:path/in/profiles, is not accepted by (at least up to) sys-devel/portage-3.0.43-r1:

!!! Unable to parse profile: '/etc/make.profile'
!!! ParseError: Parent '/var/db/repos/jmbreuer/profiles/default/linux/x86/17.0/desktop/systemd/gentoo:default/linux/x86/17.0/desktop' not found: '/var/db/repos/jmbreuer/profiles/default/linux/x86/17.0/desktop/systemd/parent'

As a workaround, I've used /usr/portage/profiles/... for now, but that's obviously not portable with respect to $PORTDIR. What's the proper way to reference profiles in one repository from another one at this time?

--Jmbreuer (talk) 12:37, 1 March 2023 (UTC)

I'm not sure, but a place to ask could be #gentoo (webchat) - see support article. If you find out, feel free to edit the page with the correction ;). Thanks for the heads up. -- Ris (talk) 12:43, 1 March 2023 (UTC)
Thank you! While waiting for someone on #gentoo (webchat) to notice, I started to dig around in the code. Turns out I was missing the
FILE metadata/layout.conf
profile-formats = portage-2
statement in my custom repo... following all of the docs, it actually works. --Jmbreuer (talk) 13:13, 1 March 2023 (UTC)