[OE-core] [PATCH V2] nfs-export-root: add it to nfs-server FEATURE_PACKAGES

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Thu Aug 16 09:54:06 UTC 2018


On Mon, 2018-08-13 at 17:06 +0800, Dengke Du wrote:
> When we enable nfs-server feature, we should add the required file
> /etc/exports installed by nfs-export-root.
> 
> Signed-off-by: Dengke Du <dengke.du at windriver.com>
> ---
>  meta/classes/core-image.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

We do not we want to add nfs-export-root anywhere by default. If you
look at what it does, it nfs exports the root filesystem rw:

/ *(rw,no_root_squash,async,no_subtree_check)

So if a user is it include that, they really want to do so explicitly.
Its find for debug and things like qemu testing, its not find to
automatically include anywhere.

I've just noticed it is part of packagegroup-core-device-devel and I'm
not even sure it should be part of that. That group is only used in
poky for the qemu machines though.

Cheers,

Richard



More information about the Openembedded-core mailing list