From 7d19f636f3c9aff5ebdb84dde1ad7db29a30cc19 Mon Sep 17 00:00:00 2001 From: Eudyptula Date: Wed, 22 Jul 2009 18:07:14 -0400 Subject: Update todo --- backend/modules/gentoo_portage/emerge-system.php | 4 +--- todo | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/backend/modules/gentoo_portage/emerge-system.php b/backend/modules/gentoo_portage/emerge-system.php index 728ff5a..e7165fe 100644 --- a/backend/modules/gentoo_portage/emerge-system.php +++ b/backend/modules/gentoo_portage/emerge-system.php @@ -2,9 +2,7 @@ if (is_file(CACHE.'/system-'.$profile->id.'.tar.gz') && filemtime(CACHE.'/system-'.$profile->id.'.tar.gz') > filemtime($conf['pkgdir_root'].'/'.$profile->pkgdir.'/Packages')) { execute_command('Unpack cached base system', "tar -zxvf '".CACHE."/system-$profile->id.tar.gz' -C '$I'"); } else { - // TODO create make.conf, make.profile in target /etc - // May not be necessary and requires compiling=bad -// portage_install('baselayout', 'Pre-install baselayout', '--oneshot --nodeps', 'build bootstrap'); + // TODO create make.conf, make.profile in target /etc portage_install('system', 'Install base system'); execute_command('Cache base system for reuse', "tar -p --same-owner -czvf '$W/image.tar.gz' -C '$I' ."); rename("$W/image.tar.gz", CACHE.'/system-'.$profile->id.'.tar.gz'); diff --git a/todo b/todo index e86c34f..0e41148 100644 --- a/todo +++ b/todo @@ -17,3 +17,7 @@ Add `flags` column to configurations, builds, use it to implement public and pri Clean up backend API Add 'cancel', 'delete' options to builds Add build->configuration and configuration duplication +*** Switch over to use stage3's instead of doing emerge system *** + Write script for fetching latest stage3's from the desired FTP dirs + Add ability to trim the stage3 to a minimum set of packages automatically (cached) or manually (present db-cached list of packages present in stage3 and allow user to select which to remove) + grep -o "/var/db/pkg/.*/.*/$" ~/downloads/stage3-amd64-20090716.tar.bz2.CONTENTS -- cgit v1.2.3-65-gdbad