aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86_64/image
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-04-11 10:19:26 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-04-11 10:19:26 +0000
commitd6665ff15caccf89d1b78b1526efba495c3e9d37 (patch)
tree6922d0a01184be7a84e177b0610809aa497a9d5a /target/linux/x86_64/image
parent0ae0a59e5e88b24f297fe8f2adffc62e08d7adda (diff)
downloadupstream-d6665ff15caccf89d1b78b1526efba495c3e9d37.tar.gz
upstream-d6665ff15caccf89d1b78b1526efba495c3e9d37.tar.bz2
upstream-d6665ff15caccf89d1b78b1526efba495c3e9d37.zip
[x86_64]: generate esxi compatible vmdks, too
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40452 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86_64/image')
-rw-r--r--target/linux/x86_64/image/Makefile4
1 files changed, 4 insertions, 0 deletions
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