diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-09-01 15:32:27 -0700 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2020-09-08 04:21:25 -1000 |
commit | 177a82f0e9f9c7fa12dd39cbbdd2ac64d920699d (patch) | |
tree | b7122bcac68e7e6dfb3f2faecd7e4430ff2ac582 | |
parent | b68ded7dee5e6e8b8f23840e3118edcdee7e5c7e (diff) | |
download | openembedded-core-177a82f0e9f9c7fa12dd39cbbdd2ac64d920699d.tar.gz |
rpcbind: Use update-alternatives for rpcinfo
rpcinfo is also provided vy netkit in meta-networking
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 28183dfd7446de9113773ab89edd0afb4ab82f7e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb | 5 |
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 \ SRC_URI[md5sum] = "ed46f09b9c0fa2d49015f6431bc5ea7b" SRC_URI[sha256sum] = "2ce360683963b35c19c43f0ee2c7f18aa5b81ef41c3fdbd15ffcb00b8bffda7a" -inherit autotools update-rc.d systemd pkgconfig +inherit autotools update-rc.d systemd pkgconfig update-alternatives PACKAGECONFIG ??= "tcp-wrappers" PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" @@ -50,3 +50,6 @@ do_install_append () { ${WORKDIR}/init.d > ${D}${sysconfdir}/init.d/rpcbind chmod 0755 ${D}${sysconfdir}/init.d/rpcbind } + +ALTERNATIVE_${PN} = "rpcinfo" +ALTERNATIVE_LINK_NAME[rpcinfo] = "${bindir}/rpcinfo" |