[OE-core] [PATCH] nfs-utils: add runtime depends for nfs-export-root

Richard Purdie richard.purdie at linuxfoundation.org
Sat Aug 11 09:33:19 UTC 2018


On Fri, 2018-08-10 at 17:38 +0800, Dengke Du wrote:
> When DISTRO_FEATURE enable "systemd", the nfs-server.service in nfs-
> utils
> depends on /etc/exports, but the file "/etc/exports" installed by
> package
> nfs-export-root. Otherwise the service would failed.
> 
> So we should add the runtime depends for nfs-export-root.
> 
> Signed-off-by: Dengke Du <dengke.du at windriver.com>
> ---
>  meta/recipes-connectivity/nfs-utils/nfs-utils_2.3.1.bb | 1 +
>  1 file changed, 1 insertion(+)

I suspect that this may in fact be a feature, you enable the nfs server
by adding nfs-export-root to the image. The behaviour may therefore be
intended as not everyone installing nfs-utils wants a server. We should
perhaps better document that.

Also, when using sysvinit does this recipe generate an init script
which starts an nfs-server?

Cheers,

Richard



More information about the Openembedded-core mailing list