v2v: create an empty windows.vmdk in case of disabled appliance

In case the appliance is disabled at configure, then all the phony
guests will not be built during the 'make check' time.  Since the tests
already handle an empty windows.vmdk fine (in case ntfs-3g is not
available), then just create it empty in this case.

Reported by: Martin Kletzander.
This commit is contained in:
Pino Toscano
2018-11-19 19:30:41 +01:00
parent d1c5c5a7c1
commit 545147f9be

View File

@@ -479,6 +479,7 @@ endif ENABLE_APPLIANCE
# The VMDK file is used for some -i ova tests.
check_DATA = windows.vmdk
if ENABLE_APPLIANCE
windows.vmdk: ../test-data/phony-guests/windows.img
rm -f $@ $@-t
if [ -s $< ]; then \
@@ -487,6 +488,10 @@ windows.vmdk: ../test-data/phony-guests/windows.img
else \
touch $@; \
fi
else
windows.vmdk:
touch $@
endif
DISTCLEANFILES += \
windows.vmdk