summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-06-17 09:28:28 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2023-06-17 09:38:04 +0200
commit73ed893b4c1a38ea874f2a3309a4f0c185c9278a (patch)
treea597e0616dce66205b9cc3a1df7833fba1b57e89
parent61c96bc314a271f4f149e0b18616f04a34af2a6c (diff)
downloadmeta-freescale-73ed893b4c1a38ea874f2a3309a4f0c185c9278a.tar.gz
basler-camera: delete files also provided by isp-imx
The binary blob providing basler-camera files now (4.2.2.21) contains configuration files for the Omnivion OS08A20 as used on NXP's camera module [1]. Those files have been and still are provided by isp-imx. The content is identical. Delete them to prevent the following error during do_rootfs if the basler-camera package is installed into a image: | * check_data_file_clashes: Package libdaa3840-30mc1 wants to install file | .../rootfs/opt/imx8-isp/bin/dewarp_config/sensor_dwe_os08a20_1080P_config.json | But that file is already provided by package * isp-imx | * check_data_file_clashes: Package libdaa3840-30mc1 wants to install file | .../rootfs/opt/imx8-isp/bin/dewarp_config/sensor_dwe_os08a20_4K_config.json | But that file is already provided by package * isp-imx [1] https://www.nxp.com/part/IMX-OS08A20#/ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb
index 78a666c66..9eaa11b81 100644
--- a/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb
+++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb
@@ -12,6 +12,10 @@ SRC_URI[md5sum] = "4e33adeb8a43f5bd06703368721085f5"
12SRC_URI[sha256sum] = "c44fc890902d9d8ef22186d56af035c9cac182817525e64575e3b79015383790" 12SRC_URI[sha256sum] = "c44fc890902d9d8ef22186d56af035c9cac182817525e64575e3b79015383790"
13 13
14do_install() { 14do_install() {
15 # provided by the isp-imx package, do not install them here additionally
16 rm -f ${S}/opt/imx8-isp/bin/dewarp_config/sensor_dwe_os08a20_1080P_config.json
17 rm -f ${S}/opt/imx8-isp/bin/dewarp_config/sensor_dwe_os08a20_4K_config.json
18
15 dest_dir=${D}/opt/imx8-isp/bin 19 dest_dir=${D}/opt/imx8-isp/bin
16 install -d ${D}/${libdir} 20 install -d ${D}/${libdir}
17 install -d $dest_dir 21 install -d $dest_dir