diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2016-09-23 16:30:29 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-10-20 11:16:53 -0400 |
commit | 9e8d127a800d1dbada68ba4cf5ba5cfd72be1675 (patch) | |
tree | ec6b2d2d0dd7a7097e083acfb4cdabbbf48acfbe | |
parent | 6f54f29b7061f45dd76249cbae80893bcb007814 (diff) | |
download | meta-openembedded-contrib-9e8d127a800d1dbada68ba4cf5ba5cfd72be1675.tar.gz |
squid: fix ptest failure
Fix error when run ptest on target:
cp: cannot stat '/usr/bin/true': No such file or directory
make: *** [Makefile:1120: squid-conf-tests] Error 1
The correct path should be /bin/true on target.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | meta-networking/recipes-daemons/squid/squid_3.5.20.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/squid/squid_3.5.20.bb b/meta-networking/recipes-daemons/squid/squid_3.5.20.bb index 1341d92fc9..364d00e122 100644 --- a/meta-networking/recipes-daemons/squid/squid_3.5.20.bb +++ b/meta-networking/recipes-daemons/squid/squid_3.5.20.bb @@ -73,6 +73,9 @@ do_install_ptest() { sed -e 's/^\(runtest-TESTS:\)/\1 squid-conf-tests/' \ -e "s/\(list=' \$(TESTS)\)/\1 squid-conf-tests/" \ -i ${D}${PTEST_PATH}/${TESTDIR}/Makefile + + # Ensure the path for command true is correct + sed -i 's:^TRUE = .*$:TRUE = /bin/true:' ${D}${PTEST_PATH}/${TESTDIR}/Makefile } do_install_append() { |