From: Denys Dmytriyenko <denys@ti.com>
To: "Balagopalakrishnan, Anand" <anandb@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: [RFC][PATCH 2/2] weston-init: disable systemd service to fall back to old initscript
Date: Wed, 18 May 2016 12:43:37 -0400 [thread overview]
Message-ID: <20160518164337.GB16188@edge> (raw)
In-Reply-To: <05CF4794C98B244ABDC620C1090376227329A1B3@DBDE04.ent.ti.com>
On Wed, May 18, 2016 at 12:19:05PM -0400, Balagopalakrishnan, Anand wrote:
> On the target filesystem, I see that weston.service is installed to
> /lib/systemd/system. If you delete ${systemd_system_unitdir}, will those
> files also be removed?
There are no other files in that directory coming from this package. So, this
package doesn't need that directory, as it will be empty. The package is only
responsible for the files and directories it provides, not for the entire
rootfs.
--
Denys
> ________________________________________
> From: Dmytriyenko, Denys
> Sent: Wednesday, May 18, 2016 9:29 PM
> To: Balagopalakrishnan, Anand
> Cc: Denys Dmytriyenko; meta-arago@arago-project.org
> Subject: Re: [meta-arago] [RFC][PATCH 2/2] weston-init: disable systemd service to fall back to old initscript
>
> 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: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> > Sent: Tuesday, May 17, 2016 10:31 AM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [RFC][PATCH 2/2] weston-init: disable systemd service to fall back to old initscript
> >
> > From: Denys Dmytriyenko <denys@ti.com>
> >
> > Touchscreen calibration and other customizations are required from initscript
> >
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > ---
> > 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
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
prev parent reply other threads:[~2016-05-18 16:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-17 5:01 [RFC][PATCH 1/2] systemd: port our own custom rules from old udev Denys Dmytriyenko
2016-05-17 5:01 ` [RFC][PATCH 2/2] weston-init: disable systemd service to fall back to old initscript Denys Dmytriyenko
2016-05-18 7:23 ` Balagopalakrishnan, Anand
2016-05-18 15:59 ` Denys Dmytriyenko
2016-05-18 16:19 ` Balagopalakrishnan, Anand
2016-05-18 16:43 ` Denys Dmytriyenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160518164337.GB16188@edge \
--to=denys@ti.com \
--cc=anandb@ti.com \
--cc=meta-arago@arago-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.