Skip to content

feat(yocto): add OpenNOW layer and reference images - #905

Open
zortos293 wants to merge 3 commits into
devfrom
capy/yocto-layer
Open

zortos293 wants to merge 3 commits into
devfrom
capy/yocto-layer

Conversation

@zortos293

@zortos293 zortos293 commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Adds meta-opennow for Yocto 6.0 Wrynose with Qt 6.11, glibc, and x86-64/AArch64 targets.

  • Builds the Qt client from separately cross-compiled Rust runtime artifacts and a native license-report tool. The opt-in CMake import preserves sibling executable lookup and $ORIGIN library loading without invoking Cargo; existing desktop builds retain their normal path.
  • Uses distribution FFmpeg/VAAPI and SDL3, checksum-pinned Cargo archives, and pinned SDL2 Git submodules. Cargo source replacement preserves both lockfiles and configure checks resolve them offline with --frozen. Intermediate staging preserves symbols for final package stripping/debug splitting.
  • Includes pinned kas configurations, Weston reference images, integration/licensing/device guidance, a dependency-metadata generator, and CI for the CMake contract and both image dependency graphs. Reference images explicitly allow empty-password root login for development, not production use.

Validation performed:

  • All 113 Qt build/packaging contract tests and 7 source-metadata tests passed. Workflow lint and kas bootstrap from a fresh build directory also passed. CMake tests configure, compile, install, relocate, and execute test-only ELF fixtures using the production build modules, and exercise cross-sysroot Wayland scanner paths.
  • bitbake -g opennow-image passed through the actual kas configurations for qemux86-64 and qemuarm64.
  • BitBake recipe QA, fetch, and unpack passed for all three application recipes, including the registry archives and SDL2 submodules.
  • Both fetched workspaces resolved with cargo metadata --frozen and CARGO_NET_OFFLINE=true, using the recipe's SDL2 source-replacement function; neither lockfile changed.
  • Generated metadata consistency and git diff --check passed.

A complete Yocto cross-build, image boot, and hardware/GFN streaming session have not been validated. This PR establishes the layer and its build contracts, not production certification for a board.

Open in Capy

@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 97f711b2-6c7c-41bf-bedb-d094482f1b80

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@capy-ai capy-ai Bot left a comment

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.

Capy found 1 potential issue (1 high).

View 2 other findings in Capy.

Open in Capy

Comment thread meta-opennow/recipes-games/opennow/opennow-runtime.bb
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.

1 participant