rpm capsules in conary Not a lot of documentation on how this works so I will do a quick overview. I am no expert so Michael can chime in with better explanations as we go along.
What does conary do with rpms? Basically conary picks up the rpm from a location. Explodes it. Gathers all the file paths and figures out deps from the files. Conary then throws the files away and packs the rpm in the conary package. Upon install conary uses the information gleaned from exploding the rpm to resolve deps much like any other conary pkg. Conary then passes the .rpm along to rpm and lets rpm do its thing. For most capsules in Fedora we will use a factory to process them. The factory is a convenient way to store all the exceptions needed for capsule imports. The factory reads a manifest in the conary package that contains paths to the rpms involved in the package. The factory then creates recipes that build packages for the rpms. What does a manifest look like? >>cat python/manifest 6.4/updates/i386/Packages/python-2.6.6-37.el6_4.i686.rpm?arch=x86 python-2.6.6-37.el6_4.src.rpm 6.4/updates/x86_64/Packages/python-2.6.6-37.el6_4.x86_64.rpm?arch=x86_64 6.4/updates/i386/Packages/python-devel-2.6.6-37.el6_4.i686.rpm?arch=x86 6.4/updates/x86_64/Packages/python-devel-2.6.6-37.el6_4.x86_64.rpm?arch=x86_64 6.4/updates/i386/Packages/python-libs-2.6.6-37.el6_4.i686.rpm?arch=x86 6.4/updates/x86_64/Packages/python-libs-2.6.6-37.el6_4.x86_64.rpm?arch=x86_64 6.4/updates/i386/Packages/python-test-2.6.6-37.el6_4.i686.rpm?arch=x86 6.4/updates/x86_64/Packages/python-test-2.6.6-37.el6_4.x86_64.rpm?arch=x86_64 6.4/updates/i386/Packages/python-tools-2.6.6-37.el6_4.i686.rpm?arch=x86 6.4/updates/x86_64/Packages/python-tools-2.6.6-37.el6_4.x86_64.rpm?arch=x86_64 6.4/updates/i386/Packages/tkinter-2.6.6-37.el6_4.i686.rpm?arch=x86 6.4/updates/x86_64/Packages/tkinter-2.6.6-37.el6_4.x86_64.rpm?arch=x86_64 I have some work to do on the factory so I will post more once it is closer to being ready. -- Brett C. Smith [email protected] Sr Software Developer Platform Deployment Technologies (919)531-6635 -- x16635 _______________________________________________ Foresight-devel mailing list [email protected] https://lists.foresightlinux.org/mailman/listinfo/foresight-devel
