summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/arptables/arptables_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/arptables/arptables_git.bb b/meta-networking/recipes-support/arptables/arptables_git.bb
index 274a55d91..cec1d1f77 100644
--- a/meta-networking/recipes-support/arptables/arptables_git.bb
+++ b/meta-networking/recipes-support/arptables/arptables_git.bb
@@ -23,7 +23,8 @@ inherit systemd
23 23
24EXTRA_OEMAKE = "'BINDIR=${sbindir}' 'MANDIR=${mandir}'" 24EXTRA_OEMAKE = "'BINDIR=${sbindir}' 'MANDIR=${mandir}'"
25 25
26do_install_append() { 26do_install() {
27 oe_runmake install DESTDIR=${D}
27 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 28 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
28 install -d ${D}${systemd_unitdir}/system 29 install -d ${D}${systemd_unitdir}/system
29 install -m 644 ${WORKDIR}/arptables.service ${D}${systemd_unitdir}/system 30 install -m 644 ${WORKDIR}/arptables.service ${D}${systemd_unitdir}/system