We already carry the .cfg fragments for docker in the
meta-virtualization layer.

Are the ones there not working ?

While we could move these into the kernel-cache, it makes
them less visible or forces the maintenance of two copies of
the same config.

Bruce

On 07/19/2018 10:56 AM, [email protected] wrote:
From: He Zhe <[email protected]>

Signed-off-by: He Zhe <[email protected]>
---
  cfg/docker.cfg | 10 ++++++++++
  cfg/docker.scc |  4 ++++
  2 files changed, 14 insertions(+)
  create mode 100644 cfg/docker.cfg
  create mode 100644 cfg/docker.scc

diff --git a/cfg/docker.cfg b/cfg/docker.cfg
new file mode 100644
index 0000000..c678c94
--- /dev/null
+++ b/cfg/docker.cfg
@@ -0,0 +1,10 @@
+CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
+CONFIG_IP_NF_FILTER=m
+CONFIG_IP_NF_NAT=m
+CONFIG_IP_NF_TARGET_MASQUERADE=m
+CONFIG_NF_NAT=m
+CONFIG_NF_CONNTRACK_IPV4=y
+
+CONFIG_DM_THIN_PROVISIONING=m
+
+CONFIG_OVERLAY_FS=y
diff --git a/cfg/docker.scc b/cfg/docker.scc
new file mode 100644
index 0000000..a267524
--- /dev/null
+++ b/cfg/docker.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Features needed by Docker"
+define KFEATURE_COMPATIBILITY board
+
+kconf non-hardware docker.cfg


--
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to