Fabian Vogt
5aa250a785
- Do not ever use "%setup -n .": rpm 4.18 tries to be cleaner and remove stuff it extraced, which would lead to 'rm -rf .', which rm does not like. Use "%setup -c" instead, which creates the appropriate %{name}-%{version} directory expected. OBS-URL: https://build.opensuse.org/request/show/1040878 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-kiwi_label_helper?expand=0&rev=8 |
||
---|---|---|
.gitattributes | ||
.gitignore | ||
kiwi_label_helper | ||
kiwi_label_helper.service | ||
label_helper.xsl | ||
obs-service-kiwi_label_helper.changes | ||
obs-service-kiwi_label_helper.spec | ||
README |
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"/> ```