Re: rpm-python

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

 



Hi,

unfortunately there is no python in stage1 part of anaconda. So I had to use librpm and implement the extract routine in C (I ripped of rpm's implementation of cpio handling).

It is not in the main tree yet though..

Martin

----- "Jon Masters" <jcm@xxxxxxxxxx> 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.
> 
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
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