do not use --owner=root or --group=root when running tar. it does not work on systems...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 23 Mar 2009 18:14:14 +0000 (18:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 23 Mar 2009 18:14:14 +0000 (18:14 +0000)
SVN-Revision: 14995

target/linux/ixp4xx/image/Makefile

index 2fec61b2391780043d95ed59e747dbd2aa1b5df7..53d2ef0f6364f8fddf77078b0654d2bb062afcba 100644 (file)
@@ -26,7 +26,7 @@ define Image/Build/Freecom
        $(CP) $(BIN_DIR)/openwrt-$(2)-zImage $(TARGET_DIR)/zImage
        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
 endef