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

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

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

Revision 1309 Revision 1310
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.45 2006/02/20 17:20:57 agaffney Exp $ 8$Id: GLIPortage.py,v 1.46 2006/02/20 17:26:24 agaffney Exp $
9""" 9"""
10 10
11import re 11import re
12import os 12import os
13import sys 13import sys
291 sys.exit(1) 291 sys.exit(1)
292 292
293 syspkglen = len(systempkgs) 293 syspkglen = len(systempkgs)
294 for i, pkg in enumerate(systempkgs): 294 for i, pkg in enumerate(systempkgs):
295 pkg = pkg.strip() 295 pkg = pkg.strip()
296 sys.stdout.write("Copying " + pkg + " (" + str(i+1) + "/" + str(syspkglen) + ")\r") 296 print "Copying " + pkg + " (" + str(i+1) + "/" + str(syspkglen) + ")"
297 gliportage.copy_pkg_to_chroot(pkg, True, ignore_missing=True) 297 gliportage.copy_pkg_to_chroot(pkg, True, ignore_missing=True)
298 GLIUtility.spawn("cp /etc/make.conf " + chroot_dir + "/etc/make.conf") 298 GLIUtility.spawn("cp /etc/make.conf " + chroot_dir + "/etc/make.conf")
299 GLIUtility.spawn("ln -s `readlink /etc/make.profile` " + chroot_dir + "/etc/make.profile") 299 GLIUtility.spawn("ln -s `readlink /etc/make.profile` " + chroot_dir + "/etc/make.profile")
300 GLIUtility.spawn("cp -f /etc/inittab.old " + chroot_dir + "/etc/inittab") 300 GLIUtility.spawn("cp -f /etc/inittab.old " + chroot_dir + "/etc/inittab")
301 301

Legend:
Removed from v.1309  
changed lines
  Added in v.1310

  ViewVC Help
Powered by ViewVC 1.1.20