generate esxi compatible vmdks, too

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40452
This commit is contained in:
Imre Kaloz 2014-04-11 10:19:26 +00:00
parent ced772a055
commit 25e36d379e

View file

@ -148,6 +148,10 @@ ifneq ($(CONFIG_VMDK_IMAGES),)
qemu-img convert -f raw -O vmdk -o adapter_type=lsilogic \
$(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img \
$(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).vmdk
rm $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1)-esxi.vmdk || true
qemu-img convert -f raw -O vmdk -o adapter_type=lsilogic,subformat=monolithicFlat \
$(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img \
$(BIN_DIR)/$(IMG_PREFIX)-combined-$(1)-esxi.vmdk
endif
endef
endif