# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 08 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
+ targets/support/kmerge.sh, targets/support/rc-update.sh:
+ Changed some of the rc-update code so it should work with baselayout-2,
+ also. This is 2.0.6_pre2 for testing.
+
08 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> AUTHORS, catalyst,
files/catalyst.conf, modules/catalyst_support.py,
modules/generic_stage_target.py, modules/grp_target.py,
#!/usr/bin/python -OO
# Maintained in full by:
-# Eric Edgar <rocket@gentoo.org>
# Andrew Gaffney <agaffney@gentoo.org>
# Chris Gianelloni <wolf31o2@gentoo.org>
import pdb
__maintainer__="Chris Gianelloni <wolf31o2@gentoo.org>"
-__version__="2.0.6_pre1"
+__version__="2.0.6_pre2"
conf_values={}
# extra genkernel options that we have to test for
if [ -n "${clst_KERNCACHE}" ]
then
- GK_ARGS="${GK_ARGS} --kerncache=/tmp/kerncache/${clst_kname}-kerncache-${clst_version_stamp}.tar.bz2"
+ GK_ARGS="${GK_ARGS} --kerncache=/tmp/kerncache/${clst_kname}-kerncache-${clst_version_stamp}.tar.bz2"
fi
if [ "${clst_splash_type}" == "bootsplash" -a -n "${clst_splash_theme}" ]
#!/bin/bash
+if portageq has_version / >=sys-apps/baselayout-2*
+then
+ # We need to add a few here for baselayout-2
+ [[ -e /etc/init.d/device-mapper ]] && rc-update add device-mapper boot
+ [[ -e /etc/init.d/lvm ]] && rc-update add lvm boot
+ [[ -e /etc/init.d/dmcrypt ]] && rc-update add dmcrypt boot
+fi
+
if [ "${clst_spec_prefix}" == "livecd" ]
then
# default programs that we always want to start
rc-update del keymaps
rc-update del serial
rc-update del consolefont
+ # We need to add this one, unconditionally
rc-update add autoconfig default
- rc-update add modules boot
- rc-update add pwgen default
[[ -e /etc/init.d/bootsplash ]] && rc-update add bootsplash default
[[ -e /etc/init.d/splash ]] && rc-update add splash default
[[ -e /etc/init.d/fbcondecor ]] && rc-update add fbcondecor default