Skip to content

Debian packaging fixes

Mathieu Bridon requested to merge gh-8dff7017/272/bochecha/packaging into master

This brings in a bunch of improvements.

With all these applied, I've successfully built a Debian package, installed it... and that's it, the Ideascube application was running, I could connect to it and use it. 😄

A few parts are a bit icky though:

  • the fact that we install a uwsgi.service file. This shouldn't be our place to migrate other services to systemd, but unfortunately the Debian package still uses SysV init scripts, and we need some features systemd provides.
  • giving ownership of /var/log/uwsgi/ to ideascube... but since we run uwsgi as the ideascube user... 😕
  • the fact that we enable the uwsgi service, whether it was enabled previously or not
  • and last but not least, setting the SHELL env var to /bin/bash so that PolKit is happy

So there certainly is a lot of room for improvement in our packaging, that's for sure.

But at least, now, it works out of the box. 😀

Merge request reports