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 /backend | |
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
Diffstat (limited to 'backend')
-rw-r--r-- | backend/modules/gentoo_portage/emerge-system.php | 4 |
1 files changed, 1 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'); |