aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2019-06-10 15:24:22 +0800
committerArmin Kuster <akuster808@gmail.com>2019-06-10 07:35:27 -0700
commitb1e379ee5c1cc0affcf81ba2254eea3d49c7a0ac (patch)
treed5a41060fd09ef72fa5c0cd4af7b25f374cbf014
parent376d34368e92e57e88d441980f1c8f63390e7f71 (diff)
downloadmeta-security-b1e379ee5c1cc0affcf81ba2254eea3d49c7a0ac.tar.gz
meta-security-b1e379ee5c1cc0affcf81ba2254eea3d49c7a0ac.tar.bz2
meta-security-b1e379ee5c1cc0affcf81ba2254eea3d49c7a0ac.zip
python-scapy: Remove redundant sed operations
-Remove redundant sed operations. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/scapy/python-scapy.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/recipes-security/scapy/python-scapy.inc b/recipes-security/scapy/python-scapy.inc
index 99f30a7..baa69b2 100644
--- a/recipes-security/scapy/python-scapy.inc
+++ b/recipes-security/scapy/python-scapy.inc
@@ -12,13 +12,6 @@ SRC_URI = "git://github.com/secdev/scapy.git"
inherit ptest
-do_install_append() {
- if [ "${PYTHON_PN}" = "python3" ]; then
- sed -i -e 's/python/python3/' ${D}${bindir}/scapy
- sed -i -e 's/python/python3/' ${D}${bindir}/UTscapy
- fi
-}
-
do_install_ptest() {
install -m 0644 ${S}/test/regression.uts ${D}${PTEST_PATH}
sed -i 's,@PTEST_PATH@,${PTEST_PATH},' ${D}${PTEST_PATH}/run-ptest