All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Ryan Eatmon <reatmon@ti.com>
Cc: "Raghavendra, Vignesh" <vigneshr@ti.com>,
	Chirag Shilwant <c-shilwant@ti.com>,
	Praneeth Bajjuri <praneeth@ti.com>,
	meta-arago@lists.yoctoproject.org,
	Sai Sree Kartheek Adivi <s-adivi@ti.com>,
	Paresh Bhagat <p-bhagat@ti.com>, Gyan Gupta <g-gupta@ti.com>
Subject: Re: [meta-arago][kirkstone][PATCH] meta-arago-distro: recipes-kernel: Remove docker configs
Date: Fri, 9 Jun 2023 12:10:07 -0400	[thread overview]
Message-ID: <20230609161007.GH9226@denix.org> (raw)
In-Reply-To: <b3e61d81-f568-347a-a936-dcc3b0da3aec@ti.com>

On Fri, Jun 09, 2023 at 10:39:06AM -0500, Ryan Eatmon wrote:
> 
> 
> On 6/9/2023 9:42 AM, Raghavendra, Vignesh wrote:
> >
> >
> >On 6/9/2023 7:01 PM, Ryan Eatmon via lists.yoctoproject.org wrote:
> >>
> >>
> >>On 6/9/2023 12:23 AM, Chirag Shilwant wrote:
> >>>The necessary configs required for running docker containers have been
> >>>enabled in ti-linux-6.1
> >>
> >>
> >>Generally speaking I support this patch, but from a practical point of
> >>view we still have the 5.10 kernel in kirkstone/master.  And applying
> >>this patch as is will break docker support in those kernels.
> >>
> >>We need to modify this patch to rename the bbappend files to just apply
> >>to the 5.10 kernels instead of % (all) kernels.
> >>
> >
> >I dont know why this was needed in meta-arago-distro for 5.10 either.

Vignesh,

Docker support with kernel config fragment was in Processor SDK since 2018. 
Later it got moved to meta-arago to be more generic and used in Core SDK. And 
then eventually a similar config fragment got added to TI kernel about a year 
ago for 5.10. I guess nobody went back and cleaned it up in meta-arago up 
until now... Yes, it is not 6.1 specific.


> >ti_sdk_*_defconfigs include containers.cfg fragment that has all these
> >configs [0][1]
> >
> >[0] https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/ti_config_fragments/v8_defconfig_map.txt?h=ti-linux-5.10.y-cicd#n2
> >[1] https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/ti_config_fragments/containers.cfg?h=ti-linux-5.10.y-cicd
> >
> >IMO, this patch should not affect 5.10 either
> 
> If that is the case, then we just need to reword the commit message
> to not be so 6.1 specific.
> 
> 
> >>
> >>>Ref -
> >>>https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/patch/?id=ca7f239d0814e6a49804b76c0984d6ca5eea0924
> >>>
> >>>Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
> >>>---
> >>>   .../recipes-kernel/linux/docker.inc           |  4 ----
> >>>   .../recipes-kernel/linux/files/docker.cfg     | 20 -------------------
> >>>   .../linux/linux-ti-staging-rt_%.bbappend      |  2 --
> >>>   .../linux/linux-ti-staging-systest_%.bbappend |  2 --
> >>>   .../linux/linux-ti-staging_%.bbappend         |  2 --
> >>>   5 files changed, 30 deletions(-)
> >>>   delete mode 100644 meta-arago-distro/recipes-kernel/linux/docker.inc
> >>>   delete mode 100644
> >>>meta-arago-distro/recipes-kernel/linux/files/docker.cfg
> >>>
> >>>diff --git a/meta-arago-distro/recipes-kernel/linux/docker.inc
> >>>b/meta-arago-distro/recipes-kernel/linux/docker.inc
> >>>deleted file mode 100644
> >>>index e926b219..00000000
> >>>--- a/meta-arago-distro/recipes-kernel/linux/docker.inc
> >>>+++ /dev/null
> >>>@@ -1,4 +0,0 @@
> >>>-FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
> >>>-
> >>>-SRC_URI += "file://docker.cfg"
> >>>-KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/docker.cfg"
> >>>diff --git a/meta-arago-distro/recipes-kernel/linux/files/docker.cfg
> >>>b/meta-arago-distro/recipes-kernel/linux/files/docker.cfg
> >>>deleted file mode 100644
> >>>index 9ac604b8..00000000
> >>>--- a/meta-arago-distro/recipes-kernel/linux/files/docker.cfg
> >>>+++ /dev/null
> >>>@@ -1,20 +0,0 @@
> >>>-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-rt_%.bbappend b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend
> >>>index df55594e..06f33291 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
> >>>@@ -2,6 +2,4 @@ MACHINE_KERNEL_PR:append = ".arago1"
> >>>     FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
> >>>   -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 df55594e..06f33291 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
> >>>@@ -2,6 +2,4 @@ MACHINE_KERNEL_PR:append = ".arago1"
> >>>     FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
> >>>   -require docker.inc
> >>>-
> >>>   ALLOW_EMPTY:kernel-devicetree = "1"
> >>>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 031a8b05..9d9a3593 100644
> >>>--- a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend
> >>>+++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend
> >>>@@ -2,6 +2,4 @@ MACHINE_KERNEL_PR:append = ".arago5"
> >>>     FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
> >>>   -require docker.inc
> >>>-
> >>>   ALLOW_EMPTY:kernel-devicetree = "1"
> >>


      reply	other threads:[~2023-06-09 16:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-09  5:23 [meta-arago][kirkstone][PATCH] meta-arago-distro: recipes-kernel: Remove docker configs Chirag Shilwant
2023-06-09 13:31 ` Ryan Eatmon
2023-06-09 14:42   ` Raghavendra, Vignesh
2023-06-09 15:39     ` Ryan Eatmon
2023-06-09 16:10       ` Denys Dmytriyenko [this message]

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=20230609161007.GH9226@denix.org \
    --to=denis@denix.org \
    --cc=c-shilwant@ti.com \
    --cc=g-gupta@ti.com \
    --cc=meta-arago@lists.yoctoproject.org \
    --cc=p-bhagat@ti.com \
    --cc=praneeth@ti.com \
    --cc=reatmon@ti.com \
    --cc=s-adivi@ti.com \
    --cc=vigneshr@ti.com \
    /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.