On Wed, May 18, 2016 at 07:23:59AM +0000, Balagopalakrishnan, Anand wrote:
> Instead of the following: 
> > +    rm -rf ${D}${systemd_system_unitdir}
> 
> should you have this line:
> rm -f ${D}${systemd_system_unitdir}/weston.service

Why?


> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Denys Dmytriyenko
> Sent: Tuesday, May 17, 2016 10:31 AM
> To: [email protected]
> Subject: [meta-arago] [RFC][PATCH 2/2] weston-init: disable systemd service 
> to fall back to old initscript
> 
> From: Denys Dmytriyenko <[email protected]>
> 
> Touchscreen calibration and other customizations are required from initscript
> 
> Signed-off-by: Denys Dmytriyenko <[email protected]>
> ---
>  meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend  | 5 ++++-  
> meta-arago-distro/recipes-graphics/wayland/weston-init/runWeston | 2 +-
>  2 files changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend 
> b/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend
> index 78a839f..041e5ab 100644
> --- a/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend
> +++ b/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend
> @@ -1,4 +1,4 @@
> -PR_append = ".arago6"
> +PR_append = ".arago7"
>  
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>  
> @@ -9,4 +9,7 @@ SRC_URI_append = " \
>  do_install_append() {
>      install -d ${D}${bindir}
>      install -m 755 ${WORKDIR}/runWeston ${D}${bindir}
> +    rm -rf ${D}${systemd_system_unitdir}
>  }
> +
> +SYSTEMD_SERVICE_${PN} = ""
> diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init/runWeston 
> b/meta-arago-distro/recipes-graphics/wayland/weston-init/runWeston
> index 6ef574a..aed5d5f 100644
> --- a/meta-arago-distro/recipes-graphics/wayland/weston-init/runWeston
> +++ b/meta-arago-distro/recipes-graphics/wayland/weston-init/runWeston
> @@ -1,4 +1,4 @@
> -#!/bin/bash
> +#!/bin/sh
>  
>  clear
>  cat << EOF
> --
> 2.2.0
> 
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to