cat-in-136 / cargo-generate-rpm

Cargo helper command to generate a binary RPM package
MIT License
87 stars 19 forks source link

Error `cpio: Bad magic' with v0.5.0 when doing yum install on Centos 7 #30

Closed ximon18 closed 2 years ago

ximon18 commented 2 years ago

See: https://github.com/NLnetLabs/krill/runs/4803590475?check_suite_focus=true#step:12:48

This seems to be caused by the new LZMA payload compression as using the new undocumented (in the README at least) command line switch --payload-compress zip solved the problem.

It might be an idea to document in the README that for older O/S's you might need to use --payload gzip.