Changeset 34397


Ignore:
Timestamp:
2012-11-27T19:42:45+01:00 (5 years ago)
Author:
florian
Message:

[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@…>
Signed-off-by: Florian Fainelli <florian@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/image.mk

    r32572 r34397  
    1919 
    2020ifneq ($(CONFIG_BIG_ENDIAN),) 
    21   JFFS2OPTS     :=  --pad --big-endian --squash -v 
     21  JFFS2OPTS     :=  --pad --big-endian --squash-uids -v 
    2222else 
    23   JFFS2OPTS     :=  --pad --little-endian --squash -v 
     23  JFFS2OPTS     :=  --pad --little-endian --squash-uids -v 
    2424endif 
    2525 
Note: See TracChangeset for help on using the changeset viewer.