orion: fix image build on non-linux systems
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 21 Jul 2009 02:30:46 +0000 (02:30 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 21 Jul 2009 02:30:46 +0000 (02:30 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16938 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/orion/image/Makefile

index 66edc04..21d01a1 100644 (file)
@@ -57,7 +57,7 @@ define Image/Build/Freecom
        $(CP) $(KDIR)/dt2-uImage $(TARGET_DIR)/boot/uImage
        rm -rf $(TARGET_DIR)/{var,jffs,rom}
        $(INSTALL_DIR) $(TARGET_DIR)/var
        $(CP) $(KDIR)/dt2-uImage $(TARGET_DIR)/boot/uImage
        rm -rf $(TARGET_DIR)/{var,jffs,rom}
        $(INSTALL_DIR) $(TARGET_DIR)/var
-       $(TAR) cfj $(BIN_DIR)/openwrt-$(2)-$(1).img --owner=root --group=root -C $(TARGET_DIR)/ .
+       $(TAR) cfj $(BIN_DIR)/openwrt-$(2)-$(1).img --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ .
        $(STAGING_DIR_HOST)/bin/encode_crc $(BIN_DIR)/openwrt-$(2)-$(1).img $(BIN_DIR)/openwrt-$(2)-$(1)-webupgrade.img $(3)
 endef
 
        $(STAGING_DIR_HOST)/bin/encode_crc $(BIN_DIR)/openwrt-$(2)-$(1).img $(BIN_DIR)/openwrt-$(2)-$(1)-webupgrade.img $(3)
 endef
 
This page took 0.0219 seconds and 4 git commands to generate.