From 2bb798169d0ed5dc2b3d9b21a417a0d606c94994 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 19 Feb 2009 17:19:29 +0000 Subject: [PATCH 1/1] 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 --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk b/include/image.mk index 2b239ca3a3..7de2d6346e 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 -- 2.11.0