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 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'backend') 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'); -- cgit v1.2.3-65-gdbad