From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9BC8A198005 for ; Sat, 2 Mar 2013 22:10:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38563E0525; Sat, 2 Mar 2013 22:10:37 +0000 (UTC) Received: from vms173013pub.verizon.net (vms173013pub.verizon.net [206.46.173.13]) by pigeon.gentoo.org (Postfix) with ESMTP id B2467E0525 for ; Sat, 2 Mar 2013 22:10:36 +0000 (UTC) Received: from odin.tremily.us ([unknown] [72.68.84.219]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MJ2001XN095Y240@vms173013.mailsrvcs.net> for gentoo-catalyst@lists.gentoo.org; Sat, 02 Mar 2013 16:10:18 -0600 (CST) Received: by odin.tremily.us (Postfix, from userid 1000) id A7AD18EB14B; Sat, 02 Mar 2013 17:10:15 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin; t=1362262215; bh=8vJuCn0f6Y2UKrxeiye75QuFbkXHJIdDwr1/lQMbMQA=; h=Date:From:To:Subject:References:In-Reply-To; b=pK1H8c4AwQGqzfbDI/KSwdgiA4jqYQ8JEgteTiqJEa0QhpJkrMXhHYeWAYBBhJFML z1u8/AfUmXQOT0Pg+N4fKE7GxqqSoGIHAGLmy285KBnPQvGPg2n6g+R3GMEkOZkWtk +mrsUSQNKLL+6uhSY6U+Pce5fbXWbCIx7vPmpNCE= Date: Sat, 02 Mar 2013 17:10:14 -0500 From: "W. Trevor King" To: Catalyst Subject: [gentoo-catalyst] Re: [PATCH] livecdfs-update.sh: Set XSESSION in /etc/env.d/90xsession Message-id: <20130302221014.GA31585@odin.tremily.us> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=VS++wcV0S1rZb1Fb Content-disposition: inline In-reply-to: OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8; url=http://tremily.us/pubkey.txt User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 4a2cd7ea-f2cb-425c-811e-fa1c61a8abd6 X-Archives-Hash: 3fe6caec925116426a875cce5f50bf50 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 02, 2013 at 02:24:29PM -0500, W. Trevor King wrote: > --- a/targets/support/livecdfs-update.sh > +++ b/targets/support/livecdfs-update.sh > @@ -171,8 +171,7 @@ fi > # Setup configured default X Session > if [ -n "${clst_livecd_xsession}" ] > then > - sed -i "s:#XSESSION=3D\"Gnome\":XSESSION=3D\"${clst_livecd_xsession}\":= " \ > - /etc/rc.conf > + echo "XSESSION=3D\"${clst_livecd_xsession}\"" > /etc/env.d/90xsession > fi > =20 > # touch /etc/asound.state This also needs an etc-update run. I'm not sure where the best place to do that is. Maybe put an env-update call at the end of livecdfs-update.sh? Maybe update_env_settings? Add a new phase to the livecd-stage2? Thoughts? Trevor --=20 This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJRMnjEAAoJEEUbTsx0l5OMvdUP/jUZiZc6iVq2drDEs9HghskN Ug8KhxWLuBUSwSeqFIjOkp22L939zpsL6WixKnV38f+iiJ3MVs0QU9EEqdlMy8LF b8pteM/hBdkLErqcUpS49a0LKjn7ie/oOIuDUc5ttJD8SzqkaGlmUrwI+Maa5PGB C47XWiiXj0SMXzqDWo2JtCF0ZS3sXKm4A4rokVeUyC8612ALFFuV6+Dqr29NW1OI YcV/qFbo05v86HcloWodQdF0xnjZc9DD6rAe/csaEIB5N3JOneFfNH+rR5KvLx0+ 7xATsCXpwqVoHaWjfloZGDsJBOzWTeNflkwHocCdb6BrP9qB0ojMFgspzOYTkIH8 QYJOwYGik9jdgRg3KqmEiKOuLDL4+cy7baYDYfrF6qyoWwUGM/pJzR3jpAlXM7e5 JPUlcKJR6J1yGxUiuVTeNDFJWUrW9gondiG00ZedG6GbVDPQpFVOquuU3WDVYKE1 Rqwp265RTrRTA5/ocpvq+v1tPxb5E6DUHatjyeUUidFOjynLInhV4jFmc8a7cUeY w7CdHvwENy0e6X/rhbrtnjXH6Pow6ocwLmDOyzsRq93dQX/4/Gd78r68+0ua/AEr GkB24qNWLy8HOmG0yeduPNdnXmyJu6o1viJt7cLLiOeyqPaIHO01arJ8BAWtoDF/ 2dKW55vk8tu5Pur5zB/z =XC1X -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--