mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit f122ecd7171b2258452131cc75d809b02a1f4f02) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
b54c140564
commit
f80ff75c44
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user