Build .deb package for Ubuntu 16.04#109
Conversation
This includes the build scripts and documentation on how to build a .deb for the project. It also includes a quick blurb on how to build an RPM from a released version using the spec file available. At some point, we may want to look at the possibility of a spec file that builds from the current tree (If that's possible) EDIT: I modified the build command, so that the cron file isn't a config file. This is important because if someone were to use `apt-get remove` or `apt erase`, this file would get left, and thus cron would continue to execute it.
I had put bash as a dependency, but this only makes sense if openssh-server (on Ubuntu 16.04) is included as a dependency.
|
I put this to our backlog and see if I can integrate it into the existing build pipeline. Thanks for your work! |
|
I've noticed that the documentation in my last commit doesn't include the dependency on |
Otherwise you will have a bad time, and none of your users will sync.
|
Hi, I was also looking for a .deb version so I built a 1.7.0 version - which worked fine on an Ubuntu 16.04 AMI. The developers notes needs to be updated a little, as it was not clear where to place the new new files on initial inspection - ie the pkg directory. Also makes sense to mention the commands needed to run as root user to build the .deb. With Ubuntu AMI also needs to be clear that the awscli deb needs to be installed. Apart from that it works as described. |
There was a quick discussion in #104 about possibility of creating a .deb package that would work with Ubuntu 16.04.
The current RPM build with spec file is the correct way to build the RPM package, but Debian's toolkit for building .debs is a bit more obtuse. So I've leveraged jordansissel/fpm to build .deb package for the tree.
Currently it packages the current state of the tree, but it would be easy to wrap with a script that uses released versions, like the RPM spec file does.