/[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 1220 Revision 1223
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.253 2006/01/06 04:39:05 codeman Exp $ 8$Id: GLIArchitectureTemplate.py,v 1.254 2006/01/07 17:12:00 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.
418 exitstatus = GLIUtility.spawn("cp /etc/X11/xorg.conf " + self._chroot_dir + "/etc/X11/xorg.conf") 418 exitstatus = GLIUtility.spawn("cp /etc/X11/xorg.conf " + self._chroot_dir + "/etc/X11/xorg.conf")
419 if not GLIUtility.exitsuccess(exitstatus): 419 if not GLIUtility.exitsuccess(exitstatus):
420 self._logger.log("Could NOT copy the xorg configuration from the livecd to the new system!") 420 self._logger.log("Could NOT copy the xorg configuration from the livecd to the new system!")
421 else: 421 else:
422 self._logger.log("xorg.conf copied to new system. X should be ready to roll!") 422 self._logger.log("xorg.conf copied to new system. X should be ready to roll!")
423 if GLIUtility.is_file(self._chroot_dir + "/etc/X11/gdm/gdm.conf"):
424 GLIUtility.spawn("cp -f /etc/X11/gdm/gdm.conf.old " + self._chroot_dir + "/etc/X11/gdm/gdm.conf")
423 425
424 ## 426 ##
425 # Will set the list of services to runlevel default. This is a temporary solution! 427 # Will set the list of services to runlevel default. This is a temporary solution!
426 def set_services(self): 428 def set_services(self):
427 services = self._install_profile.get_services() 429 services = self._install_profile.get_services()

Legend:
Removed from v.1220  
changed lines
  Added in v.1223

  ViewVC Help
Powered by ViewVC 1.1.20