Use the cpio headers instead of the rpm headers when unpacking.
authorKristian Høgsberg <krh@jiraiya.boston.redhat.com>
Wed, 9 Apr 2008 06:41:03 +0000 (02:41 -0400)
committerKristian Høgsberg <krh@jiraiya.boston.redhat.com>
Wed, 9 Apr 2008 06:41:03 +0000 (02:41 -0400)
commit364a2355f02df99334628c682b7b3d062eb897bd
treebecf7119e078347a6dfc3ceab079e2f4c5681410
parentd3771ab9d72a70648bb2ab09d663d6042592d9ee
Use the cpio headers instead of the rpm headers when unpacking.

The files in the cpio payload doesn't actually follow the file order
in the rpm headers, so we need to decode the cpio header and use the
information there.
main.c
rpm.c
util.c