Personal tools
     DOCUMENTATION

rBuilder Online:rPath Appliance Platform

From rPath Wiki

Jump to: navigation, search
rBuilder Online --> rPath Appliance Platform

The rPath Appliance Platform is a basis on which appliance developers can bring in just enough operating system (JeOS) needed for an appliance. When developing appliances with rMake and rBuilder, include the rPath Appliance Platform in an appliance. The appliance platform can be used from rPath Linux (for free) or from rLS (by entitlement to customers, see rBuilder:Linux Service for more information).

To use the rPath Appliance Platform from rPath Linux: Load the superclass group-appliance from conary.rpath.com@rpl:1 and add the appliance platform in the recipe with addAppliancePlatform. The rPath Linux label conary.path.com@rpl:1 must also be in the setSearchPath. The following is an example showing these features:

loadSuperClass('group-appliance=conary.rpath.com@rpl:1')
class GroupExample(ApplianceGroupRecipe):
    name = 'group-example'
    version = '2.0'
 
    def setup(r):
        r.setSearchPath('example.rpath.org@corp:example-2-devel', 
            'raa.rpath.org@rpath:raa-2',
            'conary.rpath.com@rpl:1')
        r.addAppliancePlatform()

When modifying recipes based on rPath Linux that are not already using the rPath Appliance Platform, rework the recipe to match the description in the previous example. Also, be sure to do the following:

  1. Remove any previous references to conary.rpath.com@rpl:1 and group-os=conary.rpath.com@rpl:1 in the search path.
  2. Remove any previous r.add or r.addCopy for group-core.