Skip to content

Commit 5d41994

Browse files
committed
tensorflow-lite: fix curl and unzip dependency issue while downloading the dependencies
Depending on the host configuration that run the Yocto build system, tensorflow-lite recipe may failed because curl and unzip tools are not found. Signed-off-by: Vincent ABRIOU <[email protected]>
1 parent 9fc1f80 commit 5d41994

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

recipes-frameworks/tensorflow-lite/tensorflow-lite_2.4.1.bb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ inherit setuptools3
1717

1818
DEPENDS = " \
1919
coreutils-native \
20-
curl-native \
2120
gzip-native \
22-
unzip-native \
2321
swig-native \
2422
python3-wheel-native \
2523
python3-numpy-native \
@@ -37,6 +35,7 @@ COMPATIBLE_HOST_aarch64_class-target = 'null'
3735

3836
do_configure[noexec] = "1"
3937
do_unpack[postfuncs] += " download_dependencies "
38+
do_unpack[depends] += "curl-native:do_populate_sysroot unzip-native:do_populate_sysroot"
4039

4140
download_dependencies(){
4241
if [ -n "${http_proxy}" ]; then

0 commit comments

Comments
 (0)