Gentoo Archives: gentoo-catalyst

From: "W. Trevor King" <wking@×××××××.us>
To: Catalyst <gentoo-catalyst@l.g.o>
Subject: [gentoo-catalyst] Re: [PATCH] livecdfs-update.sh: Set XSESSION in /etc/env.d/90xsession
Date: Sat, 02 Mar 2013 22:10:38
Message-Id: 20130302221014.GA31585@odin.tremily.us
In Reply to: [gentoo-catalyst] [PATCH] livecdfs-update.sh: Set XSESSION in /etc/env.d/90xsession by "W. Trevor King"
1 On Sat, Mar 02, 2013 at 02:24:29PM -0500, W. Trevor King wrote:
2 > --- a/targets/support/livecdfs-update.sh
3 > +++ b/targets/support/livecdfs-update.sh
4 > @@ -171,8 +171,7 @@ fi
5 > # Setup configured default X Session
6 > if [ -n "${clst_livecd_xsession}" ]
7 > then
8 > - sed -i "s:#XSESSION=\"Gnome\":XSESSION=\"${clst_livecd_xsession}\":" \
9 > - /etc/rc.conf
10 > + echo "XSESSION=\"${clst_livecd_xsession}\"" > /etc/env.d/90xsession
11 > fi
12 >
13 > # touch /etc/asound.state
14
15 This also needs an etc-update run. I'm not sure where the best place
16 to do that is. Maybe put an env-update call at the end of
17 livecdfs-update.sh? Maybe update_env_settings? Add a new phase to
18 the livecd-stage2?
19
20 Thoughts?
21 Trevor
22
23 --
24 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
25 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

Attachments

File name MIME type
signature.asc application/pgp-signature