[yocto] [meta-security][master][warrior][PATCH 3/3] python3-scapy: solved the conflict with python-scapy

Zang Ruochen zangrc.fnst at cn.fujitsu.com
Mon Jun 10 00:24:24 PDT 2019


-Rename the following file to resolve the conflict with python-scapy:
	Rename /usr/bin/UTscapy to /usr/bin/UTscapy3
	Rename /usr/bin/scapy to /usr/bin/scapy3

Signed-off-by: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
---
 recipes-security/scapy/python3-scapy_2.4.2.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-security/scapy/python3-scapy_2.4.2.bb b/recipes-security/scapy/python3-scapy_2.4.2.bb
index 83c79f4..abcaeeb 100644
--- a/recipes-security/scapy/python3-scapy_2.4.2.bb
+++ b/recipes-security/scapy/python3-scapy_2.4.2.bb
@@ -3,3 +3,7 @@ require python-scapy.inc
 
 SRC_URI += "file://run-ptest"
 
+do_install_append() {
+        mv ${D}${bindir}/scapy ${D}${bindir}/scapy3
+        mv ${D}${bindir}/UTscapy ${D}${bindir}/UTscapy3
+}
-- 
2.20.1





More information about the yocto mailing list