Personal tools
     DOCUMENTATION

Appliance Development:Development Tools

From rPath Wiki

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

Contents

The development tools needed for building appliances include:

  • The cvc commands used in Conary packaging
  • rMake

Install group-devel

The Conary development tools provide the cvc commands used during packaging activities. These tools can be installed on any Conary-based system. For rPath Linux and Foresight Linux distributions, these tools are provided in group-devel, which can be installed using the following command (root access or sudo required):

#> conary update group-devel

This command should install from the appropriate label for your distribution. If Conary cannot find the group, reference this page for the current labels where group-devel resides and specify the label associated with your distribution.

After the tools are installed, the following cvc commands are available for packagers. These command are used throughout this appliance development guide:

  • cvc newpkg
  • cvc context
  • cvc add
  • cvc cook
  • cvc commit or cvc ci
  • cvc checkout or cvc co
  • cvc shadow
  • cvc clone
  • cvc promote

Install and Start rMake

rMake is used to to build packages and groups in a consistent build environment. rPath recommends using rMake in addition to the cvc commands throughout appliance development. For rPath Linux and Foresight Linux distributions, the rmake package can be installed using the following command (root access or sudo required):

#> conary update rmake

After installation, the rmake service starts each time the system boots. To start the service without rebooting the system, run the following command:

#> service rmake start

After rMake is installed and started, the rmake command and its options are available for use in appliance building. To read about the command and its options, see the rmake manual page (use the command man rmake to view). rMake commands are used throughout this appliance development guide.


<< PREVIOUS: Appliance Development main page NEXT: rBuilder Projects >>