summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2023-12-15 13:34:04 -0700
committerSteve Sakoman <steve@sakoman.com>2024-01-27 08:09:47 -1000
commit1bcde5b6a46dac088147fc27213c334ca17f0395 (patch)
tree60c19bdfb06c940ecb38e6f8b8549f33f50eecd2
parenta63b21a693e789d90930cedeb633ae4d800af9a7 (diff)
downloadpoky-1bcde5b6a46dac088147fc27213c334ca17f0395.tar.gz
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 (From OE-Core rev: 3d5a85f173dffa14a6829edb9e6adbd5a3946d9c) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 561e853e97e2cfa325ed310233577a5e124d9049) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb b/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb
index dd89726afc..dbd4d32e0a 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}/
40 systemd \ 40 systemd \
41" 41"
42 42
43EXTRA_OECONF += " --enable-warmstarts --with-rpcuser=rpc" 43EXTRA_OECONF += " --enable-warmstarts --with-rpcuser=rpc --with-statedir=${runtimedir}/rpcbind"
44 44
45do_install:append () { 45do_install:append () {
46 install -d ${D}${sysconfdir}/init.d 46 install -d ${D}${sysconfdir}/init.d