From: Martin Jansa <martin.jansa@gmail.com>
To: "Andreas Müller" <schnitzeltony@googlemail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2] systemd: set default.target to multi-user.target
Date: Fri, 25 Jan 2013 19:06:34 +0100 [thread overview]
Message-ID: <20130125180634.GC16904@jama.palm1.palmone.com> (raw)
In-Reply-To: <CALbNGRRM2u80Pdbt7XOhbWTDBBceEpmdN-1drCTVTp_Ez7UQFg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1149 bytes --]
On Fri, Jan 25, 2013 at 06:53:54PM +0100, Andreas Müller wrote:
> On Fri, Jan 25, 2013 at 6:50 PM, Burton, Ross <ross.burton@intel.com> wrote:
> > Hi,
> >
> > Been chatting to Richard. How about systemd ships a symlink to
> > multi-user, and the X11 init script packages change the symlink to
> > graphical in their postinst.
> >
> > (we must remember to put this in the release notes for anyone who has
> > a custom X init script)
> >
> > Ross
> >
> Have not yet tested but how about:
>
> pkg_postinst_systemd () {
> if [ -n "$D" ]; then
> # no display-manager.service around?
> if [ ! -e ${D}${systemd_unitdir}/systemd/system/display-manager.service -a \
I think you wanted $D ^ here.
> ! grep 'Alias=display-manager.service'
> ${D}${systemd_unitdir}/systemd/system ]; then
> ln -s ${systemd_unitdir}/system/multi-user.target
> ${D}${systemd_unitdir}/systemd/system/default.target
> fi
> fi
Cannot we just just u-a for default.target ? And each possible target
providing own u-a alternative (DMs with higher prio then systemd)?
Cheers,
--
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-25 18:22 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-25 14:59 [PATCH v2] systemd: set default.target to multi-user.target Radu Moisan
2013-01-25 15:04 ` Burton, Ross
2013-01-25 15:10 ` Richard Purdie
2013-01-28 9:41 ` Radu Moisan
2013-01-25 15:12 ` Martin Jansa
2013-01-25 17:50 ` Burton, Ross
2013-01-25 17:53 ` Andreas Müller
2013-01-25 18:06 ` Martin Jansa [this message]
2013-01-25 18:35 ` Andreas Müller
2013-01-25 19:34 ` Martin Jansa
2013-01-25 20:21 ` Ross Burton
2013-01-25 20:26 ` Martin Jansa
2013-01-25 21:09 ` Andreas Müller
2013-01-25 23:52 ` Richard Purdie
2013-01-28 10:44 ` Burton, Ross
2013-01-28 11:20 ` Otavio Salvador
2013-01-28 11:48 ` Andreas Müller
2013-01-28 11:50 ` Burton, Ross
2013-01-28 18:27 ` Martin Jansa
2013-01-28 19:27 ` Burton, Ross
2013-01-28 19:48 ` 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=20130125180634.GC16904@jama.palm1.palmone.com \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=schnitzeltony@googlemail.com \
/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