From 90e5ced278a5b03a44ff4265bc526118def3f490 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 30 Nov 2018 12:01:43 -0800 Subject: [PATCH] Include the opencv jar in the image. --- copyextfiles.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/copyextfiles.sh b/copyextfiles.sh index 5b22772..56983b8 100755 --- a/copyextfiles.sh +++ b/copyextfiles.sh @@ -13,6 +13,8 @@ cp ../raspbian-openjdk/jdk_11.0.1-strip.tar.gz stage2/01-sys-tweaks/extfiles/ sh -c 'cd ../thirdparty-opencv/buildShared/linux-raspbian/lib && tar czf - libopencv*' > stage2/01-sys-tweaks/extfiles/libopencv.tar.gz +cp ../thirdparty-opencv/buildShared/linux-raspbian/bin/opencv-*.jar stage2/01-sys-tweaks/extfiles/ + # the opencv build names the python .so with the build platform name instead # of the target platform, so rename it cp ../thirdparty-opencv/buildShared/linux-raspbian/lib/python3/cv2.*.so stage2/01-sys-tweaks/extfiles/cv2.cpython-35m-arm-linux-gnueabihf.so