diff options
Diffstat (limited to 'poky/meta/recipes-bsp')
-rw-r--r-- | poky/meta/recipes-bsp/acpid/acpid.inc | 6 | ||||
-rw-r--r-- | poky/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/poky/meta/recipes-bsp/acpid/acpid.inc b/poky/meta/recipes-bsp/acpid/acpid.inc index f48e51908..d39828e1c 100644 --- a/poky/meta/recipes-bsp/acpid/acpid.inc +++ b/poky/meta/recipes-bsp/acpid/acpid.inc @@ -32,7 +32,7 @@ do_install:append () { install -d ${D}${sysconfdir}/acpi install -d ${D}${sysconfdir}/acpi/events - install -d ${D}${systemd_unitdir}/system - install -m 0644 ${WORKDIR}/acpid.service ${D}${systemd_unitdir}/system - sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/acpid.service + install -d ${D}${systemd_system_unitdir} + install -m 0644 ${WORKDIR}/acpid.service ${D}${systemd_system_unitdir} + sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/acpid.service } diff --git a/poky/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb b/poky/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb index 5368abfda..da17e5a23 100644 --- a/poky/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb +++ b/poky/meta/recipes-bsp/apmd/apmd_3.2.2-15.bb @@ -73,10 +73,10 @@ do_install() { sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' ${WORKDIR}/init > ${D}${sysconfdir}/init.d/apmd chmod 755 ${D}${sysconfdir}/init.d/apmd - install -d ${D}${systemd_unitdir}/system - install -m 0644 ${WORKDIR}/apmd.service ${D}${systemd_unitdir}/system/ + install -d ${D}${systemd_system_unitdir} + install -m 0644 ${WORKDIR}/apmd.service ${D}${systemd_system_unitdir}/ sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \ - -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/apmd.service + -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/apmd.service } PACKAGES =+ "libapm apm" |