Skip to main content
The following provides examples of how to customize images by removing display-related and Bluetooth-related packages.

Remove display packages from images

To remove the display-related packages from the build, run the following command:
bitbake qcom-multimedia-image
layers/meta-qcom-distro/recipes-products/packagegroups/packagegroup-qcom-multimedia.bb Before change
RDEPENDS:${PN}:append:qcom-custom-bsp = "\
    camera-server \
    packagegroup-qcom-audio \
    packagegroup-qcom-bluetooth \
    packagegroup-qcom-camera \
    packagegroup-qcom-display \
    packagegroup-qcom-fastcv \
    packagegroup-qcom-graphics \
    packagegroup-qcom-iot-base-utils \
    packagegroup-qcom-location \
    packagegroup-qcom-video \
    packagegroup-qcom-voiceai \
    "
After change
RDEPENDS:${PN}:append:qcom-custom-bsp = "\
    camera-server \
    packagegroup-qcom-audio \
    packagegroup-qcom-bluetooth \
    packagegroup-qcom-camera \
    packagegroup-qcom-fastcv \
    packagegroup-qcom-graphics \
    packagegroup-qcom-iot-base-utils \
    packagegroup-qcom-location \
    packagegroup-qcom-video \
    packagegroup-qcom-voiceai \
    "
After running the above command, the display-related packages are removed from the build. The content from the packagegroup-qcom-display.bb package group is removed from the image.

Remove Bluetooth® from images

To remove the Bluetooth-related packages from the build, run the following command:
bitbake qcom-multimedia-image
layers/meta-qcom-distro/recipes-products/packagegroups/packagegroup-qcom-multimedia.bb Before change
RDEPENDS:${PN}:append:qcom-custom-bsp = "\
    camera-server \
    packagegroup-qcom-audio \
    packagegroup-qcom-bluetooth \
    packagegroup-qcom-camera \
    packagegroup-qcom-display \
    packagegroup-qcom-fastcv \
    packagegroup-qcom-graphics \
    packagegroup-qcom-iot-base-utils \
    packagegroup-qcom-location \
    packagegroup-qcom-video \
    packagegroup-qcom-voiceai \
    "
After change
RDEPENDS:${PN}:append:qcom-custom-bsp = "\
    camera-server \
    packagegroup-qcom-audio \
    packagegroup-qcom-camera \
    packagegroup-qcom-fastcv \
    packagegroup-qcom-graphics \
    packagegroup-qcom-iot-base-utils \
    packagegroup-qcom-location \
    packagegroup-qcom-video \
    packagegroup-qcom-voiceai \
    "
After running the bitbake qcom-multimedia-image command, the Bluetooth-related packages are removed from the build. The content from the packagegroup-qcom-bluetooth.bb package group is removed from the image recipe.