Gentoo Archives: gentoo-commits

From: Brian Dolbec <brian.dolbec@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:rewrite-on-master commit in: targets/support/
Date: Fri, 22 Nov 2013 07:13:40
Message-Id: 1385100110.8642a0c4146d1170f5eee8073e68223c25ecf723.dol-sen@gentoo
1 commit: 8642a0c4146d1170f5eee8073e68223c25ecf723
2 Author: W. Trevor King <wking <AT> tremily <DOT> us>
3 AuthorDate: Sat Mar 2 19:17:01 2013 +0000
4 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
5 CommitDate: Fri Nov 22 06:01:50 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=8642a0c4
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 620ad7e..141fe59 100755
22 --- a/targets/support/livecdfs-update.sh
23 +++ b/targets/support/livecdfs-update.sh
24 @@ -171,8 +171,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