mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
audit: change to use ${WORKDIR} instead ${S}/../
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.Chen@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
parent
c0186953ac
commit
e0105eed2b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user