Go to file
2024-05-03 17:13:57 +02:00
.gitattributes Sync from SUSE:SLFO:Main obs-service-kiwi_label_helper revision 803cb38715f1a15383af372e2496a78c 2024-05-03 17:13:57 +02:00
kiwi_label_helper Sync from SUSE:SLFO:Main obs-service-kiwi_label_helper revision 803cb38715f1a15383af372e2496a78c 2024-05-03 17:13:57 +02:00
kiwi_label_helper.service Sync from SUSE:SLFO:Main obs-service-kiwi_label_helper revision 803cb38715f1a15383af372e2496a78c 2024-05-03 17:13:57 +02:00
label_helper.xsl Sync from SUSE:SLFO:Main obs-service-kiwi_label_helper revision 803cb38715f1a15383af372e2496a78c 2024-05-03 17:13:57 +02:00
obs-service-kiwi_label_helper.changes Sync from SUSE:SLFO:Main obs-service-kiwi_label_helper revision 803cb38715f1a15383af372e2496a78c 2024-05-03 17:13:57 +02:00
obs-service-kiwi_label_helper.spec Sync from SUSE:SLFO:Main obs-service-kiwi_label_helper revision 803cb38715f1a15383af372e2496a78c 2024-05-03 17:13:57 +02:00
README Sync from SUSE:SLFO:Main obs-service-kiwi_label_helper revision 803cb38715f1a15383af372e2496a78c 2024-05-03 17:13:57 +02: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"/>
```