On 09/09/2011 09:14 AM, Kamble, Nitin A wrote: > Thanks Bruce, BTW we should enable this btrfs feature for > linux-yocto-3 kernel. What is the right way to do it? Shall I send a > patch for the Linux-yocot-3.0 recipe in the oe-core repository?
Hi Nitin, Having a config fragment for btrfs available in linux-yocto is appropriate and makes btrfs easily added to any BSP from recipe space or from the linux-yocto meta repository. However, we do not want to enable it by default for all linux-yocto BSPs. Unless a device requires a specific FS to boot (fat, jffs2, etc) I am happy to stick with ext3/4 for now. If you have a compelling reason to enable btrfs for all embedded platforms, we can reconsider. This does highlight a TODO for the kernel team. We need to define and make readily available a Yocto Project Kernel Policy. This should identify the non-hardware-specific CONFIG options that will be enabled in any linux-yocto BSP config by default. We have discussed this some at LPC already, and will continue to flesh it out. Thanks, Darren > > Thanks, Nitin > > >> -----Original Message----- From: Bruce Ashfield >> [mailto:[email protected]] Sent: Tuesday, September 06, >> 2011 1:30 PM To: Kamble, Nitin A Cc: [email protected] >> Subject: Re: [yocto] [PATCH 1/1] btrfs: Add a new kernel feature >> to enable the btrfs support >> >> On 11-09-06 03:56 PM, [email protected] wrote: >>> From: Nitin A Kamble<[email protected]> >> >> Looks good. If we are merging this as config only, I've been >> putting them in meta/cfg/kernel-cache/cfg/ >> >> So I relocated this configuration to that directory. I'll have it >> pushed out in the next day or so (I'm getting on a plane shortly). >> >> Bruce >> >>> >>> Signed-off-by: Nitin A Kamble<[email protected]> --- >>> meta/cfg/kernel-cache/features/btrfs/btrfs.cfg | 1 + >>> meta/cfg/kernel-cache/features/btrfs/btrfs.scc | 1 + 2 files >>> changed, 2 insertions(+), 0 deletions(-) create mode 100644 >>> meta/cfg/kernel-cache/features/btrfs/btrfs.cfg create mode 100644 >>> meta/cfg/kernel-cache/features/btrfs/btrfs.scc >>> >>> diff --git a/meta/cfg/kernel-cache/features/btrfs/btrfs.cfg >> b/meta/cfg/kernel-cache/features/btrfs/btrfs.cfg >>> new file mode 100644 index 0000000..605c183 --- /dev/null +++ >>> b/meta/cfg/kernel-cache/features/btrfs/btrfs.cfg @@ -0,0 +1 @@ >>> +CONFIG_BTRFS_FS=y diff --git >>> a/meta/cfg/kernel-cache/features/btrfs/btrfs.scc >> b/meta/cfg/kernel-cache/features/btrfs/btrfs.scc >>> new file mode 100644 index 0000000..cf18a2e --- /dev/null +++ >>> b/meta/cfg/kernel-cache/features/btrfs/btrfs.scc @@ -0,0 +1 @@ >>> +kconf non-hardware btrfs.cfg -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
