[linux-yocto] [PATCH] preempt-rt/standard: build overlay as a module
Bruce Ashfield
bruce.ashfield at windriver.com
Tue Apr 5 01:28:04 PDT 2016
On 04/05/2016 03:11 AM, Robert Yang wrote:
> It is required by live image, otherwise the live image is read only,
> There was a builtin, now add it as a module. Another option is aufs.
We are still missing on what I'm looking for on this.
This still needs to be a named fragment, in a overlayfs feature directory.
That fragment should be "features/overlayfs/overlayfs-modules.scc",
and it can include a .cfg that has the overlayfs configs as modules.
You can then trigger the inclusion of that fragment from a recipe,
or bbappend as a KERNEL_FEATURE.
For all the kernels that do not want overlayfs, there's no reason to
universally include it as a module in the base kernel configurations.
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..28ad8cf 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=m
> diff --git a/ktypes/standard/standard.cfg b/ktypes/standard/standard.cfg
> index b3dbde5..3dabf49 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=m
>
More information about the linux-yocto
mailing list