Use fpm to create binary Debian and RPM (plus other?) packages #3473
Labels
build
Issues caused by or requiring changes to the build system (scripts or Docker image)
enhancement
New features or improvements of some kind, as opposed to a problem (bug)
frozen-due-to-age
Issues closed and untouched for a long time, together with being locked for discussion
FPM is super neat for creating distribution packages of binaries (deb, rpm, OSX "pkg", pkgin, you name it). Precondition is that there is a directory of files to package. We pretty much have this with the current "go run build.go deb" except it places some Debian metadata there as well.
We could skip the metadata, just create the desired structure, and have fpm package it for various distributions:
fpm -s dir -t rpm -n syncthing -v 0.14.3 -C $whateverDir
This would also simplify our Debian build process.
Then we just need to figure out how best to distribute RPMs etc.
The text was updated successfully, but these errors were encountered: