mirror of
https://git.yoctoproject.org/meta-security
synced 2026-04-20 23:40:05 +00:00
python3-fail2ban: convert WORKDIR->UNPACKDIR
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -24,7 +24,7 @@ inherit systemd
|
|||||||
|
|
||||||
SYSTEMD_SERVICE:${PN} = "fail2ban.service"
|
SYSTEMD_SERVICE:${PN} = "fail2ban.service"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${UNPACKDIR}/git"
|
||||||
|
|
||||||
do_compile () {
|
do_compile () {
|
||||||
cd ${S}
|
cd ${S}
|
||||||
@@ -40,7 +40,7 @@ do_install:append () {
|
|||||||
rm -f ${D}/${bindir}/fail2ban-python
|
rm -f ${D}/${bindir}/fail2ban-python
|
||||||
install -d ${D}/${sysconfdir}/fail2ban
|
install -d ${D}/${sysconfdir}/fail2ban
|
||||||
install -d ${D}/${sysconfdir}/init.d
|
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
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||||
install -d ${D}${systemd_system_unitdir}
|
install -d ${D}${systemd_system_unitdir}
|
||||||
|
|||||||
Reference in New Issue
Block a user