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

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

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

Revision 1339 Revision 1342
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: GLIPortage.py,v 1.50 2006/03/05 04:16:04 agaffney Exp $ 8$Id: GLIPortage.py,v 1.51 2006/03/05 06:21:21 agaffney Exp $
9""" 9"""
10 10
11import re 11import re
12import os 12import os
13import sys 13import sys
139 # Create list of files for tar to work with from CONTENTS file in vdb entry 139 # Create list of files for tar to work with from CONTENTS file in vdb entry
140 entries = self.parse_vdb_contents("/var/db/pkg/" + package + "/CONTENTS") 140 entries = self.parse_vdb_contents("/var/db/pkg/" + package + "/CONTENTS")
141 if not entries: 141 if not entries:
142 if self._debug: self._logger.log("DEBUG: copy_pkg_to_chroot(): no files for " + package + "...skipping tar and symlink fixup") 142 if self._debug: self._logger.log("DEBUG: copy_pkg_to_chroot(): no files for " + package + "...skipping tar and symlink fixup")
143 else: 143 else:
144 if self._debug: self._logger.log("DEBUG: copy_pkg_to_chroot: files for " + package + ": " + str(entries)) 144# if self._debug: self._logger.log("DEBUG: copy_pkg_to_chroot: files for " + package + ": " + str(entries))
145 try: 145 try:
146 tarfiles = open("/tmp/tarfilelist", "w") 146 tarfiles = open("/tmp/tarfilelist", "w")
147 for entry in entries: 147 for entry in entries:
148 parts = entry.split(" ") 148 parts = entry.split(" ")
149# # Hack for symlink crappiness 149# # Hack for symlink crappiness

Legend:
Removed from v.1339  
changed lines
  Added in v.1342

  ViewVC Help
Powered by ViewVC 1.1.20