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 <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Zang Ruochen
2019-06-10 15:24:23 +08:00
committed by Armin Kuster
parent b1e379ee5c
commit 470271aea7

View File

@@ -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
}