12
0
2020-09-11 10:31:44 +00:00
committed by Git OBS Bridge
commit 924e3a36aa
11 changed files with 271 additions and 0 deletions

12
pre-checkin.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
#
# Generate the kiwi file for the given target.
image="csi-provisioner-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"