diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-09-01 15:17:32 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-09-01 15:37:44 -0700 |
commit | 6cfa5d0ed8aebed060d21f85240875f1005b6240 (patch) | |
tree | b3993b4f6d729ab17238dfc7866bb80a1841e830 /meta-networking/recipes-netkit | |
parent | 915844297a91694fa5e43d3d38f6b0e752734178 (diff) | |
download | meta-openembedded-contrib-6cfa5d0ed8aebed060d21f85240875f1005b6240.tar.gz |
netkit-ftp: Use update-alternatives for ftp
So it can live with other providers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-netkit')
-rw-r--r-- | meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb b/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb index cf306ec82e..628047eee6 100644 --- a/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb +++ b/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb @@ -16,7 +16,7 @@ SRC_URI[archive.sha256sum] = "61c913299b81a4671ff089aac821329f7db9bc111aa812993d SRC_URI[patch31.md5sum] = "93d71e28ce70df69e080c7f90da63cac" SRC_URI[patch31.sha256sum] = "4edd46a32d70daa7ba00f0ebf0118dc5d17dff23d6e46aa21a2722be2e22d1c1" -inherit autotools-brokensep +inherit autotools-brokensep update-alternatives CLEANBROKEN = "1" @@ -47,3 +47,7 @@ FILES_${PN}-dbg = "${prefix}/src/debug \ ${bindir}/.debug" RDEPENDS_${PN} = "readline" + +ALTERNATIVE_PRIORITY = "100" +ALTERNATIVE_${PN} = "ftp" +ALTERNATIVE_LINK_NAME[ftp] = "${bindir}/ftp" |