Skip to content

Commit

Permalink
composefs: Add kconfig and build support
Browse files Browse the repository at this point in the history
This commit adds Makefile and Kconfig for composefs, and
updates Makefile and Kconfig files in the fs directory

Signed-off-by: Alexander Larsson <alexl@redhat.com>
  • Loading branch information
alexlarsson authored and intel-lab-lkp committed Nov 28, 2022
1 parent 2b61e7c commit b1d9807
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions fs/Kconfig
Expand Up @@ -127,6 +127,7 @@ source "fs/quota/Kconfig"
source "fs/autofs/Kconfig"
source "fs/fuse/Kconfig"
source "fs/overlayfs/Kconfig"
source "fs/composefs/Kconfig"

menu "Caches"

Expand Down
1 change: 1 addition & 0 deletions fs/Makefile
Expand Up @@ -137,3 +137,4 @@ obj-$(CONFIG_EFIVAR_FS) += efivarfs/
obj-$(CONFIG_EROFS_FS) += erofs/
obj-$(CONFIG_VBOXSF_FS) += vboxsf/
obj-$(CONFIG_ZONEFS_FS) += zonefs/
obj-$(CONFIG_COMPOSEFS_FS) += composefs/
18 changes: 18 additions & 0 deletions fs/composefs/Kconfig
@@ -0,0 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-only

config COMPOSEFS_FS
tristate "Composefs filesystem support"
select EXPORTFS
help
Composefs is a filesystem that allows combining file content from
existing regular files with a metadata directory structure from
a separate binary file. This is useful to share file content between
many different directory trees, such as in a local container image store.

Composefs also allows using fs-verity to validate the content of the
content-files as well as the metadata file which allows dm-verity
like validation with the flexibility of regular files.

For more information see Documentation/filesystems/composefs.rst

If unsure, say N.
5 changes: 5 additions & 0 deletions fs/composefs/Makefile
@@ -0,0 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only

obj-$(CONFIG_COMPOSEFS_FS) += composefs.o

composefs-objs += cfs-reader.o cfs.o

0 comments on commit b1d9807

Please sign in to comment.