|
Added
Link Here
|
| 1 |
menu "Gentoo Linux" |
| 2 |
|
| 3 |
config GENTOO_LINUX |
| 4 |
bool "Gentoo Linux support" |
| 5 |
|
| 6 |
default y |
| 7 |
|
| 8 |
help |
| 9 |
In order to boot Gentoo Linux a minimal set of config settings needs to |
| 10 |
be enabled in the kernel; to avoid the users from having to enable them |
| 11 |
manually as part of a Gentoo Linux installation or a new clean config, |
| 12 |
we enable these config settings by default for convenience. |
| 13 |
|
| 14 |
See the settings that become available for more details and fine-tuning. |
| 15 |
|
| 16 |
config GENTOO_LINUX_UDEV |
| 17 |
bool "Linux dynamic and persistent device naming (userspace devfs) support" |
| 18 |
|
| 19 |
depends on GENTOO_LINUX |
| 20 |
default y if GENTOO_LINUX |
| 21 |
|
| 22 |
select DEVTMPFS |
| 23 |
select TMPFS |
| 24 |
select UNIX |
| 25 |
|
| 26 |
select MMU |
| 27 |
select SHMEM |
| 28 |
|
| 29 |
help |
| 30 |
In order to boot Gentoo Linux a minimal set of config settings needs to |
| 31 |
be enabled in the kernel; to avoid the users from having to enable them |
| 32 |
manually as part of a Gentoo Linux installation or a new clean config, |
| 33 |
we enable these config settings by default for convenience. |
| 34 |
|
| 35 |
Currently this only selects TMPFS, DEVTMPFS and their dependencies. |
| 36 |
TMPFS is enabled to maintain a tmpfs file system at /dev/shm, /run and |
| 37 |
/sys/fs/cgroup; DEVTMPFS to maintain a devtmpfs file system at /dev. |
| 38 |
|
| 39 |
Some of these are critical files that need to be available early in the |
| 40 |
boot process; if not available, it causes sysfs and udev to malfunction. |
| 41 |
|
| 42 |
To ensure Gentoo Linux boots, it is best to leave this setting enabled; |
| 43 |
if you run a custom setup, you could consider whether to disable this. |
| 44 |
|
| 45 |
config GENTOO_LINUX_PORTAGE |
| 46 |
bool "Select options required by Portage features" |
| 47 |
|
| 48 |
depends on GENTOO_LINUX |
| 49 |
default y if GENTOO_LINUX |
| 50 |
|
| 51 |
select CGROUPS |
| 52 |
select NAMESPACES |
| 53 |
select IPC_NS |
| 54 |
select NET_NS |
| 55 |
select PID_NS |
| 56 |
select SYSVIPC |
| 57 |
|
| 58 |
help |
| 59 |
This enables options required by various Portage FEATURES. |
| 60 |
Currently this selects: |
| 61 |
|
| 62 |
CGROUPS (required for FEATURES=cgroup) |
| 63 |
IPC_NS (required for FEATURES=ipc-sandbox) |
| 64 |
NET_NS (required for FEATURES=network-sandbox) |
| 65 |
PID_NS (required for FEATURES=pid-sandbox) |
| 66 |
SYSVIPC (required by IPC_NS) |
| 67 |
|
| 68 |
|
| 69 |
It is highly recommended that you leave this enabled as these FEATURES |
| 70 |
are, or will soon be, enabled by default. |
| 71 |
|
| 72 |
menu "Support for init systems, system and service managers" |
| 73 |
visible if GENTOO_LINUX |
| 74 |
|
| 75 |
config GENTOO_LINUX_INIT_SCRIPT |
| 76 |
bool "OpenRC, runit and other script based systems and managers" |
| 77 |
|
| 78 |
default y if GENTOO_LINUX |
| 79 |
|
| 80 |
depends on GENTOO_LINUX |
| 81 |
|
| 82 |
select BINFMT_SCRIPT |
| 83 |
select CGROUPS |
| 84 |
select EPOLL |
| 85 |
select FILE_LOCKING |
| 86 |
select INOTIFY_USER |
| 87 |
select SIGNALFD |
| 88 |
select TIMERFD |
| 89 |
|
| 90 |
help |
| 91 |
The init system is the first thing that loads after the kernel booted. |
| 92 |
|
| 93 |
These config settings allow you to select which init systems to support; |
| 94 |
instead of having to select all the individual settings all over the |
| 95 |
place, these settings allows you to select all the settings at once. |
| 96 |
|
| 97 |
This particular setting enables all the known requirements for OpenRC, |
| 98 |
runit and similar script based systems and managers. |
| 99 |
|
| 100 |
If you are unsure about this, it is best to leave this setting enabled. |
| 101 |
|
| 102 |
config GENTOO_LINUX_INIT_SYSTEMD |
| 103 |
bool "systemd" |
| 104 |
|
| 105 |
default n |
| 106 |
|
| 107 |
depends on GENTOO_LINUX && GENTOO_LINUX_UDEV |
| 108 |
|
| 109 |
select AUTOFS4_FS |
| 110 |
select BLK_DEV_BSG |
| 111 |
select BPF_SYSCALL |
| 112 |
select CGROUP_BPF |
| 113 |
select CGROUPS |
| 114 |
select CHECKPOINT_RESTORE |
| 115 |
select CRYPTO_HMAC |
| 116 |
select CRYPTO_SHA256 |
| 117 |
select CRYPTO_USER_API_HASH |
| 118 |
select DEVPTS_MULTIPLE_INSTANCES |
| 119 |
select DMIID if X86_32 || X86_64 || X86 |
| 120 |
select EPOLL |
| 121 |
select FANOTIFY |
| 122 |
select FHANDLE |
| 123 |
select FILE_LOCKING |
| 124 |
select INOTIFY_USER |
| 125 |
select IPV6 |
| 126 |
select NET |
| 127 |
select NET_NS |
| 128 |
select PROC_FS |
| 129 |
select SECCOMP |
| 130 |
select SECCOMP_FILTER if !SPARC |
| 131 |
select SIGNALFD |
| 132 |
select SYSFS |
| 133 |
select TIMERFD |
| 134 |
select TMPFS_POSIX_ACL |
| 135 |
select TMPFS_XATTR |
| 136 |
|
| 137 |
select ANON_INODES |
| 138 |
select BLOCK |
| 139 |
select EVENTFD |
| 140 |
select FSNOTIFY |
| 141 |
select INET |
| 142 |
select NLATTR |
| 143 |
|
| 144 |
help |
| 145 |
The init system is the first thing that loads after the kernel booted. |
| 146 |
|
| 147 |
These config settings allow you to select which init systems to support; |
| 148 |
instead of having to select all the individual settings all over the |
| 149 |
place, these settings allows you to select all the settings at once. |
| 150 |
|
| 151 |
This particular setting enables all the known requirements for systemd; |
| 152 |
it also enables suggested optional settings, as the package suggests to. |
| 153 |
|
| 154 |
endmenu |
| 155 |
|
| 156 |
endmenu |