From: Joshua Watt Date: Fri, 15 Dec 2023 20:34:04 +0000 (-0700) Subject: rpcbind: Specify state directory under /run X-Git-Tag: yocto-5.2~4278 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=561e853e97e2cfa325ed310233577a5e124d9049;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git rpcbind: Specify state directory under /run The state directory must be correctly specified as under /run because RequiresMountsFor doesn't follow symbolic links which means the unit may run before /run is mounted if the default of /var/run/rpcbind is kept Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb b/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb index dd89726afc7..dbd4d32e0a0 100644 --- a/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb +++ b/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb @@ -40,7 +40,7 @@ PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir}/ systemd \ " -EXTRA_OECONF += " --enable-warmstarts --with-rpcuser=rpc" +EXTRA_OECONF += " --enable-warmstarts --with-rpcuser=rpc --with-statedir=${runtimedir}/rpcbind" do_install:append () { install -d ${D}${sysconfdir}/init.d