fix potential rootfs owner/group mismatch (tgz root only, patch from #4562)
SVN-Revision: 14569
This commit is contained in:
parent
062456ec4c
commit
6b6c8fd100
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
||||||
|
|
||||||
ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y)
|
ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y)
|
||||||
define Image/mkfs/tgz
|
define Image/mkfs/tgz
|
||||||
$(TAR) -zcf $(BIN_DIR)/openwrt-$(BOARD)-rootfs.tgz --owner=root --group=root -C $(TARGET_DIR)/ .
|
$(TAR) -zcf $(BIN_DIR)/openwrt-$(BOARD)-rootfs.tgz --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ .
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue