summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/parted/parted_3.2.bb
diff options
context:
space:
mode:
authorAjay M <ajay.gju@gmail.com>2015-08-19 12:19:46 +0530
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-24 23:46:55 +0100
commit5c44238db1d6cb8f2b320e3ec7f9aaa990f9ea21 (patch)
treeaa1a1b0d3f106a3e11a7ddf051c6e3928a4a8472 /meta/recipes-extended/parted/parted_3.2.bb
parentf62afbf633afcaddcb2b0ba6efa39b375fcfa2ef (diff)
downloadpoky-5c44238db1d6cb8f2b320e3ec7f9aaa990f9ea21.tar.gz
parted: set VERSION number same as recipe's version
There is a parameter VERSION in workdir Makefile which tells the version number of parted. While running ptest for parted we are getting failure because of VERSION mismatch --snip-- root@qemux86:/usr/lib/parted/ptest# ./run-ptest make: Entering directory '/usr/lib/parted/ptest/tests' make[1]: Entering directory '/usr/lib/parted/ptest/tests' help-version.sh: failed test: --version-$VERSION mismatch FAIL: help-version.sh --CUT-- [YOCTO #8172] (From OE-Core rev: 6d380d9d2e7f4a2e8c30da5c79086ee0391bfad5) Signed-off-by: Ajay M <ajay.gju@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/parted/parted_3.2.bb')
-rw-r--r--meta/recipes-extended/parted/parted_3.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/parted/parted_3.2.bb b/meta/recipes-extended/parted/parted_3.2.bb
index 5d34749b01..ff8ae097cc 100644
--- a/meta/recipes-extended/parted/parted_3.2.bb
+++ b/meta/recipes-extended/parted/parted_3.2.bb
@@ -36,6 +36,7 @@ do_install_ptest() {
36 cp ${S}/build-aux/test-driver $t/build-aux/ 36 cp ${S}/build-aux/test-driver $t/build-aux/
37 cp -r ${S}/tests $t 37 cp -r ${S}/tests $t
38 cp ${WORKDIR}/Makefile $t/tests/ 38 cp ${WORKDIR}/Makefile $t/tests/
39 sed -i "s|^VERSION.*|VERSION = ${PV}|g" $t/tests/Makefile
39 for i in print-align print-max dup-clobber duplicate fs-resize; \ 40 for i in print-align print-max dup-clobber duplicate fs-resize; \
40 do cp ${B}/tests/.libs/$i $t/tests/; \ 41 do cp ${B}/tests/.libs/$i $t/tests/; \
41 done 42 done