[iMX8M Plus][LF-5.20.72_2.2.0] How to exclude isp-imx & kernel-module-isp-vvcam packages?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[iMX8M Plus][LF-5.20.72_2.2.0] How to exclude isp-imx & kernel-module-isp-vvcam packages?

663 Views
khang_letruong
Senior Contributor III

Dear NXP Community and Yocto Experts,

For specific reason, I would like to exclude isp-imx & kernel-module-isp-vvcam packages from imx-image-full with following setting but it seems not enough, especially for the later one :

 

 

IMAGE_INSTALL_remove += " isp-imx kernel-module-isp-vvcam"
PACKAGE_EXCLUDE += " isp-imx kernel-module-isp-vvcam"

 

 

 

Possibly that there's some dependency on kernel-module-isp-vvcam that I haven't known yet and thus the above exclusion does not work.

Could someone give me a suggestion, please ?

Thanks in advance,

Khang

0 Kudos
Reply
1 Reply

646 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @khang_letruong 

As cited from Yocto(https://docs.yoctoproject.org/3.3.6/ref-manual/variables.html?highlight=package_exclude#term-PACKAGE...,

If you choose to not install a package using this variable and some other package is dependent on it (i.e. listed in a recipe’s RDEPENDS variable), the OpenEmbedded build system generates a fatal installation error. Because the build system halts the process with a fatal error, you can use the variable with an iterative development process to remove specific components from a system.

Support for this variable exists only when using the IPK and RPM packaging backend. Support does not exist for DEB.

Tow exclude these packages, here is a bit advice.

To exclude isp-imx, checking ../sources/meta-freescale/recipes-bsp/isp-imx/isp-imx_4.2.2.13.0.bb and meta-imx/meta-bsp/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb. there are rdepends that need to be considered. And about its dependencies, you can try bitbake -g <image>

To exclude  kernel-module-isp-vvcam, You may have a try to disable "inherit module" in its recipe.

Best regards

Harvey

 

0 Kudos
Reply