kumquat-buildroot/fs
Antoine Tenart b843d78173 fs/common.mk: set SELinux file security contexts
Set the SELinux file security contexts using setfiles when generating
root filesystem images.

Without such security contexts created at build time, they need to be
setup at first boot by running the restorecon utility on the target.
This has two drawbacks:

 - You have to special case the first boot, which cannot be done in
   enforcing mode, and will have to run restorecon, then reboot.

 - You cannot support read-only filesystems.

By setting up the security contexts at build time, we can have a
filesystem image that is immediately ready to boot an SELinux system
in enforcing mode, including if the root filesystem is read-only.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-04 10:49:30 +02:00
..
axfs
btrfs
cloop
cpio fs/cpio/init: unbreak ttyname_r() on glibc after dropping /dev/console exec 2020-08-29 16:32:33 +02:00
cramfs
erofs fs/erofs: add support for creating EROFS rootfs image 2020-03-19 18:43:15 +01:00
ext2 fs/ext2: pass a default string to filesystem label 2020-04-15 22:49:26 +02:00
f2fs
initramfs
iso9660
jffs2
romfs
squashfs fs: squashfs: Add config option to pass nopad parameter to mksquashfs 2020-06-17 23:01:23 +02:00
tar
ubi fs/ubi: expose BINARIES_DIR to ubinize.cfg 2020-06-06 13:43:43 +02:00
ubifs
yaffs2
common.mk fs/common.mk: set SELinux file security contexts 2020-09-04 10:49:30 +02:00
Config.in fs/erofs: add support for creating EROFS rootfs image 2020-03-19 18:43:15 +01:00