Gentoo Archives: gentoo-catalyst

From: "W. Trevor King" <wking@×××××××.us>
To: Catalyst <gentoo-catalyst@l.g.o>
Cc: "W. Trevor King" <wking@×××××××.us>
Subject: [gentoo-catalyst] [PATCH v2 0/2] Fix livecdfs-update.sh startx handling
Date: Wed, 06 Mar 2013 17:03:29
Message-Id: cover.1362589155.git.wking@tremily.us
In Reply to: [gentoo-catalyst] [PATCH] livecd-bashrc: Avoid a startx race by restricting to tty1 by "W. Trevor King"
1 From: "W. Trevor King" <wking@×××××××.us>
2
3 Changes since v1:
4
5 * Even with escaped ampersands, the old startx expression didn't work
6 very well with a Bash shell. The XSESSION environment variable is
7 set via /etc/profile which Bash only sources if it thinks its in a
8 login shell. This version reworks the startx su call so Bash *does*
9 source the profile.
10
11 W. Trevor King (2):
12 livecd-bashrc: Avoid a startx race by restricting to tty1
13 livecdfs-update.sh: Use `bash --login` to spawn startx
14
15 livecd/files/livecd-bashrc | 2 +-
16 targets/support/livecdfs-update.sh | 4 +---
17 2 files changed, 2 insertions(+), 4 deletions(-)
18
19 --
20 1.8.2.rc0.16.g20a599e

Replies