Personal tools
     DOCUMENTATION

Appliance Development:Cooking Packages

From rPath Wiki

Jump to: navigation, search
Image:Rpath-color-16x16-1bitalpha.png  APPLIANCE DEVELOPMENT

This portion of the guide has brought you through creating a recipe and cooking it locally. This allows local installation of your application.

Adding Package Files

In order for the package to be accessible to others, you must cook the package to a repository. Before accomplishing this, you must add the packages needed for building to the repository. Accomplish this with the cvc add command. You will not need to add the changeset with this command:

 
user@localhost> cvc add balsa.recipe

Checking In Package Files

When the add has been accomplished, check the package into the repository:

 
user@localhost> cvc ci --message "initial import of balsa components"
The following commits will be performed:
 
        balsa:source=/project.rpath.org@label:branch-1/2.3.17-1
 
continue with commit? [Y/n] 
user@localhost>

The --message option above will display in the repository as a commit message. Not using this message flag with the cvc ci command will result in Conary opening your default text editor for a commit message to be added.

Cooking into the Repository

The final cook into the repository is accomplished not by cooking the recipe, but by cooking the package name:

 
user@localhost> cvc cook balsa

Upon completion of the package cook into the repository the message "Changeset committed to the repository" will be displayed. The package balsa is now cooked into the repository and is available for installation.


<< PREVIOUS: Testing Packages with Changesets NEXT: Appliance Development main page >>