Working of SMT Importer

The basis for SMT is the content label. A content label is a grouping of one or more packages associated with a product repository. A content label is just another name for a channel – content label, which describes a repository sitting on a content deliverer (SMT in this case), while a channel is the official descriptor (based on a remote official portal). Whatever the case, channel-based policies will be created, one for each content label chosen. A patch released by SMT is called as an erratum in SA and a collection of these patches is called errata in SA.

Note If you import a label into SA that is associated with Pool channel, no erratum or errata will be imported. This is because Pool channels do not have patches associated with them. If you import a label associated with Updates channel, SA creates a channel software policy containing all the packages from errata.

Content labels

When importing from SMT, smt_import uses content labels to identify the CDN content to import. The format of the content label is the following:

<entitlement_content_name>:<distro_target>

where:

  • <entitlement_content_name> is the repository's name as specified in the repoindex.xml
  • <distro_target> is the attribute for <entitlement_content_name> present under the same tag of the repoindex.xml file.

To determine the label of the CDN content to import, run the following command: smt_import --show_labels