Skip to contentSkip to conversation

Remove *-dev packages from final image

DISCUSSION Mauro Ziliani 2 participants 3 messages Mar 8, 2021 – Mar 9, 2021

lore
Share & tools
lore
#0 lore raw

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?
Thanks all
MZ

#1 lore raw
Quoted 36 lines · Mauro Ziliani

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 \
"

Quoted 5 lines

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.

Quoted 9 lines

Thanks all
   MZ

#2 lore raw

Thanks a lot.
I'll do it

MZ

Quoted 59 lines · Khem Raj
Quoted 37 lines · Mauro Ziliani

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 \
"

Quoted 5 lines

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.

Quoted 9 lines

Thanks all
MZ