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:38:28 -0700
commit3a02e2dd1c91a055c9d996fd8f14d3dada06f150 (patch)
tree3caa266052a0ae306fca50e67bbb5a33fe26114a
parent7df33d377a93fe0bb92d4f76596ac2d458c7e70f (diff)
downloadmeta-security-3a02e2dd1c91a055c9d996fd8f14d3dada06f150.tar.gz
meta-security-3a02e2dd1c91a055c9d996fd8f14d3dada06f150.tar.bz2
meta-security-3a02e2dd1c91a055c9d996fd8f14d3dada06f150.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