Below another patch, needed to allow an older version of qemu-img to be used.  
(Mac OS X ports collection still installs qemu-img version 0.10.6 instead of 
the 0.11 that seems to be available for Linux.)  With the previous patch and 
this one, I get a clean compile and build of VMware Fusion image, of the latest 
OpenWRT from GIT, under Mac OS X 10.6.2.

--Pekka Nikander

--- target/linux/x86/image/Makefile.orig        2009-12-07 09:29:16.000000000 
+0200
+++ target/linux/x86/image/Makefile     2009-12-12 16:03:26.000000000 +0200
@@ -83,8 +83,8 @@
     # left here because the image builder doesnt need these
     ifeq ($(1),ext2)
                rm $(BIN_DIR)/openwrt-$(BOARD)-ext2.vmdk || true
-               qemu-img convert -f raw $(BIN_DIR)/openwrt-$(BOARD)-ext2.image \
-                       -O vmdk $(BIN_DIR)/openwrt-$(BOARD)-ext2.vmdk
+               qemu-img convert -f raw -O vmdk 
$(BIN_DIR)/openwrt-$(BOARD)-ext2.image \
+                       $(BIN_DIR)/openwrt-$(BOARD)-ext2.vmdk
     endif
   endef
 endif

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to