From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Andrei Gherzan <andrei.gherzan@windriver.com>
Subject: Re: [meta-oe][meta-systemd][PATCH 4/4] xorg-xserver: Add systemd service
Date: Mon, 14 Jan 2013 20:13:50 +0100 [thread overview]
Message-ID: <20130114191350.GG2992@jama> (raw)
In-Reply-To: <1358188976-14581-4-git-send-email-andrei.gherzan@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 2056 bytes --]
On Mon, Jan 14, 2013 at 08:42:56PM +0200, Andrei Gherzan wrote:
> Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
meta-openembedded/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init
isn't enough? why?
Cheers,
> ---
> .../xorg-xserver/xserver-xorg/X.service | 10 ++++++++++
> .../xorg-xserver/xserver-xorg_1.13.1.bbappend | 10 ++++++++++
> 2 files changed, 20 insertions(+), 0 deletions(-)
> create mode 100755 meta-systemd/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg/X.service
> create mode 100644 meta-systemd/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
>
> diff --git a/meta-systemd/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg/X.service b/meta-systemd/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg/X.service
> new file mode 100755
> index 0000000..7e900ff
> --- /dev/null
> +++ b/meta-systemd/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg/X.service
> @@ -0,0 +1,10 @@
> +[Unit]
> +Description=X Server
> +
> +[Service]
> +Type=simple
> +ExecStartPre=-/bin/rm -rf /var/log/Xorg*
> +ExecStart=/usr/bin/X
> +
> +[Install]
> +WantedBy=multi-user.target
> diff --git a/meta-systemd/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend b/meta-systemd/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
> new file mode 100644
> index 0000000..a3eb98c
> --- /dev/null
> +++ b/meta-systemd/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
> @@ -0,0 +1,10 @@
> +FILESEXTRAPATHS := "${THISDIR}/${PN}"
> +
> +PRINC := "${@int(PRINC) + 1}"
> +
> +inherit systemd
> +
> +SRC_URI_append = " file://X.service "
> +
> +SYSTEMD_PACKAGES = "${PN}-systemd"
> +SYSTEMD_SERVICE = "X.service"
> --
> 1.7.5.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2013-01-14 19:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 18:42 [meta-oe][meta-systemd][PATCH 1/4] bluez4: Package systemd service Andrei Gherzan
2013-01-14 18:42 ` [meta-oe][meta-systemd][PATCH 2/4] ofono: " Andrei Gherzan
2013-01-14 18:42 ` [meta-oe][meta-systemd][PATCH 3/4] portmap: Add " Andrei Gherzan
2013-01-14 18:42 ` [meta-oe][meta-systemd][PATCH 4/4] xorg-xserver: " Andrei Gherzan
2013-01-14 19:13 ` Martin Jansa [this message]
2013-01-14 19:14 ` [meta-oe][meta-systemd][PATCH 1/4] bluez4: Package " Martin Jansa
2013-01-14 23:39 ` Andreas Müller
2013-01-16 16:56 ` Andreas Müller
2013-01-17 13:00 ` Martin Jansa
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=20130114191350.GG2992@jama \
--to=martin.jansa@gmail.com \
--cc=andrei.gherzan@windriver.com \
--cc=openembedded-devel@lists.openembedded.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.