aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2022-12-09 12:22:09 +0000
committerMikko Gronoff <mikko.gronoff@qt.io>2022-12-12 13:57:07 +0200
commit977b3c8e09774400bae7b054d63fc459051f127f (patch)
tree0978cd05a7ff89d0a7a9de7dc16fec5cad36c50c
parent8272a64f16faf5b57c6d79c1b61fa455dd916c70 (diff)
Don't validate the SRCREV value against the branch
Qt modules recently lost all their release branches in their git repositories. This broke previous releases since bitbake validates that SRCREV can be found from the current branch. Add additional parameter to repo URI to stop bitbake from validating the SRCREV. Task-number: QTBUG-109319 Change-Id: Ib61164839fdbc5938a23b92ab03f3c07e945812f Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> (cherry picked from commit 28842c8014ed2127e23f79ad0318aae60b19da7a)
-rw-r--r--recipes-qt/qt6/qt6-git.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-qt/qt6/qt6-git.inc b/recipes-qt/qt6/qt6-git.inc
index 8504e89..70b1ecd 100644
--- a/recipes-qt/qt6/qt6-git.inc
+++ b/recipes-qt/qt6/qt6-git.inc
@@ -3,7 +3,7 @@ HOMEPAGE ?= "https://www.qt.io"
QT_MODULE ?= "${BPN}"
QT_MODULE_BRANCH ?= "6.4"
-QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH}"
+QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH};nobranch=1"
QT_MODULE_REPO ?= "${QT_MODULE}.git"
SRC_URI = "${QT_GIT}/${QT_GIT_PROJECT}/${QT_MODULE_REPO};name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL}"