[oe-commits] [meta-openembedded] 07/25: netkit-telnet: fix qa warnings of alternative target

git at git.openembedded.org git at git.openembedded.org
Fri Nov 2 17:06:26 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit bcbbace221149afb20dd500de1476cadcc3a2b46
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Tue Oct 30 16:36:43 2018 +0800

    netkit-telnet: fix qa warnings of alternative target
    
    When build lib32-netkit-telnet that multilib is enabled, it shows qa
    warnings of alternative target:
    
    | WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet:
    |   alternative target (/usr/bin/telnet or /usr/bin/telnet.netkit-telnet)
    |   does not exist, skipping...
    | WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet: NOT
    |   adding alternative provide /usr/bin/telnet:
    |   /usr/bin/telnet.netkit-telnet does not exist
    | WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet: alt_link
    |   == alt_target: /usr/bin/telnet == /usr/bin/telnet
    
    Set ALTERNATIVE_TARGET to fix the issue.
    
    Signed-off-by: Kai Kang <kai.kang at windriver.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb b/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb
index 807a867..db4b1c9 100644
--- a/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb
+++ b/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb
@@ -55,6 +55,7 @@ inherit update-alternatives
 ALTERNATIVE_PRIORITY = "100"
 ALTERNATIVE_${PN} = "telnet"
 ALTERNATIVE_LINK_NAME[telnet] = "${bindir}/telnet"
+ALTERNATIVE_TARGET[telnet] = "${bindir}/telnet.${PN}"
 
 SRC_URI[md5sum] = "d6beabaaf53fe6e382c42ce3faa05a36"
 SRC_URI[sha256sum] = "9c80d5c7838361a328fb6b60016d503def9ce53ad3c589f3b08ff71a2bb88e00"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list