diff options
author | Zoltán Böszörményi <zboszor@gmail.com> | 2025-09-09 14:43:14 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-09-09 09:39:55 -0700 |
commit | 49c1d504d6f798afea30b0522a0704a914f0deba (patch) | |
tree | 8d0f19f7fd3c095709bf28d9fd6f55e9f162f5c6 | |
parent | f8498f26991fbd8ea996dcf7c63d1c79e9c034a7 (diff) | |
download | meta-openembedded-49c1d504d6f798afea30b0522a0704a914f0deba.tar.gz |
opencv: Only rename ${bindir}/shape if it exists
Its creation depends on PACKAGECONFIG = "samples", which may be
removed in a bbappend.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/opencv/opencv_4.12.0.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_4.12.0.bb b/meta-oe/recipes-support/opencv/opencv_4.12.0.bb index 539190553d..86af1ebc43 100644 --- a/meta-oe/recipes-support/opencv/opencv_4.12.0.bb +++ b/meta-oe/recipes-support/opencv/opencv_4.12.0.bb | |||
@@ -214,7 +214,9 @@ do_install:append() { | |||
214 | fi | 214 | fi |
215 | done | 215 | done |
216 | 216 | ||
217 | # rename shape dir to avoid rootfs conflict with | 217 | if [ -d ${D}/${bindir}/shape ]; then |
218 | # mesa-demos /usr/bin/shape file. | 218 | # rename shape dir to avoid rootfs conflict with |
219 | mv ${D}/${bindir}/shape ${D}/${bindir}/opencv_shape | 219 | # mesa-demos /usr/bin/shape file. |
220 | mv ${D}/${bindir}/shape ${D}/${bindir}/opencv_shape | ||
221 | fi | ||
220 | } | 222 | } |