Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

umpf: do not set PV in series.inc #41

Merged
merged 1 commit into from
May 2, 2024

Conversation

ejoerns
Copy link
Member

@ejoerns ejoerns commented Apr 24, 2024

Since most recipes tend to use PV in their SRC_URI and we cannot set it as a default value (?=), it is the safest way to not set it automatically from series.inc.

Users who want to have UMPF_VERSION as part of the yocto package version can manually set PV to

PV = "${UMPF_BASE}-${UMPF_VERSION}

at an appropriate location within the recipe.

@ejoerns
Copy link
Member Author

ejoerns commented Apr 24, 2024

I am not sure if the comment would break parsing at any place.

As an alternative, we could also just remove the PV line.

@ejoerns ejoerns force-pushed the no-pv-in-series.inc branch 2 times, most recently from d84f740 to e94bcdc Compare April 24, 2024 11:38
umpf Outdated Show resolved Hide resolved
Since most recipes tend to use PV in their SRC_URI and we cannot set it
as a default value ('?='), it is the safest way to not set it
automatically from series.inc.

Users who want to have the umpf version as part of the yocto package
version can set

  PV = "${UMPF_PV}"

at an appropriate location within the recipe.

Signed-off-by: Enrico Jörns <[email protected]>
Copy link
Contributor

@rohieb rohieb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not tested this, but maybe it's possible to set PKGV instead of PV? Anyway, the current solution looks good to me too.

@lynxeye-dev
Copy link

This version looks good to me.

@ejoerns
Copy link
Member Author

ejoerns commented Apr 25, 2024

I have not tested this, but maybe it's possible to set PKGV instead of PV? Anyway, the current solution looks good to me too.

This could be a later step indeed, but I would first like to find out what it means to have PKGV != PV before trying another round of breaking things 😏

@michaelolbrich michaelolbrich merged commit d905c70 into pengutronix:master May 2, 2024
2 checks passed
@ejoerns ejoerns deleted the no-pv-in-series.inc branch May 15, 2024 13:14
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.

5 participants