summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-09-01 15:32:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-05 22:19:19 +0100
commitb343e0e9f68aba705c9bdca77ac950ce63d0b723 (patch)
treefac5a2acec570d52116acb42c59ffba1ae42a635 /meta/recipes-extended
parentef21d084241ef2f7d3816338b74202044ce78d4d (diff)
downloadpoky-b343e0e9f68aba705c9bdca77ac950ce63d0b723.tar.gz
rpcbind: Use update-alternatives for rpcinfo
rpcinfo is also provided vy netkit in meta-networking (From OE-Core rev: 28183dfd7446de9113773ab89edd0afb4ab82f7e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb b/meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb
index aff00e56e6..ec8f9e48b2 100644
--- a/meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb
+++ b/meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb
@@ -19,7 +19,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \
19SRC_URI[md5sum] = "ed46f09b9c0fa2d49015f6431bc5ea7b" 19SRC_URI[md5sum] = "ed46f09b9c0fa2d49015f6431bc5ea7b"
20SRC_URI[sha256sum] = "2ce360683963b35c19c43f0ee2c7f18aa5b81ef41c3fdbd15ffcb00b8bffda7a" 20SRC_URI[sha256sum] = "2ce360683963b35c19c43f0ee2c7f18aa5b81ef41c3fdbd15ffcb00b8bffda7a"
21 21
22inherit autotools update-rc.d systemd pkgconfig 22inherit autotools update-rc.d systemd pkgconfig update-alternatives
23 23
24PACKAGECONFIG ??= "tcp-wrappers" 24PACKAGECONFIG ??= "tcp-wrappers"
25PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" 25PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
@@ -50,3 +50,6 @@ do_install_append () {
50 ${WORKDIR}/init.d > ${D}${sysconfdir}/init.d/rpcbind 50 ${WORKDIR}/init.d > ${D}${sysconfdir}/init.d/rpcbind
51 chmod 0755 ${D}${sysconfdir}/init.d/rpcbind 51 chmod 0755 ${D}${sysconfdir}/init.d/rpcbind
52} 52}
53
54ALTERNATIVE_${PN} = "rpcinfo"
55ALTERNATIVE_LINK_NAME[rpcinfo] = "${bindir}/rpcinfo"