3 . /tmp/chroot-functions.sh
7 run_emerge --oneshot genkernel
8 install -d /tmp/kerncache
10 # Setup case structure for livecd_type
11 case ${clst_livecd_type} in
12 gentoo-release-minimal | gentoo-release-universal)
13 case ${clst_hostarch} in
15 sed -i 's/initramfs_data.cpio.gz /initramfs_data.cpio.gz -r 1024x768 /' /usr/share/genkernel/genkernel
24 run_emerge --oneshot genkernel
25 install -d /tmp/kerncache
27 # Set the netboot builddate/hostname in linuxrc and copy to proper arch
28 # directory in genkernel
29 sed -e "s/@@MYDATE@@/$(date '+%Y%m%d')/g" \
30 -e "s/@@RELVER@@/${clst_version_stamp}/g" \
31 /usr/share/genkernel/netboot/linuxrc.x \
32 > /usr/share/genkernel/${clst_hostarch}/linuxrc
34 echo ">>> Copying support files to ${clst_root_path} ..."
35 cp -pPRf /usr/share/genkernel/netboot/misc/* \
38 echo ">>> Copying busybox config ..."
39 cp -f /tmp/busy-config \
40 /usr/share/genkernel/${clst_hostarch}/busy-config