#!/bin/bash
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-controller.sh,v 1.3 2005/04/27 17:44:58 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-controller.sh,v 1.4 2005/05/25 19:28:59 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
;;