Skip to content

Update the meta-lts-mixins layer#2542

Draft
quaresmajose wants to merge 3 commits into
qualcomm-linux:wrynosefrom
quaresmajose:meta-lts-mixins
Draft

Update the meta-lts-mixins layer#2542
quaresmajose wants to merge 3 commits into
qualcomm-linux:wrynosefrom
quaresmajose:meta-lts-mixins

Conversation

@quaresmajose

@quaresmajose quaresmajose commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

In order to make the meta-lts-mixins/wrynose/linux-firmware layer
Yocto Project Compatible, the layer no more provide linux-firmware
by default unless that is explicitly stated in the variable
LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE.

Relevant changes for meta-lts-mixins:

  • 7d003ac README: add LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE
  • 2145371 linux-firmware: add LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE
  • 6b8dd8b layer.conf: add LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE
  • 11dcf7d SECURITY.md: describe security policy and pointers
  • 9cab569 linux-firmware: set DEFAULT_PREFERENCE to "-1"
  • b9d53c1 layer.conf: use the same priority as OE-Core

Fix #2457

Relevant changes for meta-lts-mixins:
- 7d003ac README: add LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE
- 2145371 linux-firmware: add LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE
- 6b8dd8b layer.conf: add LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE
- 11dcf7d SECURITY.md: describe security policy and pointers
- 9cab569 linux-firmware: set DEFAULT_PREFERENCE to "-1"
- b9d53c1 layer.conf: use the same priority as OE-Core

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
In order to make the meta-lts-mixins/wrynose/linux-firmware layer
Yocto Project Compatible, the layer no more provide linux-firmware
by default unless that is explicitly stated in the variable
LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
@ricardosalveti

Copy link
Copy Markdown
Contributor
AssertionError: Adding layer meta-qcom changed signatures.
19 signatures changed, initial differences (first hash before, second after):
   linux-firmware:do_create_recipe_spdx: bab1b2067febb9419099fa5f43f9f8393514d72d23db048ecc69510465282d5c -> 2b7f4315de17afadbc4bf8a353daadb8793ffe16dfec1f4977a4fe43b366a154
      bitbake-diffsigs --task linux-firmware do_create_recipe_spdx --signature bab1b2067febb9419099fa5f43f9f8393514d72d23db048ecc69510465282d5c 2b7f4315de17afadbc4bf8a353daadb8793ffe16dfec1f4977a4fe43b366a154
      NOTE: Reconnecting to bitbake server...
      basehash changed from 46cba62ccb5eff24221fabd763de8b77e724db7f6a8eeb77c4ffac3c381fc667 to 339c2ad62f98341d22c355d096046c3fdf7bccb0ed59759573b376a4ebd79a7f
      Variable FILE_LAYERNAME value changed from 'core' to 'lts-linux-firmware-mixin'
      Variable PV value changed from '20260410' to '20260519'

   linux-firmware:do_recipe_qa: 0a18db85941ae3add26ad234486a1b01b31b7b54ffb4633aff35a5fa2381386a -> 6641f9c12a0021a333d7c1c68977c65da63bc9ab155765a6de49f03b1b75e449
      bitbake-diffsigs --task linux-firmware do_recipe_qa --signature 0a18db85941ae3add26ad234486a1b01b31b7b54ffb4633aff35a5fa2381386a 6641f9c12a0021a333d7c1c68977c65da63bc9ab155765a6de49f03b1b75e449
      NOTE: Reconnecting to bitbake server...
      basehash changed from fa8bf6aaa007c88ff876d2fc147da2c6078f9d10f7d6f81c03814bb94c8f5f2e to fb1537cd0a14db2f65fd517807245c6f82c9118587c5c752fcdf6714836c0f03
      Variable PV value changed from '20260410' to '20260519'
      Variable SRC_URI[sha256sum] value changed from 'b7812ed6d59f6b09ecceddaa0be842a7e82a79cc0e46ca60478a4ebf02f1e178' to 'b14e7197a290a7e5569f5ef790cde289bddc47e32126f2eb262a8e677fc39727'

Comment thread conf/layer.conf
LAYERSERIES_COMPAT_qcom = "wrynose"

# Use the linux-firmware provided by the lts-mixins layer
LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE = "1"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should be set via setting the DEFAULT_PREFERENCE in the bbappend

@lumag

lumag commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

I've posted #2551 . Please consider that one.
Also, @quaresmajose , LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE doesn't fit the YP compatibility idea. Please revert those comments from the mixins layer.

@quaresmajose

Copy link
Copy Markdown
Contributor Author

I'm trying to find a solution to the problem.

@quaresmajose quaresmajose marked this pull request as draft June 19, 2026 15:51
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
@quaresmajose

Copy link
Copy Markdown
Contributor Author

I've posted #2551 . Please consider that one.

The mixins is already YP compatible given that it is passing the check layer with your change 11dcf7d SECURITY.md: describe security policy and pointers. But we can't use it as a dependency of meta-qcom, because when we add the override in meta-qcom to disable the DEFAULT_PREFERENCE = -1 of the mixins we break YP compat.

Also, @quaresmajose , LTS_LINUX_FIRMWARE_MIXIN_DEFAULT_PREFERENCE doesn't fit the YP compatibility idea. Please revert those comments from the mixins layer.

Replied on the mailing list:

I have merged these changes but this also breaks the Yocto Project Compatible check layer.
In reality, I think the concept of the mixin layer will always break the Yocto Project Compatible,
because the desire of the mixin layer is to introduce a more recent version of the one
provided by OE-core.

I'll have to revert those commits, but I'm looking for a way to do this while maintaining
the layer Yocto Project Compatible. If anyone has any suggestions, I would appreciate it.

https://lists.yoctoproject.org/g/yocto-patches/message/4250

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit b5f0f9c

nodistro
Pass: 9 | Fail: 0 | Total: 9
qcom-distro_linux-qcom-next
Pass: 257 | Fail: 0 | Total: 297
qcom-distro
Pass: 210 | Fail: 0 | Total: 250

@test-reporting-app

Copy link
Copy Markdown

Test Results

  105 files  ± 0    634 suites  ±0   5h 32m 19s ⏱️ + 36m 27s
  125 tests  -  2    125 ✅ +21   0 💤 ± 0  0 ❌  - 23 
6 037 runs  +17  5 957 ✅ +50  80 💤  - 10  0 ❌  - 23 

Results for commit b5f0f9c. ± Comparison against base commit 032f36b.

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