Custom Profiles

From Funtoo Linux
Revision as of 01:44, 6 September 2012 by 198.228.200.160 (Talk)

Jump to: navigation, search


Want to create your own custom profiles? Thought up a mix-in that's not currently in the Funtoo profiles? Have an overlay with profiles and want to make it easy for people to use them? Well you've come to the right place. This article will show you how to easily add you own profiles. No more ugly hacking of parent files and other nonsense. Once you follow this guide, not only will portage easily recognize your profiles, they will also show up in eselect right along with the ones from the main tree.

How to do it

Rules to follow

  1. For eselect support you will need the new version from funtoo. Currently >=eselect-1.3.1.1_rc2.
  2. Your overlay must have a profiles directory. It must include a repo_name file with the name of your overlay.
  3. Your profiles must be inside of the profiles directory
  4. You need a profiles.eselect.desc file inside the profiles directory. See profiles.eselect.example in your funtoo portage tree for instructions
  5. If your creating profiles of types arch,build,flavor, or mix-ins, your profile must be inside a directory with same name. Ex profiles/my_profile/flavor/new_profile, profiles/my_profile/mix-ins/subdir/profile.
  6. Currently NoMix (see profiles.eselect.example) is only supported for profiles in the same tree.

Example of how to set up

TBC

Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff