summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/acpid/acpid.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-bsp/acpid/acpid.inc
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/acpid/acpid.inc')
-rw-r--r--meta/recipes-bsp/acpid/acpid.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-bsp/acpid/acpid.inc b/meta/recipes-bsp/acpid/acpid.inc
index 1e43e7a9db..f48e519088 100644
--- a/meta/recipes-bsp/acpid/acpid.inc
+++ b/meta/recipes-bsp/acpid/acpid.inc
@@ -22,9 +22,9 @@ inherit autotools update-rc.d systemd
22INITSCRIPT_NAME = "acpid" 22INITSCRIPT_NAME = "acpid"
23INITSCRIPT_PARAMS = "defaults" 23INITSCRIPT_PARAMS = "defaults"
24 24
25SYSTEMD_SERVICE_${PN} = "acpid.service" 25SYSTEMD_SERVICE:${PN} = "acpid.service"
26 26
27do_install_append () { 27do_install:append () {
28 install -d ${D}${sysconfdir}/init.d 28 install -d ${D}${sysconfdir}/init.d
29 sed -e 's,/usr/sbin,${sbindir},g' ${WORKDIR}/init > ${D}${sysconfdir}/init.d/acpid 29 sed -e 's,/usr/sbin,${sbindir},g' ${WORKDIR}/init > ${D}${sysconfdir}/init.d/acpid
30 chmod 755 ${D}${sysconfdir}/init.d/acpid 30 chmod 755 ${D}${sysconfdir}/init.d/acpid