-
-
Save spuder/9357799 to your computer and use it in GitHub Desktop.
fpm bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you export to .deb then you can not use -p otherwise you get an error | |
#Fail | |
fpm -p /tmp -s dir -m sowen@foo.com -C /tmp/installdir -t deb -n redis-6390 -v 2.8.6 bin/ etc/ var/ | |
Process failed: ar failed (exit code 1). Full command was:["ar", "-qc", "/tmp", "debian-binary", "control.tar.gz", "/tmp/package-deb-build20140304-28142-nfr1q3/data.tar.gz"] {:level=>:error} | |
#Success | |
fpm -p /tmp -s dir -m sowen@foo.com -C /tmp/installdir -t rpm -n redis-6390 -v 2.8.6 bin/ etc/ var/ | |
no value for epoch is set, defaulting to nil {:level=>:warn} | |
no value for epoch is set, defaulting to nil {:level=>:warn} | |
Created rpm {:path=>"/tmp"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment