/[gli]/branches/overhaul/src/GLIArchitectureTemplate.py
Gentoo

Diff of /branches/overhaul/src/GLIArchitectureTemplate.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1325 Revision 1326
3# This source code is distributed under the terms of version 2 of the GNU 3# This source code is distributed under the terms of version 2 of the GNU
4# General Public License as published by the Free Software Foundation, a copy 4# General Public License as published by the Free Software Foundation, a copy
5# of which can be found in the main directory of this project. 5# of which can be found in the main directory of this project.
6Gentoo Linux Installer 6Gentoo Linux Installer
7 7
8$Id: GLIArchitectureTemplate.py,v 1.264 2006/02/28 16:12:30 agaffney Exp $ 8$Id: GLIArchitectureTemplate.py,v 1.265 2006/03/01 12:55:22 agaffney Exp $
9 9
10The ArchitectureTemplate is largely meant to be an abstract class and an 10The ArchitectureTemplate is largely meant to be an abstract class and an
11interface (yes, it is both at the same time!). The purpose of this is to create 11interface (yes, it is both at the same time!). The purpose of this is to create
12subclasses that populate all the methods with working methods for that architecture. 12subclasses that populate all the methods with working methods for that architecture.
13The only definitions that are filled in here are architecture independent. 13The only definitions that are filled in here are architecture independent.
1087 # If the domainname is set, then also output it 1087 # If the domainname is set, then also output it
1088 if domainname: 1088 if domainname:
1089 resolv_output.append("search " + domainname + "\n") 1089 resolv_output.append("search " + domainname + "\n")
1090 1090
1091 # Output to file 1091 # Output to file
1092 if self._debug: self._logger.log("DEBUG: setup_network_post(): writing resolv.conf with contents: "+resolv_output) 1092 if self._debug: self._logger.log("DEBUG: setup_network_post(): writing resolv.conf with contents: " + str(resolv_output))
1093 resolve_conf = open(self._chroot_dir + "/etc/resolv.conf", "w") 1093 resolve_conf = open(self._chroot_dir + "/etc/resolv.conf", "w")
1094 resolve_conf.writelines(resolv_output) 1094 resolve_conf.writelines(resolv_output)
1095 resolve_conf.close() 1095 resolve_conf.close()
1096 1096
1097 # 1097 #

Legend:
Removed from v.1325  
changed lines
  Added in v.1326

  ViewVC Help
Powered by ViewVC 1.1.20