All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Radu Moisan <radu.moisan@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] systemd: set default.target to multi-user.target
Date: Thu, 24 Jan 2013 14:48:01 +0100	[thread overview]
Message-ID: <20130124134801.GD3012@jama> (raw)
In-Reply-To: <1359034562-31592-1-git-send-email-radu.moisan@intel.com>

[-- Attachment #1: Type: text/plain, Size: 2978 bytes --]

On Thu, Jan 24, 2013 at 03:36:02PM +0200, Radu Moisan wrote:
> this fixes a service dependency issue;
> while graphical.target is the default mode, systemd
> will try to start display-manager.service which is not
> available.

what about images with display-manager available?

meta-efl/recipes-efl/efl/entrance/entrance.service:Alias=display-manager.service
meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in:Alias=display-manager.service
meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service:Alias=display-manager.service

?

Making this change in global PKG_ARCH recipe doesn't look correct (and
also missing Upstream-Status and SOB line).

Cheers,

> Signed-off-by: Radu Moisan <radu.moisan@intel.com>
> ---
>  .../systemd/set_default_target_to_multi-user.patch |   13 +++++++++++++
>  meta/recipes-core/systemd/systemd_196.bb           |    1 +
>  2 files changed, 14 insertions(+)
>  create mode 100644 meta/recipes-core/systemd/systemd/set_default_target_to_multi-user.patch
> 
> diff --git a/meta/recipes-core/systemd/systemd/set_default_target_to_multi-user.patch b/meta/recipes-core/systemd/systemd/set_default_target_to_multi-user.patch
> new file mode 100644
> index 0000000..d29471c
> --- /dev/null
> +++ b/meta/recipes-core/systemd/systemd/set_default_target_to_multi-user.patch
> @@ -0,0 +1,13 @@
> +Index: git/Makefile.am
> +===================================================================
> +--- git.orig/Makefile.am
> ++++ git/Makefile.am
> +@@ -3873,7 +3873,7 @@ systemd-install-data-hook:
> + 		$(LN_S) reboot.target runlevel6.target )
> + 	( cd $(DESTDIR)$(systemunitdir) && \
> + 		rm -f default.target ctrl-alt-del.target autovt@.service && \
> +-		$(LN_S) graphical.target default.target && \
> ++		$(LN_S) multi-user.target default.target && \
> + 		$(LN_S) reboot.target ctrl-alt-del.target && \
> + 		$(LN_S) getty@.service autovt@.service )
> + 	( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
> diff --git a/meta/recipes-core/systemd/systemd_196.bb b/meta/recipes-core/systemd/systemd_196.bb
> index a78a8a6..c6798fc 100644
> --- a/meta/recipes-core/systemd/systemd_196.bb
> +++ b/meta/recipes-core/systemd/systemd_196.bb
> @@ -23,6 +23,7 @@ SRC_URI = "http://www.freedesktop.org/software/systemd/systemd-${PV}.tar.xz \
>             file://var-run.conf \
>             ${UCLIBCPATCHES} \
>             file://00-create-volatile.conf \
> +           file://set_default_target_to_multi-user.patch \
>            "
>  SRC_URI[md5sum] = "05ebd7f108e420e2b4e4810ea4b3c810"
>  SRC_URI[sha256sum] = "6bd4a658a5dd8198235b17ad1b1f0cc56d9e6f00d646ddcffdfc6f058b55e4bf"
> -- 
> 1.7.9.5
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2013-01-24 14:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24 13:36 [PATCH] systemd: set default.target to multi-user.target Radu Moisan
2013-01-24 13:48 ` Martin Jansa [this message]
2013-01-24 14:05   ` Andreas Müller
2013-01-24 14:05   ` Radu Moisan
2013-01-24 14:03     ` Samuel Stirtzel
2013-01-24 14:05       ` Samuel Stirtzel
2013-01-24 15:03         ` Burton, Ross
2013-01-24 15:16           ` Andreas Müller
2013-01-24 15:20             ` Burton, Ross
2013-01-24 15:30               ` Samuel Stirtzel
2013-01-24 15:37                 ` Burton, Ross
2013-01-24 15:43                   ` Martin Jansa
2013-01-24 15:48                     ` Burton, Ross
2013-01-25 10:11                       ` Radu Moisan

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=20130124134801.GD3012@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=radu.moisan@intel.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 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.