diff options
-rw-r--r-- | meta/recipes-graphics/wayland/weston-init.bb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb index 653541e3c8..4ad62cff2d 100644 --- a/meta/recipes-graphics/wayland/weston-init.bb +++ b/meta/recipes-graphics/wayland/weston-init.bb @@ -8,11 +8,8 @@ SRC_URI = "file://init \ S = "${WORKDIR}" do_install() { - install -d ${D}/${sysconfdir}/init.d - install -m755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston - - install -d ${D}${systemd_system_unitdir} - install -m0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir} + install -Dm755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston + install -Dm0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir}/weston.service } inherit allarch update-rc.d distro_features_check systemd |