[buildroot] image.mk: don't squash file permissions in JFFS2 images
authorFlorian Fainelli <florian@openwrt.org>
Tue, 27 Nov 2012 18:42:45 +0000 (18:42 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 27 Nov 2012 18:42:45 +0000 (18:42 +0000)
commit55e88f4266cb2b963d22f500f08fd59e7c4d6470
tree5d08a019b4cf28ebc8535c315bb9aec2a825f3c0
parent7307255d9761afc6af9106ebb48fe75b0881b362
[buildroot] image.mk: don't squash file permissions in JFFS2 images

Currently we call mkfs.jffs2 --squash, which will change
both file permissions and owners.

If we have some file with suid bits, it will clear these bits.

Thus it's enough to just squash file owners, by replacing that
argument to --squash-uids.

Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34397
include/image.mk