yocto-build-reproducibility

Pin SRCREV and share SSTATE/DL_DIR for deterministic STM32MP Yocto builds.

2|1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/solitasroh/rkit --skill yocto-build-reproducibility
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yocto-build-reproducibility
Source: https://github.com/solitasroh/rkit/tree/main/skills/yocto-build-reproducibility
Command: npx skills add https://github.com/solitasroh/rkit --skill yocto-build-reproducibility

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pinning SRCREV, sharing SSTATE caches, and mirroring DL_DIR to ensure deterministic Yocto builds for STM32MP projects.

Core Features & Use Cases

  • SRCREV pinning to full 40-character hashes to ensure reproducible source references.
  • Shared SSTATE cache via networked storage to speed up builds in teams.
  • DL_DIR mirroring and offline build strategies to remove external network dependence.
  • Build environment pinning and manifest control to stabilize host toolchains.

Quick Start

Run this skill in your STM32MP Yocto project to pin SRCREV, share SSTATE, and mirror DL_DIR for reproducible builds.

Frequently Asked Questions about yocto-build-reproducibility

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make Yocto builds reproducible for STM32MP?

Reproducible Yocto builds for STM32MP require pinning SRCREV to 40-character hashes, sharing SSTATE caches via networked storage, and mirroring DL_DIR to eliminate external network dependence in CI pipelines.

Why does my Yocto CI pipeline produce different build outputs each time?

Yocto CI pipelines produce non-deterministic outputs when source references float or host toolchains drift. Stabilize builds by enforcing 40-character SRCREV pins, environment pinning, and manifest control to guarantee deterministic outputs.

What is the best way to share SSTATE caches across a Yocto build team?

Sharing SSTATE caches across a Yocto build team requires configuring networked storage to hold the shared cache, which speeds up builds while maintaining reproducibility through stable source references and mirrored DL_DIR.

Can I use DL_DIR mirroring for offline Yocto builds on STM32MP?

Yes, DL_DIR mirroring supports offline Yocto builds on STM32MP by removing external network dependence. Mirroring download directories enables repeatable builds even when upstream sources are unavailable.

When do I need to pin SRCREV to a full 40-character hash in Yocto?

Pin SRCREV to a full 40-character hash in Yocto whenever reproducible builds are required across team environments or CI pipelines. Full hash pinning enforces deterministic source references instead of relying on floating branch tags.