# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 11 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org> TODO,
+ targets/livecd-stage1/livecd-stage1-controller.sh,
+ targets/livecd-stage2/livecd-stage2-controller.sh:
+ Updated TODO. Added code to livecd-stage1 to generate a package list, which
+ will be used in livecd-stage2 with the upcoming livedvd livecd/type to fetch
+ the distfiles automatically.
+
11 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
modules/generic_stage_target.py:
Fix seedcache output so it fits in 80 columns.
- sign materials automatically
- create logs
- send emails
+- add multiple target support
- separate out options that control catalyst versus the package manager
+- add a new livecd/type for livedvd
+ - make livedvd type perform several actions automatically
+ - auto-fetch distfiles
+ - automatically pull stages
build_packages)
shift
export clst_packages="$*"
- mkdir -p ${clst_chroot_path}/usr/livecd
+ mkdir -p ${clst_chroot_path}/usr/livecd ${clst_chroot_path}/tmp
exec_in_chroot \
${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
+ echo "${clst_packages}" > ${clst_chroot_path}/tmp/packages.txt
;;
clean)
find ${clst_chroot_path}/usr/lib -iname "*.pyc" -exec rm -f {} \;
|| [ "${clst_livecd_type}" = "gentoo-release-universal" ]
then
# Clean out man, info and doc files
- rm -rf usr/share/{man,doc,info}/*
+ rm -rf ${clst_chroot_path}/usr/share/{man,doc,info}/*
# Zap all .pyc and .pyo files
- find usr/lib -iname "*.py[co]" -exec rm -f {} \;
+ find ${clst_chroot_path}/usr/lib -iname "*.py[co]" -exec rm -f {} \;
fi
# Cleanup all .a files except libgcc.a, *_nonshared.a and
# /usr/lib/portage/bin/*.a
- find usr/lib -type f -iname "*.a" | grep -v 'libgcc.a' | \
- grep -v 'nonshared.a' | grep -v '/usr/lib/portage/bin/' | \
+ find ${clst_chroot_path}usr/lib -type f -iname "*.a" | \
+ grep -v 'libgcc.a' | \
+ grep -v 'nonshared.a' | \
+ grep -v '/usr/lib/portage/bin/' | \
grep -v 'libgcc_eh.a' | xargs rm -f
+ rm -f ${clst_chroot_path}/tmp/packages.txt
;;
bootloader)
shift