Преглед на файлове

build: set owner root for all files on ubifs creation

When creating an image it makes no sense to have files owned by
the uid and gid on the host (and even creates a bug when for
example dropbear authorized_keys is included via env/files).

Signed-off-by: Joris de Vries <[email protected]>

SVN-Revision: 38442
Luka Perkov преди 12 години
родител
ревизия
03ccf4eeb0
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      include/image.mk

+ 1 - 0
include/image.mk

@@ -139,6 +139,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),)
 			$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_LZO),--force-compr=lzo) \
 			$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_LZO),--force-compr=lzo) \
 			$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_ZLIB),--force-compr=zlib) \
 			$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_ZLIB),--force-compr=zlib) \
 			--jrn-size=$(CONFIG_TARGET_UBIFS_JOURNAL_SIZE) \
 			--jrn-size=$(CONFIG_TARGET_UBIFS_JOURNAL_SIZE) \
+			--squash-uids \
 			-o $(KDIR)/root.ubifs \
 			-o $(KDIR)/root.ubifs \
 			-d $(TARGET_DIR)
 			-d $(TARGET_DIR)
         endif
         endif