Bug 15619

Summary: Document how to test reproducibility of a single recipe (without dependencies)
Product: [Documentation] Development Manual Reporter: Yoann Congal <yoann.congal>
Component: developmentAssignee: Trevor Gamblin <tgamblin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: randy.macleod, tgamblin, tim.orling
Version: unspecified   
Target Milestone: 5.2 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Yoann Congal 2024-10-13 12:58:25 UTC
From: https://lists.openembedded.org/g/openembedded-core/topic/108938651#msg205711

Often, users want to test the reproducibility of a single recipe and prefer not to spend time re-compiling the entire dependency tree.

Current doc[0]:
* does not mention OEQA_REPRODUCIBLE_TEST_TARGET/OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS (but should IMHO)
* should be improved to add the special "single recipe, no deps" case

[0]: https://docs.yoctoproject.org/test-manual/reproducible-builds.html#can-i-test-my-layer-or-recipes
Comment 1 Yoann Congal 2024-10-15 21:57:36 UTC
(In reply to Yoann Congal from comment #0)
> Current doc[0]:
> * does not mention
> OEQA_REPRODUCIBLE_TEST_TARGET/OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS (but
> should IMHO) 
> [0]: https://docs.yoctoproject.org/test-manual/reproducible-builds.html#can-i-test-my-layer-or-recipes

Note: that is not right, OEQA_REPRODUCIBLE_TEST_TARGET/OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS are mentioned in
https://docs.yoctoproject.org/test-manual/reproducible-builds.html#can-we-prove-the-project-is-reproducible.

This page still need a paragraph for "I want to check the reproducibility of this single recipe and quick"