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 57C2D198005 for ; Sat, 2 Mar 2013 19:24:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D72A6E05F8; Sat, 2 Mar 2013 19:24:53 +0000 (UTC) Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by pigeon.gentoo.org (Postfix) with ESMTP id 6BAA1E05F8 for ; Sat, 2 Mar 2013 19:24:53 +0000 (UTC) Received: from odin.tremily.us ([unknown] [72.68.84.219]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MJ100BEVSL09Z20@vms173003.mailsrvcs.net> for gentoo-catalyst@lists.gentoo.org; Sat, 02 Mar 2013 13:24:38 -0600 (CST) Received: by odin.tremily.us (Postfix, from userid 1000) id 846A38EAE0A; Sat, 02 Mar 2013 14:24:34 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin; t=1362252275; bh=w0r5hLrB0fdCakD1jVj4PBukualBFepgsLrYFxElOXI=; h=From:To:Cc:Subject:Date; b=GSIjOViOoU94lsnNtS21YcCeWrrt3JqlEhTH0LbHGVwJWFP+U7cggCqghwkCw21LO euX29jfQ60wsMP52cQvFTf/C3nXM/G5SEtPIqxqIN4Yx1Pn70TNuYZ+r0pyKCAY3Rx N4RYQtJ6yBiVYP5idLGSYFw+P9F/jziXCAw92AfE= From: "W. Trevor King" To: Catalyst Cc: "W. Trevor King" Subject: [gentoo-catalyst] [PATCH] livecdfs-update.sh: Set XSESSION in /etc/env.d/90xsession Date: Sat, 02 Mar 2013 14:24:29 -0500 Message-id: X-Mailer: git-send-email 1.7.12.4 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 X-Archives-Salt: 4aa297fe-ec89-4a98-b459-44b31c6e1c2f X-Archives-Hash: 98d1a712a221526af52e6967e30a0be3 From: "W. Trevor King" As part of the OpenRC migration, the recommended place for configuring the default X session moved from /etc/rc.conf to /etc/env.d/90xsession [1]. [1]: http://www.gentoo.org/doc/en/openrc-migration.xml --- targets/support/livecdfs-update.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index 77d694e..d95d537 100644 --- 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=\"Gnome\":XSESSION=\"${clst_livecd_xsession}\":" \ - /etc/rc.conf + echo "XSESSION=\"${clst_livecd_xsession}\"" > /etc/env.d/90xsession fi # touch /etc/asound.state -- 1.8.2.rc0.16.g20a599e