- Fix keytable entry: we need to specify us, not us.map.gz. OBS-URL: https://build.opensuse.org/request/show/1166586 OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph-image?expand=0&rev=41
140 lines
4.2 KiB
XML
140 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
|
|
|
|
<xsl:template match="/">
|
|
|
|
<xsl:comment> OBS-ExclusiveArch: aarch64 x86_64 </xsl:comment>
|
|
<xsl:comment>
|
|
This file is generated,
|
|
don't manually modify this file,
|
|
please check README
|
|
</xsl:comment>
|
|
|
|
<image schemaversion="6.9" name="ceph-image" xmlns:suse_label_helper="com.suse.label_helper">
|
|
|
|
<description type="system">
|
|
<author>SUSE LLC</author>
|
|
<contact>https://bugs.opensuse.org</contact>
|
|
<specification>Ceph base container image</specification>
|
|
</description>
|
|
|
|
<preferences>
|
|
<type image="docker">
|
|
<xsl:attribute name="derived_from">
|
|
<xsl:value-of select="param/image" />
|
|
</xsl:attribute>
|
|
<containerconfig
|
|
tag="latest"
|
|
maintainer="SUSE LLC (https://bugs.opensuse.org)">
|
|
<xsl:attribute name="additionaltags"><xsl:value-of select="param/tags" />,%PKG_VERSION%,%PKG_VERSION%.%RELEASE%</xsl:attribute>
|
|
<xsl:attribute name="name">
|
|
<xsl:value-of select="param/name" />
|
|
</xsl:attribute>
|
|
|
|
<subcommand execute="/bin/bash">
|
|
<argument name="--login"/>
|
|
</subcommand>
|
|
<environment>
|
|
<env name="PATH" value="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin"/>
|
|
</environment>
|
|
|
|
<labels>
|
|
|
|
<suse_label_helper:add_prefix>
|
|
<xsl:attribute name="prefix">
|
|
<xsl:value-of select="param/prefix" />
|
|
</xsl:attribute>
|
|
|
|
<label name="org.opencontainers.image.title">
|
|
<xsl:attribute name="value">
|
|
<xsl:value-of select="param/title" />
|
|
</xsl:attribute>
|
|
</label>
|
|
|
|
<label name="org.opencontainers.image.description" value="Ceph container image"/>
|
|
<label name="org.opencontainers.image.version" value="%PKG_VERSION%.%RELEASE%"/>
|
|
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
|
|
<label name="org.opencontainers.image.vendor" value="SUSE LLC"/>
|
|
|
|
<label name="org.opencontainers.image.url">
|
|
<xsl:attribute name="value">
|
|
<xsl:value-of select="param/url" />
|
|
</xsl:attribute>
|
|
</label>
|
|
|
|
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
|
|
|
|
<label name="org.opensuse.reference">
|
|
<xsl:attribute name="value">
|
|
<xsl:value-of select="param/reference" />
|
|
</xsl:attribute>
|
|
</label>
|
|
|
|
</suse_label_helper:add_prefix>
|
|
|
|
<label name="io.ceph.version" value="%PKG_VERSION%"/>
|
|
<label name="ceph" value="True"/>
|
|
|
|
<xsl:for-each select="param/labels/label">
|
|
<label>
|
|
<xsl:attribute name="name">
|
|
<xsl:value-of select="name" />
|
|
</xsl:attribute>
|
|
<xsl:attribute name="value">
|
|
<xsl:value-of select="value" />
|
|
</xsl:attribute>
|
|
</label>
|
|
</xsl:for-each>
|
|
|
|
</labels>
|
|
|
|
<history author="SUSE LLC">Install ceph binaries</history>
|
|
</containerconfig>
|
|
</type>
|
|
<version>1.0.0</version>
|
|
<packagemanager>zypper</packagemanager>
|
|
<rpm-check-signatures>false</rpm-check-signatures>
|
|
<rpm-excludedocs>true</rpm-excludedocs>
|
|
<locale>en_US</locale>
|
|
<keytable>us</keytable>
|
|
</preferences>
|
|
|
|
<repository type='rpm-md'>
|
|
<source path='obsrepositories:/'/>
|
|
</repository>
|
|
|
|
<packages type="image">
|
|
|
|
<namedCollection name="ceph_base"/>
|
|
|
|
<xsl:for-each select="param/packages_image/package">
|
|
<package>
|
|
<xsl:attribute name="name">
|
|
<xsl:value-of select="name" />
|
|
</xsl:attribute>
|
|
</package>
|
|
</xsl:for-each>
|
|
|
|
</packages>
|
|
|
|
<packages type='bootstrap'>
|
|
<package name='filesystem'/>
|
|
<package name='glibc-locale-base'/>
|
|
|
|
<xsl:for-each select="param/packages_boot/package">
|
|
<package>
|
|
<xsl:attribute name="name">
|
|
<xsl:value-of select="name" />
|
|
</xsl:attribute>
|
|
</package>
|
|
</xsl:for-each>
|
|
|
|
</packages>
|
|
|
|
</image>
|
|
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|