Product Management/Code11/installed

From openSUSE


Contents

Installed products

A product is considered installed if it has a corresponding .prod file below /etc/products.d

It is installed by a package, usually the -release package.

See Code11 product management for the rationale.

(Remark: The initial proposal was to use an .ini-style file. However this format doesn't really support translations or multi-line values. Doing it with xml and compatible with the build service product definition is much easier.)

Identifying the 'base' product

The first installed product is called the 'base' product. All later installed products are 'addon' products.

In order to identify the base product, a symlink named baseproduct below /etc/products.d will link to the designated base product. YaST will ensure creation of this symlink. If 3rd party tools are used for installation, they must ensure existance of the symlink.


Format of the .prod file

The format is a subset of the build service product definition. Only the <product><general> section will be used.

Additionally, a <distribution> tag will be added inside <general>. <distribution> will contain a flavor and a target attribute.

Example

Example here