diff options
Diffstat (limited to 'meta-fii/meta-kudo/recipes-phosphor/fans')
-rw-r--r-- | meta-fii/meta-kudo/recipes-phosphor/fans/pwm-init.bb | 4 | ||||
-rw-r--r-- | meta-fii/meta-kudo/recipes-phosphor/fans/pwm-init/pwm_init.service | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-fii/meta-kudo/recipes-phosphor/fans/pwm-init.bb b/meta-fii/meta-kudo/recipes-phosphor/fans/pwm-init.bb index f4b04e60bc..97daab696e 100644 --- a/meta-fii/meta-kudo/recipes-phosphor/fans/pwm-init.bb +++ b/meta-fii/meta-kudo/recipes-phosphor/fans/pwm-init.bb @@ -22,8 +22,8 @@ SYSTEMD_SERVICE:${PN} += "pwm_init.service" FILES:${PN} += "${bindir}/* ${systemd_system_unitdir}/*" do_install:append() { - install -d ${D}${bindir} - install -m 0755 ${S}/bin/* ${D}${bindir}/ + install -d ${D}${libexecdir}/${PN} + install -m 0755 ${S}/bin/* ${D}${libexecdir}/${PN}/ install -d ${D}${systemd_system_unitdir} install -m 0644 ${S}/*.service ${D}${systemd_system_unitdir} } diff --git a/meta-fii/meta-kudo/recipes-phosphor/fans/pwm-init/pwm_init.service b/meta-fii/meta-kudo/recipes-phosphor/fans/pwm-init/pwm_init.service index 981b8773c5..351d5f15b4 100644 --- a/meta-fii/meta-kudo/recipes-phosphor/fans/pwm-init/pwm_init.service +++ b/meta-fii/meta-kudo/recipes-phosphor/fans/pwm-init/pwm_init.service @@ -4,7 +4,7 @@ Before=xyz.openbmc_project.fansensor.service [Service] Type=oneshot -ExecStart=/usr/bin/pwm_init.sh +ExecStart=/usr/libexec/pwm-init/pwm_init.sh [Install] WantedBy=multi-user.target |