Re: Remove *-dev packages from final image


Mauro Ziliani
 

Thanks a lot.
I'll do it

MZ


On mar 8 2021, at 7:39 pm, Khem Raj <raj.khem@...> wrote:


On 3/8/21 3:59 AM, Mauro Ziliani wrote:
> Hi all.
> I'm in trouble to remove the *-dev packages from final image.
>
> I remove dev-pkgs and dbg-pkgs from EXTRA_IMAGE_FEATURES and
> IMAGE_FEATURES with lines
>
> IMAGE_FEATURES_remove = " \
>        dbg-pkgs \
>        dev-pkgs \
> "
>
> EXTRA_IMAGE_FEATURES_remove = " \
>        dbg-pkgs \
>        dev-pkgs \
> "
>
> But *-dev persists.
>
> I suppose there is some package-group which installs *-dev
>
> In the image recipe I includes
>
> require recipes-sato/images/core-image-sato.bb
> require recipes-fsl/images/fsl-image-multimedia-full.bb
>
> and I force a remove with
>
> IMAGE_INSTALL_remove = " \
>         packagegroup-fsl-tools-gpu \
>         imx-gpu-sdk \
>         packagegroup-core-x11-sato-games \
>         attr-dev \
>         alsa-lib-dev \
>         base-file-dev \
>         connman \
> "
>
> Even if I remove alsa-lib-dev  I find it in the manifest.
>
> I'm working with a Krogoth
>
> Any idea?

you might find the dependency with bitbake -g <your-image> and
insepcting the generated dependecy files.

>
> Thanks all
>    MZ
>
>
>
>
>
>

Join yocto@lists.yoctoproject.org to automatically receive all group messages.