-
Notifications
You must be signed in to change notification settings - Fork 164
Add CI jobs for qcom-distro-selinux #1288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Add `qcom-distro-selinux-prop-image.yml` to enable SELinux support in proprietary image builds. This configuration sets the distro to qcom-distro-selinux and builds qcom-multimedia-proprietary-image. Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
Add jobs for building qcom-multimedia-proprietary-image with qcom-distro-selinux distro to generate images with SELinux enabled. Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
| - name: qcom-distro-kvm | ||
| yamlfile: ':ci/qcom-distro-kvm.yml' | ||
| - name: qcom-distro-selinux-prop-image | ||
| yamlfile: ':ci/qcom-distro-selinux-prop-image.yml' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this should not be done in the 'cache warm up' stage. I'll send corresponding changes to drop other jobs from this part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for clarifying that this shouldn’t be part of the cache warm-up stage. Hope you are working on this and will share a change for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lumag , i think it makes sense to kvm and sota in the warmup section since they are generic distro built for several machines, so the warmup seems 'useful' in this case (though we might benefit to split into 2 warmup sections for 'base' and slightly modified distro.. but it's pushing too much).
However we should not have any of the 'prop' distro or images in the warmup, since there is very little benefit since the prop content is typically machine specific or proprietary blob.
do you agree?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, the main purpose of the warmup is to push armv8a / armv8-2a builds into the sstate-cache. Please correct me if I'm wrong, but neither kvm nor sota will result in a big number of additions to the sstate-cache (on the other hand, building them at this stage will take more time as the packages are not a part of the cache).
Performing separate prop build at this stage doesn't make sense. However I still hope to land #1106, removing a separate build step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, the main purpose of the warmup is to push armv8a / armv8-2a builds into the sstate-cache. Please correct me if I'm wrong, but neither kvm nor sota will result in a big number of additions to the sstate-cache (on the other hand, building them at this stage will take more time as the packages are not a part of the cache).
there are a few changes for kvm and sota, but maybe not much, so perhaps it's indeed easier to keep the warmup simple, so let's move them in the compile section.
Performing separate prop build at this stage doesn't make sense. However I still hope to land #1106, removing a separate build step.
It had been a while since I checked #1106, it does look really good now. we could split compile into compile_armv8 and compile_armv7 to simplify a bit the matrix definition, but it can be done separately.
Test run workflowTest jobs for commit 355e480
|
Add kas fragment and extend build-yocto.yml to also cover qcom-distro-selinux as another variant for prop image.