mirror of
https://git.yoctoproject.org/meta-security
synced 2026-06-04 14:10:22 +00:00
tripwire: fix ptest so more tests pass
replace relative path with abs path for binaries. Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -62,6 +62,7 @@ do_install () {
|
||||
do_install_ptest_append () {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -a ${S}/src/test-harness/* ${D}${PTEST_PATH}
|
||||
sed -i -e 's@../../../../bin@${sbindir}@' ${D}${PTEST_PATH}/twtools.pm
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir} ${docdir}/${PN}/*"
|
||||
@@ -70,4 +71,4 @@ FILES_${PN}-staticdev += "${localstatedir}/lib/${PN}/lib*.a"
|
||||
FILES_${PN}-ptest += "${PTEST_PATH}/tests "
|
||||
|
||||
RDEPENDS_${PN} += " perl nano msmtp cronie"
|
||||
RDEPENDS_${PN}-ptest = " perl lib-perl"
|
||||
RDEPENDS_${PN}-ptest = " perl lib-perl perl-modules "
|
||||
|
||||
Reference in New Issue
Block a user