Merging in changes from catalyst 1.1.x for gamecd support.
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 6 Apr 2005 14:07:11 +0000 (14:07 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 6 Apr 2005 14:07:11 +0000 (14:07 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@587 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/livecd-stage1/livecd-stage1-controller.sh
targets/support/gamecdfs-update.sh
targets/support/livecdfs-update.sh

index d27b9df1dbba5985b9a8ce9edf57ef3cd73a0548..ce183c3f2c35b08cb36b113ec86391ab42f32896 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,16 @@
 # ChangeLog for gentoo/src/catalyst 
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.207 2005/04/06 03:02:06 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.208 2005/04/06 14:07:11 wolf31o2 Exp $
+
+  06 Apr 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+  targets/livecd-stage1/livecd-stage1-controller.sh,
+  targets/support/gamecdfs-update.sh, targets/support/livecdfs-update.sh:
+  Merging in changes from catalyst 1.1.x for gamecd support.
 
   06 Apr 2005; Eric Edgar <rocket@gentoo.org>
   targets/stage1/stage1-preclean-chroot.sh:
-  Removing gcc-config stuff to see if its still required to work around a gcc bug
+  Removing gcc-config stuff to see if its still required to work around a gcc
+  bug
 
   06 Apr 2005; Eric Edgar <rocket@gentoo.org>
   targets/support/chroot-functions.sh, targets/support/kmerge.sh:
index c729a51789ccfd6ad7ae9b21e5cada553085f812..0eed99a0212efae066f29f64ddb1c2949aa21edc 100755 (executable)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/livecd-stage1-controller.sh,v 1.1 2005/04/04 17:48:33 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/livecd-stage1-controller.sh,v 1.2 2005/04/06 14:07:11 wolf31o2 Exp $
 
 . ${clst_sharedir}/targets/support/functions.sh
 
@@ -52,7 +52,15 @@ case $1 in
                # execute gamecdfs-update.sh if we're a gamecd
                if [ "${clst_livecd_type}" = "gentoo-gamecd" ]
                then
+                       if [ -n "${clst_gamecd_conf}" ]
+                       then
+                               cp ${clst_gamecd_conf} ${clst_chroot_path}/tmp/gamecd.conf
+                       else
+                               echo "gamecd/conf is required for a gamecd!"
+                               exit 1
+                       fi
                        exec_in_chroot ${clst_sharedir}/targets/support/gamecdfs-update.sh
+                       rm -f ${clst_chroot_path}/tmp/gamecd.conf
                fi
                
                # if the user has their own fs update script, execute it
index 692812011959894f3cb0758240a39f849ff7c656..df96cabfffc2cf8fc9f1bef8a4902f0301f66c3e 100755 (executable)
@@ -3,7 +3,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 # we grab our configuration
-source "${clst_gamecd_conf}" || exit 1
+source /tmp/gamecd.conf || exit 1
 
 # here we replace out game information into several files
 sed -i -e "s:livecd:gamecd:" /etc/hosts
index 16cebe00959353ab3016429cf306768358e14013..b8c98e88bcf9896919b0184d4c429d82cf6ba957 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.2 2005/04/05 21:43:09 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.3 2005/04/06 14:07:11 wolf31o2 Exp $
 
 /usr/sbin/env-update
 source /etc/profile
@@ -130,10 +130,11 @@ then
 fi
 
 # setup opengl in /etc (if configured)
-[ -x /usr/sbin/openglify ] && /usr/sbin/openglify
+#[ -x /usr/sbin/openglify ] && /usr/sbin/openglify
+mkdir -p /etc/opengl
 
-# touch /etc/asound.state if alsa is configured
-[ -d /proc/asound/card0 ] && touch /etc/asound.state
+# touch /etc/asound.state
+touch /etc/asound.state
 
 # tweak the motd for gentoo releases 
 if [ "${clst_livecd_type}" = "gentoo-release-universal" ]