From: Felix Fietkau Date: Mon, 23 Mar 2009 18:14:14 +0000 (+0000) Subject: do not use --owner=root or --group=root when running tar. it does not work on systems... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=50d0c1ba80965a1b5d320ba92cdc0272f1cc80ff do not use --owner=root or --group=root when running tar. it does not work on systems that name their root group differently SVN-Revision: 14995 --- diff --git a/target/linux/ixp4xx/image/Makefile b/target/linux/ixp4xx/image/Makefile index 2fec61b239..53d2ef0f63 100644 --- a/target/linux/ixp4xx/image/Makefile +++ b/target/linux/ixp4xx/image/Makefile @@ -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