Patchwork [1/3] gdm: do not rely on dev-tty7.device

login
register
mail settings
Submitter Andreas Müller
Date Sept. 3, 2012, 6:54 a.m.
Message ID <1346655278-3462-1-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/35651/
State Accepted
Commit 4ac49b2ac22eb13f2c3f0ed63418c871af52ff46
Headers show

Comments

Andreas Müller - Sept. 3, 2012, 6:54 a.m.
Error message was:

[ TIME ] Timed out waiting for device dev-tty7.device.
[DEPEND] Dependency failed for Gnome Display Manager.

run tested on overo/xfce

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 .../meta-gnome/recipes-gnome/gdm/gdm/gdm.service   |    3 +--
 .../recipes-gnome/gdm/gdm_2.32.2.bbappend          |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
Andreas Müller - Sept. 12, 2012, 12:30 p.m.
On Mon, Sep 3, 2012 at 8:54 AM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> Error message was:
>
> [ TIME ] Timed out waiting for device dev-tty7.device.
> [DEPEND] Dependency failed for Gnome Display Manager.
>
> run tested on overo/xfce
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  .../meta-gnome/recipes-gnome/gdm/gdm/gdm.service   |    3 +--
>  .../recipes-gnome/gdm/gdm_2.32.2.bbappend          |    2 +-
>  2 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service
> index adfc565..0f94e0c 100644
> --- a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service
> +++ b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service
> @@ -1,7 +1,6 @@
>  [Unit]
>  Description=Gnome Display Manager
> -Requires=dev-tty7.device
> -After=dev-tty7.device systemd-user-sessions.service
> +After=systemd-user-sessions.service
>
>  [Service]
>  ExecStart=/usr/sbin/gdm -nodaemon
> diff --git a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend
> index 963e3e8..496a276 100644
> --- a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend
> +++ b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend
> @@ -1,7 +1,7 @@
>  # look for files in the layer first
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> -PRINC := "${@int(PRINC) + 2}"
> +PRINC := "${@int(PRINC) + 3}"
>
>  inherit systemd
>
> --
> 1.7.4.4
Ping

Patch

diff --git a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service
index adfc565..0f94e0c 100644
--- a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service
+++ b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm/gdm.service
@@ -1,7 +1,6 @@ 
 [Unit]
 Description=Gnome Display Manager
-Requires=dev-tty7.device
-After=dev-tty7.device systemd-user-sessions.service
+After=systemd-user-sessions.service
 
 [Service]
 ExecStart=/usr/sbin/gdm -nodaemon
diff --git a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend
index 963e3e8..496a276 100644
--- a/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend
+++ b/meta-systemd/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bbappend
@@ -1,7 +1,7 @@ 
 # look for files in the layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PRINC := "${@int(PRINC) + 2}"
+PRINC := "${@int(PRINC) + 3}"
 
 inherit systemd