diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-09-01 15:16:44 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-09-01 15:37:44 -0700 |
commit | 915844297a91694fa5e43d3d38f6b0e752734178 (patch) | |
tree | e5f616369ea32596ac1703c38e6a2cf4b391a7d5 /meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb | |
parent | 916b6f15efe924dc66d7908ac0bea554eaf7ac92 (diff) | |
download | meta-openembedded-915844297a91694fa5e43d3d38f6b0e752734178.tar.gz |
netkit-rwho: Use update-alternatives for tftp
So it can live along other providers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb')
-rw-r--r-- | meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb b/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb index 92c13e850c..28e016400f 100644 --- a/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb +++ b/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb | |||
@@ -16,7 +16,7 @@ SRC_URI[archive.sha256sum] = "3a43c0010d4e61f412563fd83769d4667d8b8e82903526d21c | |||
16 | SRC_URI[patch18.md5sum] = "cb29e7a33dd85105ba6e6ec4f971e42c" | 16 | SRC_URI[patch18.md5sum] = "cb29e7a33dd85105ba6e6ec4f971e42c" |
17 | SRC_URI[patch18.sha256sum] = "092437d27b4fa88c044ef6290372fee5ce06d223607f0e22a6e527065c8930e7" | 17 | SRC_URI[patch18.sha256sum] = "092437d27b4fa88c044ef6290372fee5ce06d223607f0e22a6e527065c8930e7" |
18 | 18 | ||
19 | inherit autotools-brokensep | 19 | inherit autotools-brokensep update-alternatives |
20 | 20 | ||
21 | do_configure () { | 21 | do_configure () { |
22 | ./configure --prefix=${prefix} | 22 | ./configure --prefix=${prefix} |
@@ -53,3 +53,7 @@ FILES_${PN}-dbg = "${prefix}/src/debug \ | |||
53 | ${bindir}/.debug ${sbindir}/.debug" | 53 | ${bindir}/.debug ${sbindir}/.debug" |
54 | 54 | ||
55 | RDEPENDS_${PN}-server = "tcp-wrappers xinetd" | 55 | RDEPENDS_${PN}-server = "tcp-wrappers xinetd" |
56 | |||
57 | ALTERNATIVE_PRIORITY = "100" | ||
58 | ALTERNATIVE_${PN}-client = "tftp" | ||
59 | ALTERNATIVE_LINK_NAME[tftp] = "${bindir}/tftp" | ||