diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2014-04-11 10:19:26 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2014-04-11 10:19:26 +0000 |
commit | 25e36d379e73d64d6316fae9dc841c5ef28980f1 (patch) | |
tree | 1862f72fc887cf31892ac959898f1e9d3ca88f2c /target/linux/x86_64 | |
parent | ced772a05558f3fed732231b023b70e20ac20109 (diff) | |
download | mtk-20170518-25e36d379e73d64d6316fae9dc841c5ef28980f1.zip mtk-20170518-25e36d379e73d64d6316fae9dc841c5ef28980f1.tar.gz mtk-20170518-25e36d379e73d64d6316fae9dc841c5ef28980f1.tar.bz2 |
generate esxi compatible vmdks, too
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 40452
Diffstat (limited to 'target/linux/x86_64')
-rw-r--r-- | target/linux/x86_64/image/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/x86_64/image/Makefile b/target/linux/x86_64/image/Makefile index 1514956..c2f1ce9 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 |