From 1ed91fa4a2297cbbd1e155e7e867410f728b5d89 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 19 Mar 2025 17:41:47 +0000 Subject: [PATCH] triggerhappy: 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-oe/recipes-extended/triggerhappy/triggerhappy_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-extended/triggerhappy/triggerhappy_git.bb b/meta-oe/recipes-extended/triggerhappy/triggerhappy_git.bb index 0b14f9557a..5eb8e4d9aa 100644 --- a/meta-oe/recipes-extended/triggerhappy/triggerhappy_git.bb +++ b/meta-oe/recipes-extended/triggerhappy/triggerhappy_git.bb @@ -11,7 +11,7 @@ SRC_URI = "git://github.com/wertarbyte/${BPN}.git;branch=debian;protocol=https" S = "${WORKDIR}/git" -inherit autotools-brokensep pkgconfig perlnative update-rc.d systemd +inherit pkgconfig perlnative update-rc.d systemd PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" PACKAGECONFIG[systemd] = ",,systemd" @@ -30,7 +30,9 @@ FILES:${PN} = "\ " CONFFILES:${PN} = "${sysconfdir}/udev/rules.d/80-triggerhappy.rules" -do_install:append() { +do_install() { + oe_runmake 'DESTDIR=${D}' 'BINDIR=${D}${sbindir}' install + install -d ${D}${sysconfdir}/triggerhappy/triggers.d install -d ${D}${nonarch_base_libdir}/udev/rules.d