Personal tools
     DOCUMENTATION

Conary:Recipe Templates

From rPath Wiki

Jump to: navigation, search
Conary --> Packaging --> Recipe --> Recipe Templates

The following templates reflect the most-commonly needed types of recipes. rPath encourages packagers to download and use these templates as a starting point for a new Conary recipe.

NOTE: See cvc Recipe Template if you are looking for information on the cvc command recipe template functionality.

Package Recipe Templates

Packages are managed units of software in Conary that represent a single application. Conary recipes cover three types of packages: source packages with source code provided, binary packages in which only binary files are provided, and derived packages for making small modifications to a previously assembled package.

BINARY FILES PROVIDED: Use the Recipe Template for Binary Files when only an installable binary file is provided. The Packaging Binaries page provides additional reference to aid with developing the package.

SOURCE CODE PROVIDED: Use one of the following templates that corresponds to the source code used in the package:

CUSTOM KERNELS: See Custom Kernel Packages for instructions for checking out an existing kernel:source and modifying the packaged files and recipe as desired.

DERIVED PACKAGES: Derived packages allow packagers to make a relatively small modification to an original package recipe without recompiling the entire original source for the package. Derived package recipes only include those parts of the original recipe in which modifications are made. See this page for instructions and reference for derived packages: Derived Packages

REDIRECT PACKAGES: Redirect packages allow packagers to change locations or names of packages and provide a redirect to the updated name or location of that package: Redirect Packages

Group Recipe Template

Groups can be used to assemble one or more packages or groups or to create sub-groups. The result is a single installable unit which is managed together under a single group version. Use the following template to create group recipes:
Group recipe template

Info Recipe Templates

Info recipes are used to configure users and groups for a Conary-based system that are used for specific purposes by the installed applications. Use the following templates for user and group info recipes:


From here you may wish to:

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