Appliance Development:Deployment
From rPath Wiki
In any appliance, include the package distro-release. The distro-release package includes files that provide appliance-specific information such as the name of the appliance.
Previously, the distro-release package also contained some Conary flavor specification files, but those conary-specific files have been moved into a separate package: distro-conary-config. The split makes customization of appliances easier than it has been in the past.
Customization
rBuilder will customize your appliance by including your appliance's name in the file /etc/sysconfig/appliance-name. At first boot, the distro-release init script will store in the file /etc/sysconfig/appliance-group the name of the top-level group that defines your appliance. You will not normally need to modify either the distro-release or distro-conary-config packages. (For further customization, rebuilding the distro-release package is now much simpler than it was previously, before the contents of the current distro-conary-config package were moved.)
The new distro-release init script reads the appliance name from the /etc/sysconfig/appliance-name file (if that file does not exist or is empty, the default is "rPath Linux"), and the Conary group to query for version information from the /etc/sysconfig/appliance-group file (the default is the top-level group, if only one exists, or no version information otherwise). It then appropriately modifies the /etc/issue, /etc/issue.net, and /etc/distro-release files.
The new package distro-conary-config contains the Conary use flags that are specific to the distribution, particularly those that are different in different flavors of the distribution, and is built in multiple different flavors. It is not normally customized for appliances. If you need to customize the distro-release package to enable deeper appliance branding, you no longer need to build multiple flavors.
| Forthcoming content note: This page is currently under heavy development
The content on this page will soon be updated to reflect the change. |
