meta-digi-dey: on CC6UL add connectcore demo only for core-image-base

If we add the demo to the graphical images (dey-image-qt) the resulting
image does not fit on the rootfs partition for the smallest variant.

https://onedigi.atlassian.net/browse/DEL-8004

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2022-10-18 11:30:26 +02:00
parent 2395378ec4
commit cd9e12da32
2 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2016 Digi International.
# Copyright (C) 2016-2022 Digi International.
#
IMAGE_FEATURES += " \
@ -18,6 +18,11 @@ IMAGE_FEATURES:remove = "${@oe.utils.conditional('IS_HEADLESS', 'true', ' splash
CORE_IMAGE_BASE_INSTALL += "dey-examples-digiapix"
# The connectcore demo was removed from 'packagegroup-dey-core' for the
# 6UL (because of rootfs space limits). Add it here, to install it in the
# non-graphical core-image-base.
CORE_IMAGE_BASE_INSTALL:append:ccimx6ul = " connectcore-demo-example"
# SDK features (for toolchains generated from an image with populate_sdk)
SDKIMAGE_FEATURES ?= "dev-pkgs dbg-pkgs staticdev-pkgs"

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2012-2017 Digi International.
# Copyright (C) 2012-2022 Digi International.
#
SUMMARY = "Core packagegroup for DEY image"
@ -67,6 +67,10 @@ RDEPENDS:${PN} = "\
${MACHINE_EXTRA_RDEPENDS} \
"
# The rootfs in the CC6UL is not big enough for graphic images (QT) and the
# connectcore demo, so we restrict the demo only for the 'core-image-base'
RDEPENDS:${PN}:remove:ccimx6ul = "connectcore-demo-example"
RRECOMMENDS:${PN} = "\
${VIRTUAL-RUNTIME_base-utils-syslog} \
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} \