From bc15582d80116075253871a9a305d4e73e5dcd3a Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Tue, 6 May 2025 19:44:19 -0700 Subject: [PATCH] yq_git: add back apply=no for SRC_URI diff This apply=no was dropped during last upgrade. This causes do_patch error when using git shallow tarball. The original patch that added apply=no is: https://lists.yoctoproject.org/g/meta-virtualization/message/8804 Signed-off-by: Chen Qi Signed-off-by: Bruce Ashfield --- recipes-devtools/yq/yq_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb index 363769b9..415a4a4e 100644 --- a/recipes-devtools/yq/yq_git.bb +++ b/recipes-devtools/yq/yq_git.bb @@ -25,7 +25,7 @@ SRCREV_text = "566b44fc931e2542778a18423c655ce99b4f1402" SRC_URI += "git://go.googlesource.com/text;name=text;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/golang.org/x/text" SRCREV_diff = "20ebb0f2a09e612109b224b32f79370409108bcc" -SRC_URI += "git://github.com/pkg/diff;name=diff;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/pkg/diff" +SRC_URI += "git://github.com/pkg/diff;name=diff;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/pkg/diff;apply=no" SRCREV_color = "1c8d8706604ee5fb9a464e5097ba113101828a75" SRC_URI += "git://github.com/fatih/color;name=color;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/fatih/color"