mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 15:54:04 +02:00
[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
This commit is contained in:
parent
07f475aaa6
commit
baad3f17ed
@ -18,9 +18,9 @@ KDIR=$(KERNEL_BUILD_DIR)
|
||||
IMG_PREFIX:=openwrt-$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))
|
||||
|
||||
ifneq ($(CONFIG_BIG_ENDIAN),)
|
||||
JFFS2OPTS := --pad --big-endian --squash -v
|
||||
JFFS2OPTS := --pad --big-endian --squash-uids -v
|
||||
else
|
||||
JFFS2OPTS := --pad --little-endian --squash -v
|
||||
JFFS2OPTS := --pad --little-endian --squash-uids -v
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_JFFS2_RTIME),y)
|
||||
|
Loading…
Reference in New Issue
Block a user