diff options
-rw-r--r-- | recipes-extended/dpdk/dpdk.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc index 9b04881..99d1f69 100644 --- a/recipes-extended/dpdk/dpdk.inc +++ b/recipes-extended/dpdk/dpdk.inc | |||
@@ -34,7 +34,7 @@ export CONFIG_HAVE_NUMA = "${@bb.utils.contains('PACKAGECONFIG', 'numa', 'y', 'n | |||
34 | # specific directory | 34 | # specific directory |
35 | datadir[unexport] = "1" | 35 | datadir[unexport] = "1" |
36 | 36 | ||
37 | RDEPENDS_${PN} += "python-subprocess" | 37 | RDEPENDS_${PN} += "python3-core" |
38 | DEPENDS = "virtual/kernel" | 38 | DEPENDS = "virtual/kernel" |
39 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 39 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
40 | 40 | ||
@@ -143,6 +143,10 @@ do_install () { | |||
143 | done | 143 | done |
144 | 144 | ||
145 | cp -r ${S}/mk ${D}${INSTALL_PATH}/ | 145 | cp -r ${S}/mk ${D}${INSTALL_PATH}/ |
146 | |||
147 | for ss in $(find ${D} -type f -name "*.py"); do | ||
148 | sed -i -e "1s,#!.*python.*,#!${USRBINPATH}/env python3," ${ss} | ||
149 | done | ||
146 | } | 150 | } |
147 | 151 | ||
148 | PACKAGES += "${PN}-examples ${PN}-test" | 152 | PACKAGES += "${PN}-examples ${PN}-test" |