[initial-setup][PATCH] Try to quit plymouth before running our X server instance (#1058329)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Thu Feb 6 15:36:28 UTC 2014
Ack.
On Wed, Feb 05, 2014 at 08:48:21AM +0100, Vratislav Podzimek wrote:
> Otherwise the VT may end up not being switched (and they say it's not a bug)
> leaving user staring at the plymouth animation forever with the Initial Setup
> running on a different VT. By quitting plymouth first we get tty1 free to run
> our X server there.
>
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
> systemd/initial-setup-graphical.service | 2 +-
> systemd/initial-setup-text.service | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/systemd/initial-setup-graphical.service b/systemd/initial-setup-graphical.service
> index 144a2d3..3e55cd1 100644
> --- a/systemd/initial-setup-graphical.service
> +++ b/systemd/initial-setup-graphical.service
> @@ -7,7 +7,7 @@ ConditionKernelCommandLine=!rd.live.image
>
> [Service]
> Type=oneshot
> -ExecStartPre=
> +ExecStartPre=-/bin/plymouth quit
> ExecStart=/bin/xinit /bin/firstboot-windowmanager /bin/initial-setup -- /bin/Xorg :9 -ac -nolisten tcp
> TimeoutSec=0
> RemainAfterExit=no
> diff --git a/systemd/initial-setup-text.service b/systemd/initial-setup-text.service
> index fcb5711..59c19a3 100644
> --- a/systemd/initial-setup-text.service
> +++ b/systemd/initial-setup-text.service
> @@ -12,6 +12,7 @@ ConditionKernelCommandLine=!rd.live.image
>
> [Service]
> Type=oneshot
> +ExecStartPre=-/bin/plymouth quit
> ExecStartPre=/bin/kill -55 1
> ExecStart=/bin/initial-setup
> ExecStartPost=/bin/kill -54 1
> --
> 1.8.5.3
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
More information about the anaconda-patches
mailing list