meta-agl-core: use next branch for weston dependent packages
authorScott Murray <scott.murray@konsulko.com>
Wed, 24 Feb 2021 23:21:49 +0000 (18:21 -0500)
committerScott Murray <scott.murray@konsulko.com>
Tue, 29 Mar 2022 19:24:35 +0000 (15:24 -0400)
Add a "aglnext" OVERRIDE in the distro configuration, and use it
to select the "next" branches in the agl-compositor and
waltham-transmitter-plugin recipes, and use AUTOREV for their
SRCREV.  The latter will allow rebasing the next branches in
those repositories as next branch updates occur without requiring
SRCREV updates every time.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4f2a57fface53374d9428b5af1c6ad02edfde7eb

meta-agl-core/conf/distro/poky-agl.conf
meta-agl-core/recipes-graphics/wayland/agl-compositor_git.bb
meta-agl-core/recipes-graphics/wayland/waltham-transmitter-plugin.bb

index 9fcbdf7..b456783 100644 (file)
@@ -26,6 +26,9 @@ DISTRO_BRANCH_VERSION_TAG = "${DISTRO_CODENAME}/${@'${DISTRO_VERSION}'.replace('
 AGL_APP_REVISION:aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}"
 AGL_DEFAULT_REVISION:aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}"
 
+#for next branch development
+OVERRIDES .= ":aglnext"
+
 # reproducible builds:
 # enable the flag
 BUILD_REPRODUCIBLE_BINARIES = "1"
index eff1a89..6aa169a 100644 (file)
@@ -13,6 +13,8 @@ DEPENDS = "wayland wayland-protocols wayland-native weston \
 
 SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/agl-compositor.git;protocol=https;branch=${AGL_BRANCH}"
 SRCREV = "cec4cf8fe409cae5618e81e4a3b6dd11cc8b2aa9"
+AGL_BRANCH:aglnext = "next"
+SRCREV:aglnext = "${AUTOREV}"
 
 PV = "0.0.10+git${SRCPV}"
 S = "${WORKDIR}/git"
index 466985f..36a141a 100644 (file)
@@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f21c9af4de068fb53b83f0b37d262ec3"
 DEPENDS += "wayland wayland-native waltham weston"
 
 SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/waltham-transmitter-plugin.git;protocol=https;branch=${AGL_BRANCH}"
+AGL_BRANCH:aglnext = "next"
 SRCREV = "c9d23a045e6cb46c023c15f8189ef3ee8b1ddf20"
+SRCREV:aglnext = "${AUTOREV}"
 
 S = "${WORKDIR}/git"