The do_install function is assuming that ${S}/../ is ${WORKDIR}, but this is not true when using `devtool modify audit'.
So change to use ${WORKDIR}. Signed-off-by: Chen Qi <qi.c...@windriver.com> --- recipes-security/audit/audit_2.8.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-security/audit/audit_2.8.4.bb b/recipes-security/audit/audit_2.8.4.bb index c29bb74..594786a 100644 --- a/recipes-security/audit/audit_2.8.4.bb +++ b/recipes-security/audit/audit_2.8.4.bb @@ -82,7 +82,7 @@ do_install_append() { rmdir ${D}/etc/sysconfig/ # replace init.d - install -D -m 0755 ${S}/../auditd ${D}/etc/init.d/auditd + install -D -m 0755 ${WORKDIR}/auditd ${D}/etc/init.d/auditd rm -rf ${D}/etc/rc.d if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto