1 |
commit: 968cb74cbe7a7bcbdef80a0dd46f696db2d746af |
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: Thu Nov 21 09:00:10 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=968cb74c |
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 5e578b0..0a3fa3f 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 |