Skip to content

Instantly share code, notes, and snippets.

@spuder
Created Mar 4, 2014
Embed
What would you like to do?
fpm bug
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