- Modify history to document changes in layer (SES-922) - Add distribution/flavor tag to image (SES-636) - Generate container history (SES-922) - Add release number to version labels (SES-1034) - Tech preview release for containers (bsc#1145433) - Adding build arch to kiwi file - Add _constraints to avoid 'no space left' error - Add LICENSE file - base on pattern instead of independent packages - adding xml template to generalize the kiwi creation for the different platrorms - correct service to get full Ceph version for the unique tag - Initial version OBS-URL: https://build.opensuse.org/request/show/748177 OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph-image?expand=0&rev=21
13 lines
259 B
Bash
13 lines
259 B
Bash
#!/bin/bash
|
|
#
|
|
# Generate the kiwi file for the given target.
|
|
|
|
image="ceph-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"
|
|
|