1 |
commit: 619d312826a34e59bb3fd59038653308f704a690 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 25 22:57:46 2016 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 25 22:57:46 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=619d3128 |
7 |
|
8 |
Update gentoo kconfig patch adding CHECKPOINT_RESTORE for GENTOO_LINUX_INIT_SYSTEMD. See bug #598623. |
9 |
|
10 |
4567_distro-Gentoo-Kconfig.patch | 49 +++++++++++++++++++++++++++++++++------- |
11 |
1 file changed, 41 insertions(+), 8 deletions(-) |
12 |
|
13 |
diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch |
14 |
index 690454a..acb0972 100644 |
15 |
--- a/4567_distro-Gentoo-Kconfig.patch |
16 |
+++ b/4567_distro-Gentoo-Kconfig.patch |
17 |
@@ -1,5 +1,5 @@ |
18 |
---- a/Kconfig 2014-04-02 09:45:05.389224541 -0400 |
19 |
-+++ b/Kconfig 2014-04-02 09:45:39.269224273 -0400 |
20 |
+--- a/Kconfig 2016-07-01 19:22:17.117439707 -0400 |
21 |
++++ b/Kconfig 2016-07-01 19:21:54.371440596 -0400 |
22 |
@@ -8,4 +8,6 @@ config SRCARCH |
23 |
string |
24 |
option env="SRCARCH" |
25 |
@@ -7,9 +7,9 @@ |
26 |
+source "distro/Kconfig" |
27 |
+ |
28 |
source "arch/$SRCARCH/Kconfig" |
29 |
---- a/distro/Kconfig 1969-12-31 19:00:00.000000000 -0500 |
30 |
-+++ b/distro/Kconfig 2015-01-02 13:54:45.589830665 -0500 |
31 |
-@@ -0,0 +1,109 @@ |
32 |
+--- /dev/null 2016-11-15 00:56:18.320838834 -0500 |
33 |
++++ b/distro/Kconfig 2016-11-16 06:24:29.457357409 -0500 |
34 |
+@@ -0,0 +1,142 @@ |
35 |
+menu "Gentoo Linux" |
36 |
+ |
37 |
+config GENTOO_LINUX |
38 |
@@ -30,9 +30,10 @@ |
39 |
+ |
40 |
+ depends on GENTOO_LINUX |
41 |
+ default y if GENTOO_LINUX |
42 |
-+ |
43 |
++ |
44 |
+ select DEVTMPFS |
45 |
+ select TMPFS |
46 |
++ select UNIX |
47 |
+ |
48 |
+ select MMU |
49 |
+ select SHMEM |
50 |
@@ -51,7 +52,32 @@ |
51 |
+ boot process; if not available, it causes sysfs and udev to malfunction. |
52 |
+ |
53 |
+ To ensure Gentoo Linux boots, it is best to leave this setting enabled; |
54 |
-+ if you run a custom setup, you could consider whether to disable this. |
55 |
++ if you run a custom setup, you could consider whether to disable this. |
56 |
++ |
57 |
++config GENTOO_LINUX_PORTAGE |
58 |
++ bool "Select options required by Portage features" |
59 |
++ |
60 |
++ depends on GENTOO_LINUX |
61 |
++ default y if GENTOO_LINUX |
62 |
++ |
63 |
++ select CGROUPS |
64 |
++ select NAMESPACES |
65 |
++ select IPC_NS |
66 |
++ select NET_NS |
67 |
++ select SYSVIPC |
68 |
++ |
69 |
++ help |
70 |
++ This enables options required by various Portage FEATURES. |
71 |
++ Currently this selects: |
72 |
++ |
73 |
++ CGROUPS (required for FEATURES=cgroup) |
74 |
++ IPC_NS (required for FEATURES=ipc-sandbox) |
75 |
++ NET_NS (required for FEATURES=network-sandbox) |
76 |
++ SYSVIPC (required by IPC_NS) |
77 |
++ |
78 |
++ |
79 |
++ It is highly recommended that you leave this enabled as these FEATURES |
80 |
++ are, or will soon be, enabled by default. |
81 |
+ |
82 |
+menu "Support for init systems, system and service managers" |
83 |
+ visible if GENTOO_LINUX |
84 |
@@ -87,17 +113,24 @@ |
85 |
+ select AUTOFS4_FS |
86 |
+ select BLK_DEV_BSG |
87 |
+ select CGROUPS |
88 |
++ select CHECKPOINT_RESTORE |
89 |
+ select DEVPTS_MULTIPLE_INSTANCES |
90 |
++ select DMIID |
91 |
+ select EPOLL |
92 |
+ select FANOTIFY |
93 |
+ select FHANDLE |
94 |
+ select INOTIFY_USER |
95 |
++ select IPV6 |
96 |
+ select NET |
97 |
-+ select NET_NS |
98 |
++ select NET_NS |
99 |
+ select PROC_FS |
100 |
++ select SECCOMP |
101 |
++ select SECCOMP_FILTER |
102 |
+ select SIGNALFD |
103 |
+ select SYSFS |
104 |
+ select TIMERFD |
105 |
++ select TMPFS_POSIX_ACL |
106 |
++ select TMPFS_XATTR |
107 |
+ |
108 |
+ select ANON_INODES |
109 |
+ select BLOCK |