mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +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"
|
||||
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user