From 5461aa6cbedc705ab6b24a53a0ccc684b20043ea Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 19 Mar 2025 17:41:50 +0000 Subject: openl2tp: don't inherit autotools This upstream does not in fact use autotools, so remove the inherit and implement the required do_install. Signed-off-by: Ross Burton Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'meta-networking') diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb index f3b74d1e61..d66b7d2390 100644 --- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb @@ -41,7 +41,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \ SRC_URI[md5sum] = "e3d08dedfb9e6a9a1e24f6766f6dadd0" SRC_URI[sha256sum] = "1c97704d4b963a87fbc0e741668d4530933991515ae9ab0dffd11b5444f4860f" -inherit autotools-brokensep pkgconfig systemd ptest +inherit pkgconfig systemd ptest SYSTEMD_SERVICE:${PN} = "openl2tpd.service" SYSTEMD_AUTO_ENABLE = "disable" @@ -67,7 +67,9 @@ do_compile:prepend() { ${S}/Makefile } -do_install:append () { +do_install () { + oe_runmake 'DESTDIR=${D}' install + install -d ${D}${sysconfdir}/init.d install -d ${D}${sysconfdir}/default install -m 0755 ${S}/etc/rc.d/init.d/openl2tpd ${D}${sysconfdir}/init.d/openl2tpd -- cgit v1.2.3-54-g00ecf