summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-19 17:19:29 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-19 17:19:29 +0000
commit2bb798169d0ed5dc2b3d9b21a417a0d606c94994 (patch)
tree8989f852912e19f55e81e58d1ecdd652e11ed987
parent7523aea0d420b39e38446a2f39b280a89efd804d (diff)
fix potential rootfs owner/group mismatch (tgz root only, patch from #4562)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14569 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/image.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index 2b239ca3a..7de2d6346 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -62,7 +62,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y)
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
endif