summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-03-13 19:43:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-20 11:03:44 +0000
commit40d3d7a23aab2af3bbf82e8a865cc480169f31e7 (patch)
tree71a52edb411c630a95cd06774930fbaab3e1d211
parentd0d404f7cdd941b878bb11f7d67d0f747441d0da (diff)
downloadpoky-40d3d7a23aab2af3bbf82e8a865cc480169f31e7.tar.gz
rpcbind: don't try to enable rpcbind.socket twice
* rpcbind.service requires rpcbind.socket and systemctl tries to add it twice * see log.do_rootfs: Started /OE/build/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/systemctl --root=/OE/build/shr-core/tmp-glibc/work/nokia900-oe-linux-gnueabi/shr-image/2.0-r20/rootfs enable rpcbind.service rpcbind.socket Try to find location of rpcbind.service... Found rpcbind.service in /lib/systemd/system/rpcbind.service Also=rpcbind.socket found in rpcbind.service Started /OE/build/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/systemctl --root=/OE/build/shr-core/tmp-glibc/work/nokia900-oe-linux-gnueabi/shr-image/2.0-r20/rootfs enable rpcbind.socket Try to find location of rpcbind.socket... Found rpcbind.socket in /lib/systemd/system/rpcbind.socket WantedBy=sockets.target found in rpcbind.socket Enabled rpcbind.socket for sockets.target. Try to find location of rpcbind.socket... Found rpcbind.socket in /lib/systemd/system/rpcbind.socket WantedBy=sockets.target found in rpcbind.socket ln: failed to create symbolic link '/OE/build/shr-core/tmp-glibc/work/nokia900-oe-linux-gnueabi/shr-image/2.0-r20/rootfs/etc/systemd/system/sockets.target.wants/rpcbind.socket': File exists Enabled rpcbind.socket for sockets.target. (From OE-Core rev: 8fe9a735584c7ad458eb000c2008d85ad36ada57) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb
index fd4b2b5b07..1952b2a298 100644
--- a/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb
+++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.2.bb
@@ -34,7 +34,7 @@ PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
34INITSCRIPT_NAME = "rpcbind" 34INITSCRIPT_NAME = "rpcbind"
35INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ." 35INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ."
36 36
37SYSTEMD_SERVICE_${PN} = "rpcbind.service rpcbind.socket" 37SYSTEMD_SERVICE_${PN} = "rpcbind.service"
38 38
39inherit useradd 39inherit useradd
40 40