diff --git a/meta-digi-dey/recipes-core/systemd/systemd/0020-logind.conf-Set-HandlePowerKey-to-ignore.patch b/meta-digi-dey/recipes-core/systemd/systemd/0020-logind.conf-Set-HandlePowerKey-to-ignore.patch deleted file mode 100644 index 2615a2579..000000000 --- a/meta-digi-dey/recipes-core/systemd/systemd/0020-logind.conf-Set-HandlePowerKey-to-ignore.patch +++ /dev/null @@ -1,30 +0,0 @@ -From ef9f6626d08d6d19767d20845c8d6f374f05465d Mon Sep 17 00:00:00 2001 -From: Tom Hochstein -Date: Tue, 3 Apr 2018 14:07:32 -0500 -Subject: [PATCH] logind.conf: Set HandlePowerKey to ignore - -For i.MX, we don't want systemd to handle the power key. - -Upstream-Status: Inappropriate [i.MX-specific] - -Signed-off-by: Tom Hochstein ---- - src/login/logind.conf.in | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/login/logind.conf.in b/src/login/logind.conf.in -index 6f720b7..043191f 100644 ---- a/src/login/logind.conf.in -+++ b/src/login/logind.conf.in -@@ -19,6 +19,8 @@ - #KillExcludeUsers=root - #InhibitDelayMaxSec=5 - #HandlePowerKey=poweroff -+# i.MX-specific -+HandlePowerKey=ignore - #HandleSuspendKey=suspend - #HandleHibernateKey=hibernate - #HandleLidSwitch=suspend --- -2.7.4 - diff --git a/meta-digi-dey/recipes-core/systemd/systemd_%.bbappend b/meta-digi-dey/recipes-core/systemd/systemd_%.bbappend index dc7619f95..47445d3d8 100644 --- a/meta-digi-dey/recipes-core/systemd/systemd_%.bbappend +++ b/meta-digi-dey/recipes-core/systemd/systemd_%.bbappend @@ -1,7 +1,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" -SRC_URI += "file://0020-logind.conf-Set-HandlePowerKey-to-ignore.patch \ - file://0021-systemd-udevd.service.in-Set-MountFlags-as-shared-to.patch \ +SRC_URI += "file://0021-systemd-udevd.service.in-Set-MountFlags-as-shared-to.patch \ file://0001-socket-util-fix-getpeergroups-assert-fd-8080.patch \ "