Re: rpm-python

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

 



On Friday 09 October 2009 10:46:45 am Jon Masters wrote:
> Folks,
> 
> I know some of you have recently worked on this, for driver disks
> (msivak in particular), so I figured I would ask.
> 
> I trying to programmatically do the equivalent of an rpm2cpio and
> extracting a specific file using rpm-python. I have figured the basics
> out (getting the header, etc.) but I wish to avoid what yum and others
> are forced to do in working out the payload location. I haven't looked
> at Anaconda's implementation yet, but I'm hoping you've found a better
> way than implementing what rpm-python already should have done?
> 
> Jon.
> 

rpmdevtools provides rpmdev-extract whihc lets you extract files from rpms.  
this is probably what you want or a good place to start.

Dennis

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[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