cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove APT and DPKG from yocto build

JJimé.2
Associate II

Hello,

We are using st-image-core from recipes-st in yocto and I'm removing some packages from the build that we don't really need. While going through the list, I have found that apt and dpkg are being built and I would like to remove them from my image.

I have tried using SKIP_RECIPE[apt] and SKIP_RECIPE[dpkg] in the local.conf file, but all I get is an error saying they are dependencies:

ERROR: Required build target 'st-image-core' has no buildable providers.
Missing or unbuildable dependency chain was: ['st-image-core', 'apt']
ERROR: Required build target 'st-image-core' has no buildable providers.
Missing or unbuildable dependency chain was: ['st-image-core', 'dpkg']

I have been digging through the recipes and I couldn't find the dependency for those two packages. Is there any way to remove them from the image?

Thank you.

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @Jesús Jiménez Sánchez​ ,

Sorry your post didn't get an answer earlier.

I have no straightforward answer but let me know if you succeed to manage or still stuck.

In that case I would analyze this further.

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.