[linux-yocto] [PATCH 1/2] preempt-rt.cfg/standard.cfg: enable OVERLAY_FS

Bruce Ashfield bruce.ashfield at windriver.com
Tue Mar 29 05:40:34 PDT 2016


On 2016-03-29 3:23 AM, Robert Yang wrote:
> Otherwise the live iso will be readonly.

Not true .. overlayfs is one way to have a read/write ISO, but
not the only.

This isn't something we bury in the middle of the ktypes. aufs
has always been a standalone configuration option, and one that
is enabled via KERNEL_FEATURES.

This is an alternative to the exiting aufs use case, and should
be treated a similar way (with a generic feature, an enable and
a disable). See the aufs fragments as a template to follow.

Bruce

>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>   ktypes/preempt-rt/preempt-rt.cfg | 2 ++
>   ktypes/standard/standard.cfg     | 2 ++
>   2 files changed, 4 insertions(+)
>
> diff --git a/ktypes/preempt-rt/preempt-rt.cfg b/ktypes/preempt-rt/preempt-rt.cfg
> index 4c62804..c4a5617 100644
> --- a/ktypes/preempt-rt/preempt-rt.cfg
> +++ b/ktypes/preempt-rt/preempt-rt.cfg
> @@ -1116,3 +1116,5 @@ CONFIG_CRYPTO_TEST=m
>   #
>   CONFIG_LIBCRC32C=m
>   CONFIG_ZLIB_DEFLATE=m
> +
> +CONFIG_OVERLAY_FS=y
> diff --git a/ktypes/standard/standard.cfg b/ktypes/standard/standard.cfg
> index b3dbde5..4099fda 100644
> --- a/ktypes/standard/standard.cfg
> +++ b/ktypes/standard/standard.cfg
> @@ -1108,3 +1108,5 @@ CONFIG_LIBCRC32C=m
>   CONFIG_ZLIB_DEFLATE=m
>
>   CONFIG_SHMEM=y
> +
> +CONFIG_OVERLAY_FS=y
>



More information about the linux-yocto mailing list