Skip to content

Another view on meta-qcom-distro CI#172

Open
lumag wants to merge 10 commits intoqualcomm-linux:mainfrom
lumag:qcom-distro-ci
Open

Another view on meta-qcom-distro CI#172
lumag wants to merge 10 commits intoqualcomm-linux:mainfrom
lumag:qcom-distro-ci

Conversation

@lumag
Copy link
Contributor

@lumag lumag commented Feb 17, 2026

Reuse most of @quaresmajose's work from #139 , implement yocto-check-layers and provide duplicate KAS yaml configuration.

lumag and others added 10 commits February 17, 2026 13:02
…nalyze

Parsing of meta-qcom-distro recipes fails if systemd is not enabled in
DISTRO_FEATURES. Hide systemd-analyze dependency behind the
DISTRO_FEATURES check.

BitBake error:
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'packagegroup-qcom-utilities', 'systemd-analyze']

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
To get CI going on meta-qcom-distro, copy over the meta-qcom
.github/workflows folder revision c5ef0066e [1].

[1] c5ef0066e Enable TPM Stack (#1504)

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
We can discard the scheduled jobs, nightly-build and monthly,
that are already being carried out at meta-qcom ci.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
The tests workflows are not ready and will be proposed later after the first phase.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
We will reuse the actions from the meta-com repository to avoid code duplication.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
The branch name here is main and not master like in meta-qcom.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
We will exercise all qcom-distro distributions variants here.
The poky-altcfg is more appropriate for testing the Yocto distributions,
and are already tested in the meta-qcom layer.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Import CI configuration matching metea-qcom commit 05fed45a3063 ("ci:
remove qcm6490 qmc2290 soc yaml file (#1578)").

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Adapt CI configuration to be executed from the meta-qcom-distro layer
rather than bare meta-qcom.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
In order to test the meta-qcom-distro we need to perform several
changes. First of all, specify DISTRO_FEATURES matching qcom-distro,
otherwise qcom-distro packages can't pull in dependencies like
vulkan-tool. Second, provide workarounds for recipes outside of
qcom-distro, which otherwise break yocto-check-layers.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Copy link

@quaresmajose quaresmajose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are essentially implementing a completely new IC, practically duplicating everything. I don't think that's what we intend.

echo 'REQUIRED_DISTRO_FEATURES = "systemd"' >> meta-patch/recipes-patch/patch/packagegroup-yocto-builder.bbappend

# DISTRO features of qcom-distro
echo 'DISTRO_FEATURES:append:nodistro = " \
Copy link

@quaresmajose quaresmajose Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't use the the nodistro to validate our distro, It would be more appropriate to use one of our distributions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We aren't validating a DISTRO, we are validating the layer to see if it's inert and doesn't have leaky overrides, no?

Copy link

@quaresmajose quaresmajose Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default DISTRO=nodistro of bitbake can be changed to DISTRO=qcom-distro before the oe-init-build-env. Or do you think only nodistro should be used? A few months ago, it was Poky that was used upstream in the autobuilder and it still is if you use the poky repository.

I misspoke when I said we are validating the distro; what I meant was validating the distro's layer.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quaresmajose yocto-check-layer generates task signatures both with and without the layer and then compares them, checking that the layer doesn't have any unwanted side effects. You can't generate signatures of the tasks for DISTRO=qcom-distro without meta-qcom-distro layer, which means we don't have a base point to compare signatures to.


repos:
meta-qcom:
url: https://github.com/qualcomm-linux/meta-qcom

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The last commit hack in #139 are still there

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand your comment. I dropped two commits from #139: the yocto-check-layer and the last one.

repos:
meta-qcom-distro:
url: https://github.com/qualcomm-linux/meta-qcom-distro
branch: main

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The last commit hack in #139 are still there

@@ -0,0 +1,70 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json
Copy link

@quaresmajose quaresmajose Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see much sense in this, the ci/base.yml has nothing to do with qcom-distro

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed this several times. Currently we duplicate the KAS fragments, possibly deduplicating them later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants