diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2025-04-20 14:46:19 +0200 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-04-20 21:34:33 +0000 |
commit | 1c98d66d20a1c381715c6ab927a7ac8c8c4c0b1a (patch) | |
tree | 4418f6268ac09be7107d442683db26785d1e834a | |
parent | d331d16c3781f78be37ab192cdb4ab3c7b4284fb (diff) | |
download | meta-virtualization-1c98d66d20a1c381715c6ab927a7ac8c8c4c0b1a.tar.gz |
yq: Correct the version (4.45.1+)
The current version of yq is actually based on 4.45.1.
Also remove ${SRCREV_yq} from PV to allow `devtool modify yq` to work.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-devtools/yq/yq_git.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb index 0e9d36ca..9682ec95 100644 --- a/recipes-devtools/yq/yq_git.bb +++ b/recipes-devtools/yq/yq_git.bb | |||
@@ -81,7 +81,7 @@ SRC_URI += "git://github.com/alecthomas/participle;name=v2;protocol=https;nobran | |||
81 | SRCREV_mousetrap = "4e8053ee7ef85a6bd26368364a6d27f1641c1d21" | 81 | SRCREV_mousetrap = "4e8053ee7ef85a6bd26368364a6d27f1641c1d21" |
82 | SRC_URI += "git://github.com/inconshreveable/mousetrap;name=mousetrap;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/inconshreveable/mousetrap" | 82 | SRC_URI += "git://github.com/inconshreveable/mousetrap;name=mousetrap;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/inconshreveable/mousetrap" |
83 | 83 | ||
84 | PV = "4.30.8+git${SRCREV_yq}" | 84 | PV = "4.45.1+git" |
85 | 85 | ||
86 | GO_IMPORT = "github.com/mikefarah/yq" | 86 | GO_IMPORT = "github.com/mikefarah/yq" |
87 | 87 | ||
@@ -104,9 +104,9 @@ do_compile:prepend() { | |||
104 | 104 | ||
105 | do_install_ptest() { | 105 | do_install_ptest() { |
106 | install -d ${D}${PTEST_PATH}/tests | 106 | install -d ${D}${PTEST_PATH}/tests |
107 | cp -r ${S}/src/github.com/mikefarah/yq/scripts/* ${D}${PTEST_PATH}/tests | 107 | cp -r ${S}/src/${GO_IMPORT}/scripts/* ${D}${PTEST_PATH}/tests |
108 | cp -r ${S}/src/github.com/mikefarah/yq/acceptance_tests/* ${D}${PTEST_PATH}/tests | 108 | cp -r ${S}/src/${GO_IMPORT}/acceptance_tests/* ${D}${PTEST_PATH}/tests |
109 | cp -r ${S}/src/github.com/mikefarah/yq/examples ${D}${PTEST_PATH}/tests | 109 | cp -r ${S}/src/${GO_IMPORT}/examples ${D}${PTEST_PATH}/tests |
110 | } | 110 | } |
111 | 111 | ||
112 | RDEPENDS:${PN}-ptest += " \ | 112 | RDEPENDS:${PN}-ptest += " \ |