zos
zos copied to clipboard
[research] different packages formats (deb, flatpack, snaps, appimage, etc...)
Related to #2012
We can utilize goreleaser
nFPM to manage generating deb, rpm, apk and archlinux packages. It can manage the package's requirements, conflicts, recommended packages and suggested packages. We can also specify scripts to run preinstall and postinstall for doing any system reconfiguration (network stuff I assume?).
There is the option of using FPM which offers more target options but goreleaser
will offer easier integration with our CD and the extra targets might not be needed.
goreleaser
also supports snaps which FPM
doesn't.
I am wondering if we should support multiple formats in the first place. The problem with that if we do we need to support multiple systems (ubuntu, redhat, etc...) which the zos code can be very system specific (think networking for example, or others...) I can't think if all places where specific linux flavor support might be needed.
We should probably check voidlinux as well, it's systemd free and has plethora of packages and similar packaging to archlinux