mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
cpio: fix ptest failure
Fix following ptest failure: /usr/lib64/cpio/ptest/run-ptest: line 7: cd: /usr/lib/cpio/ptest/tests/: No such file or directory (From OE-Core rev: 1809329c336cb509349bd39f13cc78acd8efe0cd) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
607ad000c1
commit
e4dc18f600
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Define cpio test work dir
|
# Define cpio test work dir
|
||||||
WORKDIR=/usr/lib/cpio/ptest/tests/
|
WORKDIR=@PTEST_PATH@/tests/
|
||||||
|
|
||||||
# Run test
|
# Run test
|
||||||
cd ${WORKDIR}
|
cd ${WORKDIR}
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ do_install_ptest() {
|
|||||||
install --mode=755 ${B}/tests/atlocal ${D}${PTEST_PATH}/tests/
|
install --mode=755 ${B}/tests/atlocal ${D}${PTEST_PATH}/tests/
|
||||||
install --mode=755 ${B}/tests/genfile ${D}${PTEST_PATH}/tests/
|
install --mode=755 ${B}/tests/genfile ${D}${PTEST_PATH}/tests/
|
||||||
install --mode=755 ${S}/tests/testsuite ${D}${PTEST_PATH}/tests/
|
install --mode=755 ${S}/tests/testsuite ${D}${PTEST_PATH}/tests/
|
||||||
|
sed -i "s#@PTEST_PATH@#${PTEST_PATH}#g" ${D}${PTEST_PATH}/run-ptest
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES =+ "${PN}-rmt"
|
PACKAGES =+ "${PN}-rmt"
|
||||||
|
|||||||
Reference in New Issue
Block a user