Skip to contentSkip to conversation

arptables: Fix do_install task

PATCH New Fabio Berton 1 participant 1 message Oct 31, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 arptables: Fix do_install task

We need to run oe_runmake install with DESTDIR variable to install all arptables files. Without this the only file installed in package is systemd unit.

---
 meta-networking/recipes-support/arptables/arptables_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-support/arptables/arptables_git.bb +2 -1
index 274a55d91..cec1d1f77 100644
@@ -23,7 +23,8 @@ inherit systemd
 
 EXTRA_OEMAKE = "'BINDIR=${sbindir}' 'MANDIR=${mandir}'"
 
-do_install_append() {
+do_install() {
+    oe_runmake install DESTDIR=${D}
     if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
         install -d ${D}${systemd_unitdir}/system
         install -m 644 ${WORKDIR}/arptables.service ${D}${systemd_unitdir}/system
Signature · 1 line
2.14.2