[buildroot] image.mk: don't squash file permissions in JFFS2 images
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 27 Nov 2012 18:42:45 +0000 (18:42 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 27 Nov 2012 18:42:45 +0000 (18:42 +0000)
commitbaad3f17ed71aa85788b22fbd6875c9bc1d7d511
tree5d08a019b4cf28ebc8535c315bb9aec2a825f3c0
parent07f475aaa687dfbf2c5ea2be8354fd678ada16f5
[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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34397 3c298f89-4303-0410-b956-a3cf2f4a3e73
include/image.mk