Added mutex to AUTHORS and added livecd/linuxrc support to embedded, stage4, and...
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 25 May 2005 19:15:18 +0000 (19:15 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 25 May 2005 19:15:18 +0000 (19:15 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@662 d1e1f19c-881f-0410-ab34-b69fee027534

AUTHORS
ChangeLog
examples/livecd-stage2_template.spec
modules/livecd_stage2_target.py
targets/livecd-stage2/livecd-stage2-controller.sh
targets/stage4/stage4-controller.sh
targets/support/kmerge.sh

diff --git a/AUTHORS b/AUTHORS
index 9fc5f80cb2ee12b71dfa96748a54b41b48b09ee7..6bb5b0d41e609f3765138d5e91209b90fd50f5bd 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -12,3 +12,4 @@ Guy Martin <gmsoft@gentoo.org>
 Mike Frysinger <vapier@gentoo.org>
 Gustavo Zacarias <gustavoz@gentoo.org>
 Robert Paskowitz <r2d2@gentoo.org>
+David Bryson <mutex@gentoo.org>
index 5c71a09325cb35bbf605710efa5964b64ee84764..9edc8301ca40508c13d369c4f13f9188bbf72983 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.262 2005/05/20 19:16:47 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.263 2005/05/25 19:15:17 wolf31o2 Exp $
+
+  25 May 2005; Chris Gianelloni <wolf31o2@gentoo.org> AUTHORS,
+  examples/livecd-stage2_template.spec, modules/livecd_stage2_target.py,
+  targets/livecd-stage2/livecd-stage2-controller.sh,
+  targets/stage4/stage4-controller.sh, targets/support/kmerge.sh:
+  Added mutex to AUTHORS and added livecd/linuxrc support to embedded, stage4,
+  and livecd-stage2 targets.
 
   20 May 2005; Chris Gianelloni <wolf31o2@gentoo.org> AUTHORS, catalyst,
   files/catalyst.conf:
index 26a63157c20d737071c34f4c3c3601df5354a658..6752f55f965cb7f064d712ba1e4fe92008957229 100644 (file)
@@ -126,6 +126,14 @@ livecd/splash_theme:
 # livecd/gk_mainargs: --lvm2 --dmraid
 livecd/gk_mainargs:
 
+# This option allows you to specify your own linuxrc script for genkernel to use
+# when building your CD.  This is not checked for functionality, so it is up to
+# you to debug your own script.  We do not use one for the official release
+# media, so there will not be one listed below.
+# example:
+# livecd/linuxrc:
+livecd/linuxrc:
+
 # This option controls quite a bit of catalyst internals and sets up several
 # defaults.  Each type behaves slightly differently and is explained below.
 # gentoo-release-minimal - This creates an official minimal InstallCD.
index 1eb088285aaa248cb2ed38f4387c94e84e162552..a8d29dd069b79290130b08e2c8297645d8f41d59 100644 (file)
@@ -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/modules/livecd_stage2_target.py,v 1.42 2005/05/03 14:58:52 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage2_target.py,v 1.43 2005/05/25 19:15:17 wolf31o2 Exp $
 
 """
 Builder class for a LiveCD stage2 build.
@@ -22,7 +22,8 @@ class livecd_stage2_target(generic_stage_target):
                        "livecd/motd","livecd/overlay","livecd/modblacklist","livecd/splash_theme",\
                        "livecd/rcadd","livecd/rcdel","livecd/fsscript","livecd/xinitrc",\
                        "livecd/root_overlay","livecd/devmanager","livecd/splash_type",\
-                       "gamecd/conf","livecd/users","portage_overlay","livecd/cdfstype"])
+                       "gamecd/conf","livecd/users","portage_overlay","livecd/cdfstype",\
+                       "livecd/linuxrc"])
                
                generic_stage_target.__init__(self,spec,addlargs)
                if not self.settings.has_key("livecd/type"):
index c50aafb310ac4e2768f0d894b4dcc3e17c3949f9..ff81df28e8211b4df6eae53bef3e033d517e425d 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-stage2/livecd-stage2-controller.sh,v 1.9 2005/04/27 17:44:58 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage2/livecd-stage2-controller.sh,v 1.10 2005/05/25 19:15:17 wolf31o2 Exp $
 . ${clst_sharedir}/targets/support/functions.sh
 . ${clst_sharedir}/targets/support/filesystem-functions.sh
 
@@ -8,10 +8,15 @@ case $1 in
        kernel)
                shift
                export clst_kname="$1"
-               
 
+               # if we have our own linuxrc, copy it in
+               if [ -n "${clst_livecd_linuxrc}" ]
+               then
+                       cp -a ${clst_livecd_linuxrc} ${clst_chroot_path}/tmp/linuxrc
+               fi
                exec_in_chroot ${clst_sharedir}/targets/support/pre-kmerge.sh
                exec_in_chroot ${clst_sharedir}/targets/support/kmerge.sh
+               rm -f ${clst_chroot_path}/tmp/linuxrc
                exec_in_chroot ${clst_sharedir}/targets/support/post-kmerge.sh
 
                extract_modules ${clst_chroot_path} ${clst_kname}
index 324178c5d0a7a4b0955e53c9db35c58ed3602f87..d927b4ec21d493b1c1b2323ccea1f058fc951c29 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/stage4/stage4-controller.sh,v 1.4 2005/04/27 17:44:58 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage4/stage4-controller.sh,v 1.5 2005/05/25 19:15:18 wolf31o2 Exp $
 . ${clst_sharedir}/targets/support/functions.sh
 
 
@@ -14,8 +14,14 @@ case $1 in
        kernel)
                shift
                export clst_kname="$1"
+               # if we have our own linuxrc, copy it in
+               if [ -n "${clst_livecd_linuxrc}" ]
+               then
+                       cp -a ${clst_livecd_linuxrc} ${clst_chroot_path}/tmp/linuxrc
+               fi
                exec_in_chroot ${clst_sharedir}/targets/support/pre-kmerge.sh
                exec_in_chroot ${clst_sharedir}/targets/support/kmerge.sh
+               rm -f ${clst_chroot_path}/tmp/linuxrc
                exec_in_chroot ${clst_sharedir}/targets/support/post-kmerge.sh
                extract_modules ${clst_chroot_path} ${clst_kname}
                extract_kernel ${clst_chroot_path}/boot ${clst_kname}
index 862d5488c54c2d820f58fed2dbb008c44d158dcd..24aeacfb4ab37e6811615e5e50dc42aec41a4420 100755 (executable)
@@ -44,6 +44,11 @@ setup_gk_args() {
        then
                GK_ARGS="${GK_ARGS} --no-udev"
        fi
+
+       if [ -n "${clst_livecd_linuxrc}" ]
+       then
+               GK_ARGS="${GK_ARGS} --linuxrc=/tmp/linuxrc"
+       fi
 }
 
 genkernel_compile(){