[CMake] Cmake/Cpack creates a corrupt .rpm

Gonzalo Garramuño ggarra13 at gmail.com
Thu May 30 21:16:14 EDT 2019


El 30/5/19 a las 21:36, Zan Lynx escribió:
> RPM files are not cpio. They contain a cpio. Use rpm2cpio as a filter.

Thanks for that.  Using:

rpm2cpio mrViewer-v5.0.7-Linux-64.rpm | cpio -idmv

I can extract all the contents of the archive with no errors.

However, rpm -i bails out with a cpio: read error.  I don't know what to 
try next.  I have to wonder if the pre/post install scripts are the problem.



More information about the CMake mailing list