Skip to content

Create SatPI package for Ubuntu or Debian

Marc edited this page Oct 19, 2021 · 1 revision

Ingredients:

  • install and uninstall section (installing binary, web folder, systemd service file; create data folder)
  • systemd service file that starts satpi with command line options pointing to the web and data folder created in the install section
  • debian control file easily allowing people to create debian packages

Create package:

  • rename the folder with satpi inside to satpi-<v.v.v>
  • cd into the folder
  • call dh_make -s --createorig -a to creating version and maintainer specific files for the package
  • adapt the files created
  • call dpkg-build -uc -us
  • source, debug, and binary packages are created above the satpi-<v.v.v> folder.


Thanks to @MHoyer12345678