vmx)
pushd $BUILD_ROOT/$TOPDIR/KIWI-vmx > /dev/null
echo "compressing images... "
- if [ -e $imagename.$imagearch-$imageversion.ovf ] ; then
- tar cvzfS $BUILD_ROOT/$TOPDIR/KIWI/$imagename.$imagearch-$imageversion$buildnum-ovf.tar.gz \
- $imagename.$imagearch-$imageversion.ovf \
- $imagename.$imagearch-$imageversion-disk*.vmdk
- elif [ -e $imagename.$imagearch-$imageversion.xenconfig ] ; then
+ if [ -e $imagename.$imagearch-$imageversion.xenconfig ] ; then
tar cvzfS $BUILD_ROOT/$TOPDIR/KIWI/$imagename.$imagearch-$imageversion$buildnum-xenvmx.tar.gz \
$imagename.$imagearch-$imageversion.raw \
$imagename.$imagearch-$imageversion.xenconfig
tar cvzfS $BUILD_ROOT/$TOPDIR/KIWI/$imagename.$imagearch-$imageversion$buildnum-vmx.tar.gz \
$imagename.$imagearch-$imageversion.vmx \
$imagename.$imagearch-$imageversion.vmdk
+ if [ -e $imagename.$imagearch-$imageversion.ovf ] ; then
+ tar cvzfS $BUILD_ROOT/$TOPDIR/KIWI/$imagename.$imagearch-$imageversion$buildnum-ovf.tar.gz \
+ $imagename.$imagearch-$imageversion.ovf \
+ $imagename.$imagearch-$imageversion-disk*.vmdk
+ fi
fi
popd > /dev/null
;;