diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-09-01 14:30:41 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-09-01 15:37:44 -0700 |
commit | ab2f8b50519e9dc1b21a7758db24e48d954f534e (patch) | |
tree | f2af6270affd15dfc7f6d5408137cab1d555674b /meta-networking | |
parent | 7df48b8014c32dbfada34163c7856db2abea5e9a (diff) | |
download | meta-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.bb | 7 |
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 | " |
12 | SRC_URI[md5sum] = "67212720482ea1aea9182a98653a9642" | 12 | SRC_URI[md5sum] = "67212720482ea1aea9182a98653a9642" |
13 | SRC_URI[sha256sum] = "421d63b414162237a72867061f1bd3e3752a0d962cd5d30b5e933ddad8a14d3b" | 13 | SRC_URI[sha256sum] = "421d63b414162237a72867061f1bd3e3752a0d962cd5d30b5e933ddad8a14d3b" |
14 | |||
15 | inherit update-alternatives | ||
16 | |||
14 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" | 17 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" |
15 | LIBS += "-ltirpc" | 18 | LIBS += "-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 | } |
48 | ALTERNATIVE_PRIORITY = "100" | ||
49 | |||
50 | ALTERNATIVE_${PN} = "rpcinfo" | ||
51 | ALTERNATIVE_LINK_NAME[rpcinfo] = "${bindir}/rpcinfo" | ||