From 7fe1900e3209a834a3500e68f4ff2dcb8b1db6ad Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Tue, 27 Aug 2024 17:54:32 +0200 Subject: [PATCH] systemd-conf: apply KEY_POWER handling customizations to the ccmp25 Otherwise, the target will immediately power off as soon as the power button is pressed, even before letting go of it. This customization is already being made for ccmp1 platforms, so make it common for all stm32mp platforms. https://onedigi.atlassian.net/browse/DEL-9190 Signed-off-by: Gabriel Valcazar --- meta-digi-dey/recipes-core/systemd/systemd-conf_%.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-dey/recipes-core/systemd/systemd-conf_%.bbappend b/meta-digi-dey/recipes-core/systemd/systemd-conf_%.bbappend index 130aabd20..9bb8e5ec1 100644 --- a/meta-digi-dey/recipes-core/systemd/systemd-conf_%.bbappend +++ b/meta-digi-dey/recipes-core/systemd/systemd-conf_%.bbappend @@ -6,7 +6,7 @@ SRC_URI:append = " \ file://system.conf-digi \ " -SRC_URI:append:ccmp1 = " \ +SRC_URI:append:stm32mpcommon = " \ file://logind.conf-digi \ " @@ -18,7 +18,7 @@ do_install:append() { install -D -m0644 ${WORKDIR}/system.conf-digi ${D}${systemd_unitdir}/system.conf.d/01-${PN}.conf } -do_install:append:ccmp1() { +do_install:append:stm32mpcommon() { install -D -m0644 ${WORKDIR}/logind.conf-digi ${D}${systemd_unitdir}/logind.conf.d/01-${PN}.conf }