python3-fail2ban: convert WORKDIR->UNPACKDIR

Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Armin Kuster
2024-07-28 17:02:40 -04:00
parent 9d38b8754f
commit fce3cf312d

View File

@@ -24,7 +24,7 @@ inherit systemd
SYSTEMD_SERVICE:${PN} = "fail2ban.service"
S = "${WORKDIR}/git"
S = "${UNPACKDIR}/git"
do_compile () {
cd ${S}
@@ -40,7 +40,7 @@ do_install:append () {
rm -f ${D}/${bindir}/fail2ban-python
install -d ${D}/${sysconfdir}/fail2ban
install -d ${D}/${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/initd ${D}${sysconfdir}/init.d/fail2ban-server
install -m 0755 ${UNPACKDIR}/initd ${D}${sysconfdir}/init.d/fail2ban-server
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d ${D}${systemd_system_unitdir}