diff options
author | Eudyptula <eitan@mosenkis.net> | 2009-07-22 18:07:14 -0400 |
---|---|---|
committer | Eudyptula <eitan@mosenkis.net> | 2009-07-22 18:07:14 -0400 |
commit | 7d19f636f3c9aff5ebdb84dde1ad7db29a30cc19 (patch) | |
tree | aaa32f4f365ecbb85a7f689006c574fe703eda7c | |
parent | Cleaned up backend logging; moved emerge into a function; etc. (diff) | |
download | ingenue-7d19f636f3c9aff5ebdb84dde1ad7db29a30cc19.tar.gz ingenue-7d19f636f3c9aff5ebdb84dde1ad7db29a30cc19.tar.bz2 ingenue-7d19f636f3c9aff5ebdb84dde1ad7db29a30cc19.zip |
Update todo
-rw-r--r-- | backend/modules/gentoo_portage/emerge-system.php | 4 | ||||
-rw-r--r-- | 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'); @@ -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 |