5417053b5e
OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/csi-snapshotter-image?expand=0&rev=1
13 lines
270 B
Bash
13 lines
270 B
Bash
#!/bin/bash
|
|
#
|
|
# Generate the kiwi file for the given target.
|
|
|
|
image="csi-snapshotter-image"
|
|
target=${1:-tumbleweed}
|
|
if [ ! -e ${target}.xml ]; then
|
|
echo "Unknown target: ${target}.xml must exist!"
|
|
exit 1
|
|
fi
|
|
xsltproc "${image}.xsl" "${target}.xml" > "${image}.kiwi"
|
|
|