Re: copying cds on harddrive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Philippe Gendreau <philippe.gendreau@xxxxxxxxxxxxxxxxxxxx> [2002-08-03 19:32]:
> Hi,
> I'm trying to get the installer to copy the cds on the hard drive
> while doing the installation of the packages.
> 
> I am wondering how I can do this with the busybox cpio.
> There is no -p option in this version, it seems only made
> to extract (no -o either; Usage: cpio -[dimtuv][F cpiofile]).

cdrom = ...
cddir = ...

cmd = "(cd %s; tar cvO .; cd -) |(cd %s; tar xvf -; cd -)" % (cdrom, cddir)

try:
    os.system(cmd)
except:
    pass

--
Philippe Gendreau





[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux