/[gli]/trunk/src/GLIArchitectureTemplate.py
Gentoo

Diff of /trunk/src/GLIArchitectureTemplate.py

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

Revision 218 Revision 219
1""" 1"""
2Gentoo Linux Installer 2Gentoo Linux Installer
3 3
4$Id: GLIArchitectureTemplate.py,v 1.27 2005/01/07 05:07:23 codeman Exp $ 4$Id: GLIArchitectureTemplate.py,v 1.28 2005/01/07 05:23:19 codeman Exp $
5Copyright 2004 Gentoo Technologies Inc. 5Copyright 2004 Gentoo Technologies Inc.
6 6
7 7
8The ArchitectureTemplate is largely meant to be an abstract class and an 8The ArchitectureTemplate is largely meant to be an abstract class and an
9interface (yes, it is both at the same time!). The purpose of this is to create 9interface (yes, it is both at the same time!). The purpose of this is to create
460 self._add_to_runlevel(pcmcia) 460 self._add_to_runlevel(pcmcia)
461 461
462 def update_config_files(self): 462 def update_config_files(self):
463 "Runs etc-update (overwriting all config files), then re-configures the modified ones" 463 "Runs etc-update (overwriting all config files), then re-configures the modified ones"
464 # Run etc-update overwriting all config files 464 # Run etc-update overwriting all config files
465 status = GLIUtility.spawn('echo "-5" | etc-update', chroot=self._chroot_dir) 465 status = GLIUtility.spawn('echo "-5" | chroot '+self._chroot_dir+' etc-update')
466 if not GLIUtility.exitsuccess(status): 466 if not GLIUtility.exitsuccess(status):
467 raise GLIException("EtcUpdateError", 'warning', 'update_config_files', "Could not update config files!") 467 raise GLIException("EtcUpdateError", 'warning', 'update_config_files', "Could not update config files!")
468 468
469 self.configure_make_conf() 469 self.configure_make_conf()
470 self.configure_fstab() 470 self.configure_fstab()

Legend:
Removed from v.218  
changed lines
  Added in v.219

  ViewVC Help
Powered by ViewVC 1.1.20