refpolicy: add UPSTREAM_CHECK_GITTAGREGEX

Add UPSTREAM_CHECK_GITTAGREGEX to make devtool check-upgrade-status
works.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Yi Zhao 2019-12-23 16:21:51 +08:00 committed by Joe MacDonald
parent 26169b168f
commit c966bce553
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@ SRC_URI = "https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE
SRC_URI[md5sum] = "babb0d5ca2ae333631d25392b2b3ce8d"
SRC_URI[sha256sum] = "ed620dc91c4e09eee6271b373f7c61a364a82ea57bd2dc86ca1f7075304e2843"
UPSTREAM_CHECK_GITTAGREGEX = "RELEASE_(?P<pver>\d+_\d+)"
FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-2.20190201:"
include refpolicy_common.inc

View File

@ -4,6 +4,8 @@ SRC_URI = "git://github.com/SELinuxProject/refpolicy.git;protocol=git;branch=mas
SRCREV_refpolicy ?= "df696a325404b84c2c931c85356510005e5e6916"
UPSTREAM_CHECK_GITTAGREGEX = "RELEASE_(?P<pver>\d+_\d+)"
FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-git:"
include refpolicy_common.inc