diff options
author | Eric Edgar <rocket@gentoo.org> | 2005-12-28 16:58:43 +0000 |
---|---|---|
committer | Eric Edgar <rocket@gentoo.org> | 2005-12-28 16:58:43 +0000 |
commit | 56d7a30470d852ee23a65cd6122e3967fa17c6c3 (patch) | |
tree | 8d02ab8824103aa9b37b00d84ad396604f751e8f /modules/netboot_target.py | |
parent | Fix destpath bug in netboot target (diff) | |
download | catalyst-56d7a30470d852ee23a65cd6122e3967fa17c6c3.tar.gz catalyst-56d7a30470d852ee23a65cd6122e3967fa17c6c3.tar.bz2 catalyst-56d7a30470d852ee23a65cd6122e3967fa17c6c3.zip |
make setting of destdir more global and part of generic_stage_target
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1005 d1e1f19c-881f-0410-ab34-b69fee027534
Diffstat (limited to 'modules/netboot_target.py')
-rw-r--r-- | modules/netboot_target.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/modules/netboot_target.py b/modules/netboot_target.py index f64aadb9..e98a6641 100644 --- a/modules/netboot_target.py +++ b/modules/netboot_target.py @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/modules/netboot_target.py,v 1.11 2005/12/28 16:36:35 rocket Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/modules/netboot_target.py,v 1.12 2005/12/28 16:58:43 rocket Exp $ """ Builder class for a netboot build. @@ -53,13 +53,10 @@ class netboot_target(generic_stage_target): self.settings[envvar] = "-Os -pipe" -# def set_root_path(self): -# # ROOT= variable for emerges -# self.settings["root_path"]="/tmp/image" - - def set_dest_path(self): - #destpath=self.settings["chroot_path"]+self.settings["root_path"] - self.settings["destpath"]=normpath(self.settings["chroot_path"]+"/tmp/image") + def set_root_path(self): + # ROOT= variable for emerges + self.settings["root_path"]=normpath("/tmp/image") + print "netboot root path is "+self.settings["root_path"] # def build_packages(self): # # build packages |