Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/
Date: Thu, 26 Feb 2015 20:19:29
Message-Id: 1424978121.733a4e2104be329020f492780720821138f5cb48.dolsen@gentoo
1 commit: 733a4e2104be329020f492780720821138f5cb48
2 Author: W. Trevor King <wking <AT> tremily <DOT> us>
3 AuthorDate: Sat Mar 2 19:17:01 2013 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 26 19:15:21 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=733a4e21
7
8 livecdfs-update.sh: Set XSESSION in /etc/env.d/90xsession
9
10 As part of the OpenRC migration, the recommended place for configuring
11 the default X session moved from /etc/rc.conf to /etc/env.d/90xsession
12 [1].
13
14 [1]: http://www.gentoo.org/doc/en/openrc-migration.xml
15
16 ---
17 targets/support/livecdfs-update.sh | 3 +--
18 1 file changed, 1 insertion(+), 2 deletions(-)
19
20 diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh
21 index 60a9a6f..d16248e 100755
22 --- a/targets/support/livecdfs-update.sh
23 +++ b/targets/support/livecdfs-update.sh
24 @@ -170,8 +170,7 @@ fi
25 # Setup configured default X Session
26 if [ -n "${clst_livecd_xsession}" ]
27 then
28 - sed -i "s:#XSESSION=\"Gnome\":XSESSION=\"${clst_livecd_xsession}\":" \
29 - /etc/rc.conf
30 + echo "XSESSION=\"${clst_livecd_xsession}\"" > /etc/env.d/90xsession
31 fi
32
33 # touch /etc/asound.state