mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user