public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] [PATCH] Start the X server only once.
@ 2013-09-25 22:30 Matt Turner
  2013-09-29  5:03 ` Douglas Freed
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Turner @ 2013-09-25 22:30 UTC (permalink / raw
  To: gentoo-catalyst; +Cc: thomas.stellard, Matt Turner

From: Matt Turner <mattst88@gmail.com>

Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=481236
---
 livecd/files/livecd-bashrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/livecd/files/livecd-bashrc b/livecd/files/livecd-bashrc
index 983e657..9ea1fea 100644
--- a/livecd/files/livecd-bashrc
+++ b/livecd/files/livecd-bashrc
@@ -4,7 +4,7 @@ if [ ! "$(grep nox /proc/cmdline)" ]
 then
 	if [ -x /usr/bin/X ]
 	then
-		if [ -e /etc/startx ]
+		if [ -e /etc/startx -a $(tty) = "/dev/tty7" ];
 		then
 			rm -f /etc/startx
 			##STARTX
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [gentoo-catalyst] [PATCH] Start the X server only once.
  2013-09-25 22:30 [gentoo-catalyst] [PATCH] Start the X server only once Matt Turner
@ 2013-09-29  5:03 ` Douglas Freed
  2013-09-29 16:00   ` W. Trevor King
  0 siblings, 1 reply; 3+ messages in thread
From: Douglas Freed @ 2013-09-29  5:03 UTC (permalink / raw
  To: gentoo-catalyst

On Wed, Sep 25, 2013 at 6:30 PM, Matt Turner <mattst88@gentoo.org> wrote:
> From: Matt Turner <mattst88@gmail.com>
>
> Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=481236
> ---
>  livecd/files/livecd-bashrc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/livecd/files/livecd-bashrc b/livecd/files/livecd-bashrc
> index 983e657..9ea1fea 100644
> --- a/livecd/files/livecd-bashrc
> +++ b/livecd/files/livecd-bashrc
> @@ -4,7 +4,7 @@ if [ ! "$(grep nox /proc/cmdline)" ]
>  then
>         if [ -x /usr/bin/X ]
>         then
> -               if [ -e /etc/startx ]
> +               if [ -e /etc/startx -a $(tty) = "/dev/tty7" ];
>                 then
>                         rm -f /etc/startx
>                         ##STARTX
> --
> 1.8.3.2

This doesn't work because the livecd inittab doesn't (afaict) start a
getty on tty7, only tty1-6.  I would change this to tty1 to solve
that.

-Doug


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-catalyst] [PATCH] Start the X server only once.
  2013-09-29  5:03 ` Douglas Freed
@ 2013-09-29 16:00   ` W. Trevor King
  0 siblings, 0 replies; 3+ messages in thread
From: W. Trevor King @ 2013-09-29 16:00 UTC (permalink / raw
  To: gentoo-catalyst

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

On Sun, Sep 29, 2013 at 01:03:37AM -0400, Douglas Freed wrote:
> On Wed, Sep 25, 2013 at 6:30 PM, Matt Turner <mattst88@gentoo.org> wrote:
> > From: Matt Turner <mattst88@gmail.com>
> >
> > Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=481236
> > ---
> >  livecd/files/livecd-bashrc | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/livecd/files/livecd-bashrc b/livecd/files/livecd-bashrc
> > index 983e657..9ea1fea 100644
> > --- a/livecd/files/livecd-bashrc
> > +++ b/livecd/files/livecd-bashrc
> > @@ -4,7 +4,7 @@ if [ ! "$(grep nox /proc/cmdline)" ]
> >  then
> >         if [ -x /usr/bin/X ]
> >         then
> > -               if [ -e /etc/startx ]
> > +               if [ -e /etc/startx -a $(tty) = "/dev/tty7" ];
> >                 then
> >                         rm -f /etc/startx
> >                         ##STARTX
> > --
> > 1.8.3.2
> 
> This doesn't work because the livecd inittab doesn't (afaict) start a
> getty on tty7, only tty1-6.  I would change this to tty1 to solve
> that.

For what it's worth, this is what I submitted back in March [1].  As I
pointed out later, Matt accidentally picked up an earlier version of
the patch [2].  I gave up on bumping the issue in May [3].

Cheers,
Trevor

[1]: http://thread.gmane.org/gmane.linux.gentoo.catalyst/2187/focus=2191
[2]: http://article.gmane.org/gmane.linux.gentoo.catalyst/2221/match=startx
[3]: http://thread.gmane.org/gmane.linux.gentoo.catalyst/2099/focus=2221

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-29 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-25 22:30 [gentoo-catalyst] [PATCH] Start the X server only once Matt Turner
2013-09-29  5:03 ` Douglas Freed
2013-09-29 16:00   ` W. Trevor King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox