summaryrefslogtreecommitdiffstats
path: root/scripts/oe-go-mod-autogen.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2024-06-19 01:54:32 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2024-07-10 15:59:26 +0000
commitaffb2252f4be6d5fcaaa46d34690593bc3b99f55 (patch)
tree66beff04e74571786e9ddf94c76e0c135d1317ce /scripts/oe-go-mod-autogen.py
parent93113db99cb4f05dd2bd391a3e10b7600dba3d28 (diff)
downloadmeta-virtualization-affb2252f4be6d5fcaaa46d34690593bc3b99f55.tar.gz
yq_git: Set apply=no for SRC_URI diff
Fixed a do_patch error use git shallow tarball (BB_GIT_SHALLOW = "1"): $ bitbake yp -cpatch ERROR: do_patch: Importing patch 'github.com.pkg.diff' with striplevel '1' The github.com.pkg.diff is ud.clonedir of git://github.com/pkg/diff: * When use regular git repo as source, oe.patch.patch_path() will NOT handle it as a patch since the directory github.com.pkg.diff exists, and nothing is wrong. * When use git shallow tarball, the github.com.pkg.diff doesn't exist since it is fetched as a tarball, then oe.patch.patch_path() will handle it as a patch, then the error happens. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'scripts/oe-go-mod-autogen.py')
0 files changed, 0 insertions, 0 deletions