From 4914a44e6acb53ddb9bea0ca38799b5a94ad8ef6 Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Mon, 10 Jun 2019 15:24:23 +0800 Subject: python-scapy: solved the conflict with python3-scapy -Rename the following file to resolve the conflict with python3-scapy: Rename /usr/bin/UTscapy to /usr/bin/UTscapy2 Rename /usr/bin/scapy to /usr/bin/scapy2 Signed-off-by: Zang Ruochen Signed-off-by: Armin Kuster --- recipes-security/scapy/python-scapy_2.4.2.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-security/scapy/python-scapy_2.4.2.bb b/recipes-security/scapy/python-scapy_2.4.2.bb index 98db1fd..982620e 100644 --- a/recipes-security/scapy/python-scapy_2.4.2.bb +++ b/recipes-security/scapy/python-scapy_2.4.2.bb @@ -4,3 +4,8 @@ require python-scapy.inc SRC_URI += "file://run-ptest" RDEPENDS_${PN} += "${PYTHON_PN}-subprocess" + +do_install_append() { + mv ${D}${bindir}/scapy ${D}${bindir}/scapy2 + mv ${D}${bindir}/UTscapy ${D}${bindir}/UTscapy2 +} -- cgit v1.2.3-54-g00ecf