ceph-manager: fix the path for init script
sm looks for init script ceph-manager in /etc/init.d instead of /etc/rc.d/init.d, so fix the path will fix the following error: ERROR: sm[78078]: sm_service_action.c(707): Service (ceph-manager) plugin (/etc/init.d/ceph-manager) access failed, error=No such file or directory. Partial-Bug: 1897685 Change-Id: I47b7ffd059960722d72ee68a24d9a2ed0c985989 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
parent
8f842934b6
commit
9fd5c1843d
@ -37,12 +37,12 @@ do_restore_files() {
|
||||
do_install_append() {
|
||||
|
||||
install -d -m0755 ${D}/${bindir}
|
||||
install -d -m0755 ${D}/${sysconfdir}/rc.d/init.d
|
||||
install -d -m0755 ${D}/${sysconfdir}/init.d
|
||||
install -d -m0755 ${D}/${sysconfdir}/logrotate.d
|
||||
install -d -m0755 ${D}/${systemd_system_unitdir}
|
||||
|
||||
install -p -m0700 ${S}/ceph/ceph-manager/scripts/bin/ceph-manager ${D}/${bindir}
|
||||
install -p -m0700 ${S}/ceph/ceph-manager/scripts/init.d/ceph-manager ${D}/${sysconfdir}/rc.d/init.d
|
||||
install -p -m0700 ${S}/ceph/ceph-manager/scripts/init.d/ceph-manager ${D}/${sysconfdir}/init.d
|
||||
install -p -m0700 ${S}/ceph/ceph-manager/files/ceph-manager.logrotate ${D}/${sysconfdir}/logrotate.d
|
||||
install -p -m0700 ${S}/ceph/ceph-manager/files/ceph-manager.service ${D}/${systemd_system_unitdir}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user