Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/Kconfig b/Kconfig
index dd77615..a9b2380 100644
--- a/Kconfig
+++ b/Kconfig
@@ -9,5 +9,6 @@ config SRCARCH
option env="SRCARCH"
source "distro/Kconfig"
+source "Kconfig.custom"
source "arch/$SRCARCH/Kconfig"
diff --git a/Kconfig.custom b/Kconfig.custom
new file mode 100644
index 0000000..fcbaeb6
--- /dev/null
+++ b/Kconfig.custom
@@ -0,0 +1,58 @@
+menu "Custom configuration"
+
+config CUSTOM_DOCKER
+ bool "Select options required by Docker"
+
+ default n
+
+ select NAMESPACES
+ select NET_NS
+ select PID_NS
+ select IPC_NS
+ select UTS_NS
+ select CGROUPS
+ select CGROUP_CPUACCT
+ select CGROUP_DEVICE
+ select CGROUP_FREEZER
+ select CGROUP_SCHED
+ select CPUSETS
+ select MEMCG
+ select KEYS
+ select VETH
+ select BRIDGE
+ select BRIDGE_NETFILTER
+ select NF_NAT_IPV4
+ select IP_NF_FILTER
+ select IP_NF_TARGET_MASQUERADE
+ select NETFILTER_XT_MATCH_ADDRTYPE
+ select NETFILTER_XT_MATCH_CONNTRACK
+ select NF_NAT
+ select NF_NAT_NEEDED
+ select POSIX_MQUEUE
+ select USER_NS
+ select SECCOMP
+ select CGROUP_PIDS
+ select MEMCG_SWAP
+ select MEMCG_SWAP_ENABLED
+ select BLK_CGROUP
+ select BLK_DEV_THROTTLING
+ select IOSCHED_CFQ
+ select CFQ_GROUP_IOSCHED
+ select CGROUP_PERF
+ select CGROUP_HUGETLB
+ select NET_CLS_CGROUP
+ select CFS_BANDWIDTH
+ select FAIR_GROUP_SCHED
+ select RT_GROUP_SCHED
+ select IP_VS
+ select IP_VS_PROTO_TCP
+ select IP_VS_PROTO_UDP
+ select IP_VS_NFCT
+ select VXLAN
+ select XFRM_ALGO
+ select XFRM_USER
+ select IPVLAN
+ select MACVLAN
+ select DUMMY
+
+endmenu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment