All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: meta-arago@arago-project.org
Cc: Denys Dmytriyenko <denys@konsulko.com>
Subject: [PATCH 1/2] linux-ti-staging: enable necessary configs for running docker containers
Date: Wed, 16 Jun 2021 16:14:08 -0400	[thread overview]
Message-ID: <1623874449-31873-2-git-send-email-denis@denix.org> (raw)
In-Reply-To: <1623874449-31873-1-git-send-email-denis@denix.org>

From: Denys Dmytriyenko <denys@konsulko.com>

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 meta-arago-distro/recipes-kernel/linux/docker.inc    |  2 ++
 .../linux/linux-ti-staging-rt_%.bbappend             |  1 +
 .../linux/linux-ti-staging-systest_%.bbappend        |  1 +
 .../recipes-kernel/linux/linux-ti-staging/docker.cfg | 20 ++++++++++++++++++++
 .../recipes-kernel/linux/linux-ti-staging_%.bbappend |  1 +
 5 files changed, 25 insertions(+)
 create mode 100644 meta-arago-distro/recipes-kernel/linux/docker.inc
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-ti-staging/docker.cfg

diff --git a/meta-arago-distro/recipes-kernel/linux/docker.inc b/meta-arago-distro/recipes-kernel/linux/docker.inc
new file mode 100644
index 0000000..63a01ba
--- /dev/null
+++ b/meta-arago-distro/recipes-kernel/linux/docker.inc
@@ -0,0 +1,2 @@
+SRC_URI += "file://docker.cfg"
+KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/docker.cfg"
diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend
index 7d03f8e..165e86f 100644
--- a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend
+++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend
@@ -3,5 +3,6 @@ MACHINE_KERNEL_PR_append = ".arago1"
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 require copy-defconfig.inc
+require docker.inc
 
 ALLOW_EMPTY_kernel-devicetree = "1"
diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend
index 7d03f8e..165e86f 100644
--- a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend
+++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend
@@ -3,5 +3,6 @@ MACHINE_KERNEL_PR_append = ".arago1"
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 require copy-defconfig.inc
+require docker.inc
 
 ALLOW_EMPTY_kernel-devicetree = "1"
diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging/docker.cfg b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging/docker.cfg
new file mode 100644
index 0000000..9ac604b
--- /dev/null
+++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging/docker.cfg
@@ -0,0 +1,20 @@
+CONFIG_VETH=m
+CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
+CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
+CONFIG_NETFILTER_XT_MATCH_IPVS=m
+CONFIG_NET_CLS_CGROUP=m
+CONFIG_IP_VS=m
+CONFIG_IP_VS_RR=m
+CONFIG_VXLAN=m
+CONFIG_IPVLAN=m
+CONFIG_MACVLAN=m
+CONFIG_DUMMY=m
+CONFIG_NF_NAT_FTP=m
+CONFIG_NF_CONNTRACK_FTP=m
+CONFIG_NF_NAT_TFTP=m
+CONFIG_NF_CONNTRACK_TFTP=m
+CONFIG_AUFS_FS=m
+CONFIG_BTRFS_FS=m
+CONFIG_BLK_DEV_DM=m
+CONFIG_DM_THIN_PROVISIONING=m
+CONFIG_OVERLAY_FS=m
diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend
index 5bddbef..31940e3 100644
--- a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend
+++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend
@@ -3,5 +3,6 @@ MACHINE_KERNEL_PR_append = ".arago5"
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 require copy-defconfig.inc
+require docker.inc
 
 ALLOW_EMPTY_kernel-devicetree = "1"
-- 
2.7.4



  reply	other threads:[~2021-06-16 20:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-16 20:14 [PATCH 0/2] RFC: Add global Docker container runtime Denys Dmytriyenko
2021-06-16 20:14 ` Denys Dmytriyenko [this message]
2021-06-16 20:14 ` [PATCH 2/2] packagegroup-arago-base: add docker runtime to the base and default rootfs Denys Dmytriyenko
2021-06-16 21:31 ` [PATCH 0/2] RFC: Add global Docker container runtime Denys Dmytriyenko
2021-07-19 22:01 ` Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1623874449-31873-2-git-send-email-denis@denix.org \
    --to=denis@denix.org \
    --cc=denys@konsulko.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.