Gentoo Archives: gentoo-catalyst

From: "W. Trevor King" <wking@×××××××.us>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] [PATCH] Start the X server only once.
Date: Sun, 29 Sep 2013 16:00:15
Message-Id: 20130929160001.GE14148@odin.tremily.us
In Reply to: Re: [gentoo-catalyst] [PATCH] Start the X server only once. by Douglas Freed
1 On Sun, Sep 29, 2013 at 01:03:37AM -0400, Douglas Freed wrote:
2 > On Wed, Sep 25, 2013 at 6:30 PM, Matt Turner <mattst88@g.o> wrote:
3 > > From: Matt Turner <mattst88@×××××.com>
4 > >
5 > > Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=481236
6 > > ---
7 > > livecd/files/livecd-bashrc | 2 +-
8 > > 1 file changed, 1 insertion(+), 1 deletion(-)
9 > >
10 > > diff --git a/livecd/files/livecd-bashrc b/livecd/files/livecd-bashrc
11 > > index 983e657..9ea1fea 100644
12 > > --- a/livecd/files/livecd-bashrc
13 > > +++ b/livecd/files/livecd-bashrc
14 > > @@ -4,7 +4,7 @@ if [ ! "$(grep nox /proc/cmdline)" ]
15 > > then
16 > > if [ -x /usr/bin/X ]
17 > > then
18 > > - if [ -e /etc/startx ]
19 > > + if [ -e /etc/startx -a $(tty) = "/dev/tty7" ];
20 > > then
21 > > rm -f /etc/startx
22 > > ##STARTX
23 > > --
24 > > 1.8.3.2
25 >
26 > This doesn't work because the livecd inittab doesn't (afaict) start a
27 > getty on tty7, only tty1-6. I would change this to tty1 to solve
28 > that.
29
30 For what it's worth, this is what I submitted back in March [1]. As I
31 pointed out later, Matt accidentally picked up an earlier version of
32 the patch [2]. I gave up on bumping the issue in May [3].
33
34 Cheers,
35 Trevor
36
37 [1]: http://thread.gmane.org/gmane.linux.gentoo.catalyst/2187/focus=2191
38 [2]: http://article.gmane.org/gmane.linux.gentoo.catalyst/2221/match=startx
39 [3]: http://thread.gmane.org/gmane.linux.gentoo.catalyst/2099/focus=2221
40
41 --
42 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
43 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

Attachments

File name MIME type
signature.asc application/pgp-signature