From c093dbc2546ee544b3ee0bfd6c580a58f4c4107a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20H=C3=B6ppner?= <jonas.hoeppner@garz-fricke.com>
Date: Tue, 22 Mar 2022 11:57:54 +0100
Subject: [PATCH] gfplatdetect: Add nobranch=1 to SRC_URI to allow build of not
 yet merged commits

Builds of commits that are not merged yet (in a merge request) fail if
nobrach=1 is not set, as they are not found on the specified branch,
even if the revision is specified in SRV_REV explicitly.
---
 recipes-kernel/modules/gfplatdetect_0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/modules/gfplatdetect_0.1.bb b/recipes-kernel/modules/gfplatdetect_0.1.bb
index 35fe83ac..d0d049b9 100644
--- a/recipes-kernel/modules/gfplatdetect_0.1.bb
+++ b/recipes-kernel/modules/gfplatdetect_0.1.bb
@@ -8,7 +8,7 @@ SRCREV = "${AUTOREV}"
 SRCBRANCH = "dunfell"
 
 SRC_URI = " \
-   git://git@gitlab.com/seco-northern-europe/kernel/modules/gfplatdetect.git;protocol=ssh;branch=${SRCBRANCH} \
+   git://git@gitlab.com/seco-northern-europe/kernel/modules/gfplatdetect.git;protocol=ssh;branch=${SRCBRANCH};nobranch=1; \
 "
 
 S = "${WORKDIR}/git"
-- 
GitLab