From: Felix Fietkau Date: Thu, 19 Feb 2009 17:19:29 +0000 (+0000) Subject: fix potential rootfs owner/group mismatch (tgz root only, patch from #4562) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6b6c8fd10008c15e982dc2c5668eb6d5ab4307d7;p=openwrt%2Fstaging%2Fflorian.git fix potential rootfs owner/group mismatch (tgz root only, patch from #4562) SVN-Revision: 14569 --- 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