From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH 1/1] xserver-nodm-init: exit 1 only if systemd is installed
Date: Tue, 11 Oct 2011 21:54:45 +0200 [thread overview]
Message-ID: <j726u5$8ta$1@dough.gmane.org> (raw)
In-Reply-To: <2d40bd35a2ecf2ac49a66a09656c7319aa811c98.1318362324.git.otavio@ossystems.com.br>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 11-10-11 21:46, Otavio Salvador schreef:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> ---
> .../xserver-nodm-init/xserver-nodm-init_2.0.bb | 10 ++++------ 1
> files changed, 4 insertions(+), 6 deletions(-)
>
> diff --git
> a/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb
> b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb
> index d4a6b97..87079a6 100644 ---
> a/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb +++
> b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb @@
> -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM =
> "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" SECTION = "x11"
>
> -PR = "r9" +PR = "r10"
>
> SRC_URI = "file://xserver-nodm \ file://xserver-nodm.service \ @@ -31,12
> +31,10 @@ INITSCRIPT_PARAMS = "start 01 5 2 . stop 01 0 1 6 ."
> INITSCRIPT_PARAMS_shr = "start 90 5 2 . stop 90 0 1 6 ."
>
> pkg_postinst_${PN}_append () { - # can't do this offline - if [
> "x$D" != "x" ]; then - exit 1 - fi - if [ -e /bin/systemctl ] ;
> then + # can't do this offline + [ "x$D" != "x" ] && exit
> 1 + systemctl enable xserver-nodm.service fi }
While you're at it, please change it to ${base_bindir}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFOlJ8EMkyGM64RGpERAjlwAKCryf1VfXEmdAFFj7tcyIc553EragCcDxx5
XG3FrZa5JCfCy8IHpJ6UZ1k=
=dU6H
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2011-10-11 20:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-11 19:46 [meta-oe][PATCH 0/1] Avoid unrequired runtime enforcement for postinst Otavio Salvador
2011-10-11 19:46 ` [meta-oe][PATCH 1/1] xserver-nodm-init: exit 1 only if systemd is installed Otavio Salvador
2011-10-11 19:54 ` Koen Kooi [this message]
2011-10-11 20:00 ` Otavio Salvador
2011-10-11 20:04 ` Otavio Salvador
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='j726u5$8ta$1@dough.gmane.org' \
--to=koen@dominion.thruhere.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox