Personal tools
     DOCUMENTATION

Conary:Group Info Recipe Template

From rPath Wiki

Jump to: navigation, search
Conary --> Packaging --> Recipe --> Info Recipe --> Group Info Recipe Template


Conary packagers can write a info package recipe that inherits from GroupInfoRecipe to create a Linux system group required to run a particular application installed by other Conary packages.

Use the following template to start the recipe, and make the changes suggested:

class info_groupname(GroupInfoRecipe):
    name = 'info-groupname'
    version = '1'
 
    def setup(r):
        r.Group('groupname', 999)

Suggested changes:

  • Change the class name to a CamelCase representation of the application name
  • Change the value for name to the application name as packaged
  • Change the value for version to the application version
  • Use r.Group to create the group and define the group parameters, such as group name and group identification number.


From here you may wish to:

Participate in the rPath Community | Contribute to rPath Wiki | Report an issue to rPath