Mike Frysinger <vapier@gentoo.org>
Gustavo Zacarias <gustavoz@gentoo.org>
Robert Paskowitz <r2d2@gentoo.org>
+David Bryson <mutex@gentoo.org>
# 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:
# 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.
# 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.
"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"):
# 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
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}
#!/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
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}
then
GK_ARGS="${GK_ARGS} --no-udev"
fi
+
+ if [ -n "${clst_livecd_linuxrc}" ]
+ then
+ GK_ARGS="${GK_ARGS} --linuxrc=/tmp/linuxrc"
+ fi
}
genkernel_compile(){