Skip to content

externalsrc: preserve source revision in PKGV

Paddy Chiu openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest1 patch 0 repliesNew

Changes in v2 from the cover letter

- replace the copied datastore/SRC_URI override with a saved suffix;
- use the suffix for both PKGV and AUTOINC PR-service handling.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1externalsrc: preserve source revision in PKGVmeta/classes-global/package.bbclass meta/classes/externalsrc.bbclass+9 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] externalsrc: preserve source revision in PKGV

Hi Richard,

Patch v2 (Proposed fix) addresses the concern with the previous approach:
it no longer copies the datastore or rewrites SRC_URI during package version calculation.

Instead, externalsrc saves the formatted source-version suffix in EXTERNALSRC_PKGV_SUFFIX before filtering SCM URLs. The package and PR-service paths reuse it, while the normal fetcher path remains unchanged for non-externalsrc builds.

Validation used git-submodule-test for both requested transitions:

BitBake to devtool: both builds produce the same hash-bearing PKGV and no version-going-backwards QA error.

devtool to BitBake: both builds produce the same PKGV with no regression in the reverse transition.

Changes since v1:

- replace the copied datastore/SRC_URI override with a saved suffix;
- use the suffix for both PKGV and AUTOINC PR-service handling.

Signature · 1 line
2.34.1