Skip to content

Commit a0da04c

Browse files
committed
feat(os): enable EROFS and ublk for streamed container layers
Signed-off-by: Kevin Wang <wy721@qq.com>
1 parent b63a7c8 commit a0da04c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎os/mkosi/components/kernel/kernel.config‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,16 @@ CONFIG_CRYPTO_GCM=y
116116
CONFIG_CRYPTO_AES=y
117117
CONFIG_CRYPTO_CHACHA20POLY1305=y
118118

119+
# Read-only OCI layer indexes over verified userspace storage. Preserve layer
120+
# xattrs, ACLs and security labels when used as overlayfs lower directories.
121+
CONFIG_EROFS_FS=y
122+
CONFIG_EROFS_FS_XATTR=y
123+
CONFIG_EROFS_FS_POSIX_ACL=y
124+
CONFIG_EROFS_FS_SECURITY=y
125+
# Alternative to loop/FUSE for userspace-backed layer devices.
126+
CONFIG_BLK_DEV_UBLK=y
127+
CONFIG_IO_URING=y
128+
119129
CONFIG_EXT4_FS=y
120130
CONFIG_SQUASHFS=y
121131
CONFIG_SQUASHFS_ZSTD=y

0 commit comments

Comments
 (0)