On 03/09/2018 11:38 AM, Robert P. J. Day wrote:
> 
>   subject says it all ... what is the purpose of the file
> /usr/lib/rpm/rpm2cpio.sh given the existing binary executable
> /usr/bin/rpm2cpio?

I believe /usr/lib/rpm/rpm2cpio.sh validates that the given file IS an
RPM in the first place, then uncompresses it based on what version of
RPM was used. IIRC, different versions of RPM used different compression
schemes (bzip2, gzip, xz, lzma and zstd to name a few). Not sure that
/usr/bin/rpm2cpio can handle the older RPMs. I could be wrong (and
probably am).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-              Careful!  Ugly strikes 9 out of 10 people!            -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to