Skip to content

Modernize layer, add CI, fix recipe metadata#47

Merged
EmbeddedAndroid merged 9 commits into
masterfrom
modernize-layer
May 14, 2026
Merged

Modernize layer, add CI, fix recipe metadata#47
EmbeddedAndroid merged 9 commits into
masterfrom
modernize-layer

Conversation

@EmbeddedAndroid
Copy link
Copy Markdown
Owner

Refreshes meta-rtlwifi after a year of drift so it actually works against currently-shipping Yocto releases and is wired up with CI to catch the next round of bitrot.

Layer compatibility was last updated for scarthgap; this drops the EOL series (dunfell, gatesgarth, mickledore) and claims compat with kirkstone, scarthgap, styhead, walnascar, whinlatter and wrynose. LAYERVERSION and LAYERDEPENDS on core are added (both expected by yocto-check-layer), and BBFILE_PATTERN is anchored to ^${LAYERDIR}/ so it can't accidentally match other layers.

Two SUMMARY/DESCRIPTION copy-paste bugs are fixed: rtl8192eu.bb described itself as "RTL8192AU", and rtl8723du.bb described itself as "RTL88x2BU" (this was the recipe referenced in issue #25). The 8723du recipe also gains an explicit DEPENDS = "virtual/kernel" and drops the ?= on LIC_FILES_CHKSUM so downstream overrides can't accidentally hide a license mismatch.

A GitHub Actions workflow runs on every push and PR:

  • parse + fetch matrix against poky kirkstone, scarthgap, styhead and walnascar (last four poky-the-combined-repo branches; whinlatter+ no longer ship a poky repo)
  • yocto-check-layer against scarthgap LTS

All four parse jobs succeeded locally against the same branches, fetch succeeded for every recipe, and rtl8821cu was compile-tested end-to-end against scarthgap with linux-yocto 6.6.127 (module built, packaged, QA clean). Compile coverage for the other seven drivers is intentionally out of scope here and will be a follow-up.

README gets a CI badge, a list of CI-verified releases, and a usage snippet.

Closes #25 (the rtl8723du recipe metadata bug that made it look like rtl88x2bu). Does not address #26 (rtl8192eu compile failure on STM32MP1) — no reproducer in the issue and the recipe still parses/fetches; future compile-matrix CI will reveal whether it builds against current kernels.

…SION

Drop EOL series (dunfell, gatesgarth, mickledore) and claim
compatibility with kirkstone, scarthgap, styhead, walnascar,
whinlatter and wrynose. Anchor BBFILE_PATTERN to ^${LAYERDIR}/
so other layers can't be accidentally matched.
The recipe describes the RTL8192EU chipset, not RTL8192AU.
This was likely a copy-paste artifact from when the recipe
was first added.
…KSUM

The SUMMARY/DESCRIPTION described RTL88x2BU (copy-paste from
rtl88x2bu.bb when this recipe was added). Switch to the
correct chipset name, declare DEPENDS on virtual/kernel
explicitly, and drop the weak (?=) assignment for the
license checksum so downstream overrides don't accidentally
mask it.
Parse the layer against the kirkstone, scarthgap, styhead and
walnascar poky branches on every push and PR, plus a fetch
job that exercises every recipe's SRC_URI to catch upstream
disappearances early. Also runs yocto-check-layer against
the scarthgap LTS branch.
yocto-check-layer's test_patches_upstream_status flags any patch
that doesn't carry an Upstream-Status: header. The two
modules_install patches are generic and could plausibly land
upstream (Pending); the IPS-disable patch is a downstream
behavioural tweak that won't (Inappropriate).
yocto-check-layer's test_readme requires the README contain the
word "maintainer". Point users at the GitHub issues/PRs as the
canonical channel.
This reverts commit d1efbb3.

Upstream poky scarthgap and walnascar still decorate
test_patches_upstream_status with @unittest.expectedFailure,
which means correctly-tagged patches turn the test into an
"unexpected success" and fail the run. The decorator is
finally removed in whinlatter; re-add Upstream-Status headers
when CI moves off scarthgap LTS.
scarthgap's test_readme asserts that the README contains the
strings "maintainer", "patch", and an email address. Add
"patches" to the maintainer paragraph and a maintainer email
to cover all three.
@EmbeddedAndroid EmbeddedAndroid merged commit 50d6ad2 into master May 14, 2026
5 checks passed
@EmbeddedAndroid EmbeddedAndroid deleted the modernize-layer branch May 14, 2026 00:47
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.

RTL8723du recipe

1 participant