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] livecdfs-update.sh: Set XSESSION in /etc/env.d/90xsession
Date: Sat, 02 Mar 2013 19:24:54
Message-Id: e523136669974c6586b2c6d28b3f50684a7a7bb7.1362252114.git.wking@tremily.us
1 From: "W. Trevor King" <wking@×××××××.us>
2
3 As part of the OpenRC migration, the recommended place for configuring
4 the default X session moved from /etc/rc.conf to /etc/env.d/90xsession
5 [1].
6
7 [1]: http://www.gentoo.org/doc/en/openrc-migration.xml
8 ---
9 targets/support/livecdfs-update.sh | 3 +--
10 1 file changed, 1 insertion(+), 2 deletions(-)
11
12 diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh
13 index 77d694e..d95d537 100644
14 --- a/targets/support/livecdfs-update.sh
15 +++ b/targets/support/livecdfs-update.sh
16 @@ -171,8 +171,7 @@ fi
17 # Setup configured default X Session
18 if [ -n "${clst_livecd_xsession}" ]
19 then
20 - sed -i "s:#XSESSION=\"Gnome\":XSESSION=\"${clst_livecd_xsession}\":" \
21 - /etc/rc.conf
22 + echo "XSESSION=\"${clst_livecd_xsession}\"" > /etc/env.d/90xsession
23 fi
24
25 # touch /etc/asound.state
26 --
27 1.8.2.rc0.16.g20a599e

Replies

Subject Author
[gentoo-catalyst] Re: [PATCH] livecdfs-update.sh: Set XSESSION in /etc/env.d/90xsession "W. Trevor King" <wking@×××××××.us>