1 |
commit: 0eff8e3c5f75711744b609c651575ba7b3a6c554 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 12 23:15:02 2018 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 14 13:15:29 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=0eff8e3c |
7 |
|
8 |
Update Gentoo distro patch. |
9 |
|
10 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
11 |
|
12 |
4567_distro-Gentoo-Kconfig.patch | 160 +++++++++++++++++++++++++++++++++++++-- |
13 |
1 file changed, 154 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch |
16 |
index 56293b0..5555b8a 100644 |
17 |
--- a/4567_distro-Gentoo-Kconfig.patch |
18 |
+++ b/4567_distro-Gentoo-Kconfig.patch |
19 |
@@ -1,9 +1,157 @@ |
20 |
---- a/Kconfig 2018-06-23 18:12:59.733149912 -0400 |
21 |
-+++ b/Kconfig 2018-06-23 18:15:17.972352097 -0400 |
22 |
-@@ -10,3 +10,6 @@ comment "Compiler: $(CC_VERSION_TEXT)" |
23 |
- source "scripts/Kconfig.include" |
24 |
+--- a/Kconfig 2016-07-01 19:22:17.117439707 -0400 |
25 |
++++ b/Kconfig 2016-07-01 19:21:54.371440596 -0400 |
26 |
+@@ -8,4 +8,6 @@ config SRCARCH |
27 |
+ string |
28 |
+ option env="SRCARCH" |
29 |
|
30 |
- source "arch/$(SRCARCH)/Kconfig" |
31 |
-+ |
32 |
+source "distro/Kconfig" |
33 |
+ |
34 |
+ source "arch/$SRCARCH/Kconfig" |
35 |
+--- /dev/null 2017-03-02 01:55:04.096566155 -0500 |
36 |
++++ b/distro/Kconfig 2017-03-02 11:12:05.049448255 -0500 |
37 |
+@@ -0,0 +1,145 @@ |
38 |
++menu "Gentoo Linux" |
39 |
++ |
40 |
++config GENTOO_LINUX |
41 |
++ bool "Gentoo Linux support" |
42 |
++ |
43 |
++ default y |
44 |
++ |
45 |
++ help |
46 |
++ In order to boot Gentoo Linux a minimal set of config settings needs to |
47 |
++ be enabled in the kernel; to avoid the users from having to enable them |
48 |
++ manually as part of a Gentoo Linux installation or a new clean config, |
49 |
++ we enable these config settings by default for convenience. |
50 |
++ |
51 |
++ See the settings that become available for more details and fine-tuning. |
52 |
++ |
53 |
++config GENTOO_LINUX_UDEV |
54 |
++ bool "Linux dynamic and persistent device naming (userspace devfs) support" |
55 |
++ |
56 |
++ depends on GENTOO_LINUX |
57 |
++ default y if GENTOO_LINUX |
58 |
++ |
59 |
++ select DEVTMPFS |
60 |
++ select TMPFS |
61 |
++ select UNIX |
62 |
++ |
63 |
++ select MMU |
64 |
++ select SHMEM |
65 |
++ |
66 |
++ help |
67 |
++ In order to boot Gentoo Linux a minimal set of config settings needs to |
68 |
++ be enabled in the kernel; to avoid the users from having to enable them |
69 |
++ manually as part of a Gentoo Linux installation or a new clean config, |
70 |
++ we enable these config settings by default for convenience. |
71 |
++ |
72 |
++ Currently this only selects TMPFS, DEVTMPFS and their dependencies. |
73 |
++ TMPFS is enabled to maintain a tmpfs file system at /dev/shm, /run and |
74 |
++ /sys/fs/cgroup; DEVTMPFS to maintain a devtmpfs file system at /dev. |
75 |
++ |
76 |
++ Some of these are critical files that need to be available early in the |
77 |
++ boot process; if not available, it causes sysfs and udev to malfunction. |
78 |
++ |
79 |
++ To ensure Gentoo Linux boots, it is best to leave this setting enabled; |
80 |
++ if you run a custom setup, you could consider whether to disable this. |
81 |
++ |
82 |
++config GENTOO_LINUX_PORTAGE |
83 |
++ bool "Select options required by Portage features" |
84 |
++ |
85 |
++ depends on GENTOO_LINUX |
86 |
++ default y if GENTOO_LINUX |
87 |
++ |
88 |
++ select CGROUPS |
89 |
++ select NAMESPACES |
90 |
++ select IPC_NS |
91 |
++ select NET_NS |
92 |
++ select SYSVIPC |
93 |
++ |
94 |
++ help |
95 |
++ This enables options required by various Portage FEATURES. |
96 |
++ Currently this selects: |
97 |
++ |
98 |
++ CGROUPS (required for FEATURES=cgroup) |
99 |
++ IPC_NS (required for FEATURES=ipc-sandbox) |
100 |
++ NET_NS (required for FEATURES=network-sandbox) |
101 |
++ SYSVIPC (required by IPC_NS) |
102 |
++ |
103 |
++ |
104 |
++ It is highly recommended that you leave this enabled as these FEATURES |
105 |
++ are, or will soon be, enabled by default. |
106 |
++ |
107 |
++menu "Support for init systems, system and service managers" |
108 |
++ visible if GENTOO_LINUX |
109 |
++ |
110 |
++config GENTOO_LINUX_INIT_SCRIPT |
111 |
++ bool "OpenRC, runit and other script based systems and managers" |
112 |
++ |
113 |
++ default y if GENTOO_LINUX |
114 |
++ |
115 |
++ depends on GENTOO_LINUX |
116 |
++ |
117 |
++ select BINFMT_SCRIPT |
118 |
++ |
119 |
++ help |
120 |
++ The init system is the first thing that loads after the kernel booted. |
121 |
++ |
122 |
++ These config settings allow you to select which init systems to support; |
123 |
++ instead of having to select all the individual settings all over the |
124 |
++ place, these settings allows you to select all the settings at once. |
125 |
++ |
126 |
++ This particular setting enables all the known requirements for OpenRC, |
127 |
++ runit and similar script based systems and managers. |
128 |
++ |
129 |
++ If you are unsure about this, it is best to leave this setting enabled. |
130 |
++ |
131 |
++config GENTOO_LINUX_INIT_SYSTEMD |
132 |
++ bool "systemd" |
133 |
++ |
134 |
++ default n |
135 |
++ |
136 |
++ depends on GENTOO_LINUX && GENTOO_LINUX_UDEV |
137 |
++ |
138 |
++ select AUTOFS4_FS |
139 |
++ select BLK_DEV_BSG |
140 |
++ select CGROUPS |
141 |
++ select CHECKPOINT_RESTORE |
142 |
++ select CRYPTO_HMAC |
143 |
++ select CRYPTO_SHA256 |
144 |
++ select CRYPTO_USER_API_HASH |
145 |
++ select DEVPTS_MULTIPLE_INSTANCES |
146 |
++ select DMIID if X86_32 || X86_64 || X86 |
147 |
++ select EPOLL |
148 |
++ select FANOTIFY |
149 |
++ select FHANDLE |
150 |
++ select INOTIFY_USER |
151 |
++ select IPV6 |
152 |
++ select NET |
153 |
++ select NET_NS |
154 |
++ select PROC_FS |
155 |
++ select SECCOMP |
156 |
++ select SECCOMP_FILTER |
157 |
++ select SIGNALFD |
158 |
++ select SYSFS |
159 |
++ select TIMERFD |
160 |
++ select TMPFS_POSIX_ACL |
161 |
++ select TMPFS_XATTR |
162 |
++ |
163 |
++ select ANON_INODES |
164 |
++ select BLOCK |
165 |
++ select EVENTFD |
166 |
++ select FSNOTIFY |
167 |
++ select INET |
168 |
++ select NLATTR |
169 |
++ |
170 |
++ help |
171 |
++ The init system is the first thing that loads after the kernel booted. |
172 |
++ |
173 |
++ These config settings allow you to select which init systems to support; |
174 |
++ instead of having to select all the individual settings all over the |
175 |
++ place, these settings allows you to select all the settings at once. |
176 |
++ |
177 |
++ This particular setting enables all the known requirements for systemd; |
178 |
++ it also enables suggested optional settings, as the package suggests to. |
179 |
++ |
180 |
++endmenu |
181 |
++ |
182 |
++endmenu |