summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-09-01 14:30:41 -0700
committerKhem Raj <raj.khem@gmail.com>2020-09-01 15:37:44 -0700
commitab2f8b50519e9dc1b21a7758db24e48d954f534e (patch)
treef2af6270affd15dfc7f6d5408137cab1d555674b /meta-networking
parent7df48b8014c32dbfada34163c7856db2abea5e9a (diff)
downloadmeta-openembedded-ab2f8b50519e9dc1b21a7758db24e48d954f534e.tar.gz
netkit-rpc: Use update alternatives for rpcinfo
This helps it live along rpcbind Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb b/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb
index ebe867d77..a787e52f7 100644
--- a/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb
+++ b/meta-networking/recipes-netkit/netkit-rpc/netkit-rpc_0.17.bb
@@ -11,6 +11,9 @@ SRC_URI = "http://sources.openembedded.org/${BPN}-${PV}.tar.gz \
11 " 11 "
12SRC_URI[md5sum] = "67212720482ea1aea9182a98653a9642" 12SRC_URI[md5sum] = "67212720482ea1aea9182a98653a9642"
13SRC_URI[sha256sum] = "421d63b414162237a72867061f1bd3e3752a0d962cd5d30b5e933ddad8a14d3b" 13SRC_URI[sha256sum] = "421d63b414162237a72867061f1bd3e3752a0d962cd5d30b5e933ddad8a14d3b"
14
15inherit update-alternatives
16
14CFLAGS += "-I${STAGING_INCDIR}/tirpc" 17CFLAGS += "-I${STAGING_INCDIR}/tirpc"
15LIBS += "-ltirpc" 18LIBS += "-ltirpc"
16 19
@@ -42,3 +45,7 @@ do_install () {
42 'BINDIR=${bindir}' 'SBINDIR=${sbindir}' \ 45 'BINDIR=${bindir}' 'SBINDIR=${sbindir}' \
43 'MANDIR=${mandir}' install 46 'MANDIR=${mandir}' install
44} 47}
48ALTERNATIVE_PRIORITY = "100"
49
50ALTERNATIVE_${PN} = "rpcinfo"
51ALTERNATIVE_LINK_NAME[rpcinfo] = "${bindir}/rpcinfo"