From: Imre Kaloz Date: Fri, 11 Apr 2014 10:19:26 +0000 (+0000) Subject: generate esxi compatible vmdks, too X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=25e36d379e73d64d6316fae9dc841c5ef28980f1;p=openwrt%2Fstaging%2Fadrian.git generate esxi compatible vmdks, too Signed-off-by: Imre Kaloz SVN-Revision: 40452 --- diff --git a/target/linux/x86_64/image/Makefile b/target/linux/x86_64/image/Makefile index 1514956046..c2f1ce9309 100644 --- a/target/linux/x86_64/image/Makefile +++ b/target/linux/x86_64/image/Makefile @@ -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