Go to file
2022-12-08 15:50:13 +00:00
.gitattributes Accepting request 663685 from SUSE:SLE-15:Update 2019-01-09 10:39:22 +00:00
.gitignore Accepting request 663685 from SUSE:SLE-15:Update 2019-01-09 10:39:22 +00:00
kiwi_label_helper Accepting request 819504 from home:favogt:chrootservices 2020-07-08 15:10:36 +00:00
kiwi_label_helper.service Accepting request 663685 from SUSE:SLE-15:Update 2019-01-09 10:39:22 +00:00
label_helper.xsl Accepting request 663685 from SUSE:SLE-15:Update 2019-01-09 10:39:22 +00:00
obs-service-kiwi_label_helper.changes Accepting request 1040878 from home:dimstar:Factory 2022-12-07 08:57:44 +00:00
obs-service-kiwi_label_helper.spec Accepting request 1040878 from home:dimstar:Factory 2022-12-07 08:57:44 +00:00
README Accepting request 663685 from SUSE:SLE-15:Update 2019-01-09 10:39:22 +00:00

obs-service-kiwi_label_helper
=============================

This service can be enabled to run during buildtime, when it will edit the
kiwi image descriptions to expand the <suse_label_helper:add_prefix/\>
element.

Example:

```
<image [...] xmlns:suse_label_helper="com.suse.label_helper">
[...]
       <containerconfig [...]>
         <labels>
          <suse_label_helper:add_prefix prefix="com.suse.sle.base">
            <label name="org.opencontainers.title" value="SUSE Linux Enterprise Server 12 SP3 Base Container"/>
          </suse_label_helper:add_prefix>
```

expands to

```
<image [...] xmlns:suse_label_helper="com.suse.label_helper">
[...]
       <containerconfig [...]>
         <labels>
           <label name="org.opencontainers.title" value="SUSE Linux Enterprise Server 12 SP3 Base Container"/>
           <label name="com.suse.sle.base.title" value="SUSE Linux Enterprise Server 12 SP3 Base Container"/>
```