[OE-core] [PATCH 1/1] linux-yocto 4.4: enable overlayfs by default

Bruce Ashfield bruce.ashfield at gmail.com
Sun Apr 3 10:11:05 UTC 2016


On Sun, Apr 3, 2016 at 5:58 AM, Robert Yang <liezhi.yang at windriver.com>
wrote:

> So that iso can work well, otherwise the iso is readonly and there would
> be errors. The other way is aufs, but overlayfs is more pupolar and had
> been merged by kernel mainline, we need make iso work well by default.
>

Nope. As I mentioned before, this can't be a always on default. It will
conflict
with other unionFS use cases.

If you want overlayfs enabled, it needs to be triggered from a specific
image
or distro feature.

Bruce



>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>  meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb | 2 +-
>  meta/recipes-kernel/linux/linux-yocto_4.4.bb    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
> b/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
> index 48025c4..4f3beb7 100644
> --- a/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
> @@ -20,7 +20,7 @@ LINUX_KERNEL_TYPE = "preempt-rt"
>  COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuppc|qemumips)"
>
>  # Functionality flags
> -KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc
> features/taskstats/taskstats.scc"
> +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc
> features/taskstats/taskstats.scc features/overlayfs/overlayfs.scc"
>  KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
>  KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc"
>  KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
> diff --git a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> index 3d6991e..66bf956 100644
> --- a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> @@ -34,7 +34,7 @@ KCONF_BSP_AUDIT_LEVEL = "2"
>  COMPATIBLE_MACHINE =
> "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
>
>  # Functionality flags
> -KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
> +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc
> features/overlayfs/overlayfs.scc"
>  KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
>  KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc"
>  KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
> --
> 2.8.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160403/27e70184/attachment-0002.html>


More information about the Openembedded-core mailing list