[OE-core] [PATCH] prelink: fix upstream version check

Mark Hatle mark.hatle at windriver.com
Fri Oct 13 14:56:21 UTC 2017


On 10/13/17 9:18 AM, Alexander Kanavin wrote:
> Instead of reporting that we can update to a bogus version
> report that upstream version is not known.

You do know that there are release branches for prelink right?

http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/refs/heads

cross_prelink and master are both 'release' quality branches.

Anything put there is a new version.


There is nothing for us to 'tag', since there are no formal versions.


Should be easy enough for the system to compare the SRCREV to the top of
cross_prelink.  If they don't match, an upgrade is needed.

--Mark

> Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
> ---
>  meta/recipes-devtools/prelink/prelink_git.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb
> index a137a864921..570ef36a3cc 100644
> --- a/meta/recipes-devtools/prelink/prelink_git.bb
> +++ b/meta/recipes-devtools/prelink/prelink_git.bb
> @@ -32,6 +32,8 @@ SRC_URI = "git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink \
>             file://prelink.cron.daily \
>             file://prelink.default \
>  	   file://macros.prelink"
> +UPSTREAM_CHECK_GITTAGREGEX = "upstream has no usable tags"
> +UPSTREAM_VERSION_UNKNOWN = "1"
>  
>  TARGET_OS_ORIG := "${TARGET_OS}"
>  OVERRIDES_append = ":${TARGET_OS_ORIG}"
> 




More information about the Openembedded-core mailing list