Le Wed 21/05/2003, gaetan cottron disait
> xavier renaut wrote:
> 
> >Salut,
> >
> >J'ai quelques problemes avec "autoinstall".
> >
> >
> >apres avoir load� le kernel, il marque :
> >
> >
> > 
> >
> >>loading configuration from boot floppy ... zcat : couldn't write
> >>done.
> >>   
> >>
> >
> >
> >il n'y a pas d'infos de debug,
> >et je ne parle pas courament le python :
> >
> >
> >       if os.path.exists("/bootfloppy/conf.tgz"):
> >           runcmd("/bin/sh -c 'cd /etc; zcat /bootfloppy/conf.tgz | tar -x 
> >           -f -'")
> >       elif os.path.isdir("/bootfloppy/conf"):
> >           runcmd("cp /bootfloppy/conf/* /etc")
> >       else:
> >           print "\nERROR: Configuration files not found!  Cannot 
> >           continue."
> >           killsystem()
> > 
> >
> Ce n'est sans doute pas �a mais �a peut �tre un d�but. Ta ligne :
> 
> runcmd("/bin/sh -c 'cd /etc; zcat /bootfloppy/conf.tgz | tar -x -f -'")     
> runcmd("/bin/sh -c 'cd /etc; zcat /bootfloppy/conf.tgz | tar -xzf'")
> 
> du fait que ton fichier soit en ".tgz" il faut �galement l'option "z" 
> pour le d�zipper.

Non, puis qu'il est pass� par zcat avant de passer par tar.

-- 
Erwan

Répondre à