-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkernel.config
More file actions
34 lines (27 loc) · 1001 Bytes
/
Copy pathkernel.config
File metadata and controls
34 lines (27 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# squashboot kernel requirements
# Minimal kernel configuration fragments needed for squashboot to function.
# Apply with: scripts/kconfig/merge_config.sh .config kernel.config
# Loop device support (required to attach the squashfs image file)
CONFIG_BLK_DEV_LOOP=y
# SquashFS (the root filesystem image format)
CONFIG_SQUASHFS=y
# SquashFS compression support - enable the codec(s) matching your image
CONFIG_SQUASHFS_ZLIB=y
CONFIG_SQUASHFS_LZ4=y
CONFIG_SQUASHFS_LZO=y
CONFIG_SQUASHFS_XZ=y
CONFIG_SQUASHFS_ZSTD=y
# Pseudo / virtual filesystems
CONFIG_TMPFS=y # /tmp, /run, /dev/shm
CONFIG_DEVTMPFS=y # /dev population
CONFIG_DEVTMPFS_MOUNT=y # auto-mount devtmpfs before init runs
CONFIG_PROC_FS=y # /proc
CONFIG_SYSFS=y # /sys
CONFIG_DEVPTS_FS=y # /dev/pts
# cgroup v2 (/sys/fs/cgroup)
CONFIG_CGROUPS=y
CONFIG_CGROUP_V2=y
# configfs (/sys/kernel/config)
CONFIG_CONFIGFS_FS=y
# Kernel log buffer and /dev/kmsg (used for early logging)
CONFIG_PRINTK=y