Difference between revisions of "Custom Profiles"

From Funtoo Linux
Jump to: navigation, search
(Rules to follow)
Line 8: Line 8:
 
== How to do it ==
 
== How to do it ==
 
=== Rules to follow ===
 
=== Rules to follow ===
#For eselect support you will need the new version from funtoo. Currently eselect-1.3.1.1_beta3.
+
#For eselect support you will need the new version from funtoo. Currently >=eselect-1.3.1.1_rc2.
 
#Your overlay must have a profiles directory. It must include a repo_name file with the name of your overlay.  
 
#Your overlay must have a profiles directory. It must include a repo_name file with the name of your overlay.  
 
#Your profiles must be inside of the profiles directory
 
#Your profiles must be inside of the profiles directory
#You need a profiles.desc file inside the profiles directory. See profiles.desc.example in your funtoo portage tree for instructions
+
#You need a profiles.eselect.desc file inside the profiles directory. See profiles.eselect.example in your funtoo portage tree for instructions
 
#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.
 
#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.
# Currently NoMix (see profiles.desc.example) is only supported for profiles in the same tree.
+
# Currently NoMix (see profiles.eselect.example) is only supported for profiles in the same tree.
  
 
=== Example of how to set up ===
 
=== Example of how to set up ===
 
TBC
 
TBC

Revision as of 01:44, 6 September 2012

Currently, this is still BETA and needs more testing.


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