mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 04:26:16 +02:00
do not use --owner=root or --group=root when running tar. it does not work on systems that name their root group differently
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14995 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
aa725129e8
commit
5ab2882c90
@ -26,7 +26,7 @@ define Image/Build/Freecom
|
|||||||
$(CP) $(BIN_DIR)/openwrt-$(2)-zImage $(TARGET_DIR)/zImage
|
$(CP) $(BIN_DIR)/openwrt-$(2)-zImage $(TARGET_DIR)/zImage
|
||||||
rm -rf $(TARGET_DIR)/{var,jffs,rom}
|
rm -rf $(TARGET_DIR)/{var,jffs,rom}
|
||||||
$(INSTALL_DIR) $(TARGET_DIR)/var
|
$(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
|
$(STAGING_DIR_HOST)/bin/encode_crc $(BIN_DIR)/openwrt-$(2)-$(1).img $(BIN_DIR)/openwrt-$(2)-$(1)-webupgrade.img
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user