N
îÀ9c       sŞ      k  l l  k l  k Z  k Z  k Z  k Z 	 k	 Z	 
 k
 l  k l  d  e f d     YZ  d e f d     YZ ~ d e f d     YZ d S(   s   ImageInstallMethodc      s5     d   Z   d   Z  d   Z  d   Z RS(   Nc    s     t  |  i d |  Sd  S(   Ns   /RedHat/base/comps(   s   ComponentSets   selfs   trees   hdlist(   s   selfs   hdlists2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys	   readComps s   c    s     |  i d | d Sd  S(   Ns   /RedHat/RPMS/i@B (   s   selfs   trees   h(   s   selfs   hs2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   getFilename s   c    s     t  |  i d  Sd  S(   Ns   /RedHat/base/hdlist(   s   HeaderListFromFiles   selfs   tree(   s   selfs2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   readHeaders s   c    s#     t  i |    | |  _ d  S(   N(   s   InstallMethods   __init__s   selfs   tree(   s   selfs   trees2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   __init__ s   (   s	   readCompss   getFilenames   readHeaderss   __init__(    s2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   ImageInstallMethod s   s   CdromInstallMethodc      sM     d   Z  % d   Z A d   Z e d   Z n d   Z v d   Z RS(   Nc    sT     |  i o@   t i d d  ! t i d " d |  i  # t |  _ n d  S(   Ns   loop0s	   /tmp/loops   %s/RedHat/base/stage2.img(   s   selfs   loopbackFiles   isyss   makeDevInodes
   lochangefds   trees   None(   s   selfs2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   systemUnmounted s
   c    sE  % & d } ' x8 | d ' r+ } ( | d d j o ) d } * Pn q W+ | d j o , d  Sn . | | i |  d d d |  _ 1 yB 2 t i	 d |  i
 3 |  i 4 |  i t d  t d  f  WnF 6 7 |  i t d  8 t d	   ; t i |  i  < d Sn X> t i d
 d  ? t i d |  i  d  S(   Ni    iBB i   s   /rhinstall-stage2.imgs   %s/RedHat/base/stage2.imgs   Copying Files+   Transferring install image to hard drive...s   Errorsg   An error occured transferring the install image to your hard drive. You are probably out of disk space.s   loop0s	   /tmp/loop(   s
   changeloops   selecteds   ps   mntPoints   fstabs   filesystemSpaces   selfs   loopbackFiles   iutils   copyFiles   trees   progressWindows   _s   messageWindows   oss   unlinks   isyss   makeDevInodes
   lochangefd(   s   selfs   fstabs   mntPoints   selecteds
   changeloops   ps2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   systemMounted% s(   	 		%	&c    s  A B | d t j o C t d D | d  nıE | d |  i j oĦF | d |  _ G t i d  H t i |  i  J d |  i t	 i
   f } L d } M x?M | o3N |  i t d  O t d  |  i  Q yÔ R t i |  i d S d	 d
 d d o9 T t i d  U t i |  i d V d	 d
 d d n X t i d | t i  o Y d } nF [ |  i t d  \ t d   ] t i d  ^ t i |  i  Wn, _ ` |  i t d  a t d   n Xq§ Wn c |  i d | d Sd  S(   NiBB sF   header for %s has no disc location tag, assuming it'son the current CDi@B s   /mnt/sources
   .disc%d-%si    s   Change CDROMs"   Please insert disc %d to continue.s   fstypes   iso9660s   readOnlyi   i   s   /mnt/source/%ss   Wrong CDROMs%   That's not the correct Red Hat CDROM.s   Errors   The CDROM could not be mounted.s   /RedHat/RPMS/(   s   hs   Nones   logs   selfs   currentDiscs   isyss   umounts
   ejectCdroms   devices   iutils   getArchs   keys   dones   messageWindows   _s   mounts   times   sleeps   oss   accesss   O_RDONLYs   tree(   s   selfs   hs   keys   dones2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   getFilenameA s:   		 c    sV   e f |  i o f d  Sn h y j t i |  i  Wn k t j
 o
 l n Xd  S(   N(   s   selfs   loopbackFiles   oss   unlinks   SystemError(   s   selfs2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys	   filesDonee s    c    sp   n o t  i d d  p t  i |  i d  q | i d  r | i d  s | i d  t | i d  d  S(   Ns   loop0s
   /tmp/loop0s
   /tmp/cdroms   umount /mnt/runtime
s   lounsetup /tmp/loop0
s   umount /mnt/source
s   eject /tmp/cdrom
(   s   isyss   makeDevInodes   selfs   devices   fs   write(   s   selfs   fs2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   writeCleanupPathn s   c    so   v w t  i | d d  \ |  _ } x | |  _ y | |  _ z d |  _ { t	 |  _
 | t i |  d |  d  S(   Ns   /i   (   s   strings   splits   urls   selfs   devices   trees   messageWindows   progressWindows   currentDiscs   Nones   loopbackFiles   ImageInstallMethods   __init__(   s   selfs   urls   messageWindows   progressWindows   trees2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   __init__v s   !(   s   systemUnmounteds   systemMounteds   getFilenames	   filesDones   writeCleanupPaths   __init__(    s2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   CdromInstallMethod s   $	s   NfsInstallMethodc      s   ~  d   Z  RS(   Nc    s     t  i |  |  d  S(   N(   s   ImageInstallMethods   __init__s   selfs   tree(   s   selfs   trees2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   __init__ s   (   s   __init__(    s2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   NfsInstallMethod~ s   N(   s   compss   ComponentSets   HeaderListFromFiles   installmethods   InstallMethods   iutils   oss   isyss   times   strings	   translates   _s   logs   ImageInstallMethods   CdromInstallMethods   NfsInstallMethod(    s2   /var/tmp/anaconda-7.0.1//usr/lib/anaconda/image.pys   ? s   
					

b