diff options
author | Armin Kuster <akuster808@gmail.com> | 2021-11-05 06:06:58 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-11-07 11:26:49 -0800 |
commit | 4c19c83ee84e3d45cea5a3b6eaebec912179441c (patch) | |
tree | c0f5df5890885c6dfb0e6d7eaa97f77a58bbc180 | |
parent | f6fa9dc1c9eb47964f30fac875d1cc4f866d46d3 (diff) | |
download | meta-security-4c19c83ee84e3d45cea5a3b6eaebec912179441c.tar.gz |
python3-fail2ban: remove /run
Fixes:
ERROR: python3-fail2ban-0.11.2-r0 do_package_qa: QA Issue: python3-fail2ban installs files in /run, but it is expected to be empty [empty-dirs]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-security/fail2ban/python3-fail2ban_0.11.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb b/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb index fcf044a..4e344c8 100644 --- a/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb +++ b/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb | |||
@@ -30,6 +30,7 @@ do_install:append () { | |||
30 | install -d ${D}/${sysconfdir}/init.d | 30 | install -d ${D}/${sysconfdir}/init.d |
31 | install -m 0755 ${WORKDIR}/initd ${D}${sysconfdir}/init.d/fail2ban-server | 31 | install -m 0755 ${WORKDIR}/initd ${D}${sysconfdir}/init.d/fail2ban-server |
32 | chown -R root:root ${D}/${bindir} | 32 | chown -R root:root ${D}/${bindir} |
33 | rm -rf ${D}/run | ||
33 | } | 34 | } |
34 | 35 | ||
35 | do_install_ptest:append () { | 36 | do_install_ptest:append () { |
@@ -40,7 +41,6 @@ do_install_ptest:append () { | |||
40 | rm -f ${D}${PTEST_PATH}/bin/fail2ban-python | 41 | rm -f ${D}${PTEST_PATH}/bin/fail2ban-python |
41 | } | 42 | } |
42 | 43 | ||
43 | FILES:${PN} += "/run" | ||
44 | 44 | ||
45 | INITSCRIPT_PACKAGES = "${PN}" | 45 | INITSCRIPT_PACKAGES = "${PN}" |
46 | INITSCRIPT_NAME = "fail2ban-server" | 46 | INITSCRIPT_NAME = "fail2ban-server" |