Skip to content

Instantly share code, notes, and snippets.

@kerel-fs
Created July 13, 2018 08:49
Show Gist options
  • Save kerel-fs/e5d3da4422682542f7b9d0fb9569e63a to your computer and use it in GitHub Desktop.
Save kerel-fs/e5d3da4422682542f7b9d0fb9569e63a to your computer and use it in GitHub Desktop.
Building custom gr-satnogs packages for installation via satnogs-setup

Building custom gr-satnogs packages for installation via satnogs-setup

The gnuradio Out-Of-Tree module gr-satnogs is packaged by gr-satnogs-package. The gitlab-CI automatically builds the package in docker containers as nightlies and on each release (git-tag), configured by the .gitlab-ci.yml.

To use a modified gr-satnogs module on a SatNOGS ground station, it's recommended to build it using the gr-satnogs-package scripts. Otherwise you can build gr-satnogs manually and adjust the installation paths to match the paths specified by gr-satnogs-package.

Building gr-satnogs with gr-satnogs-package can be automated via gitlab-CI, so that binary releases of your modified gr-satnogs module are available to download and install by the satnogs-client-ansible scripts (satnogs-setup).

Steps.

  • Fork gr-satnogs
  • Fork gr-satnogs-package
  • Adjust the repository url of gr-satnogs in gr-satnogs-package/debian/debian/rules#L22
  • Adjust the repository url in the version detection in gr-satnogs-package/.gitlab-ci.yml#L13 ,#L30 ,#L47
  • Wait for the gitlab-CI to build your first version of gr-satnogs-package (~45 min)
  • Install your freshly built gr-satnogs-package by pointing the SATNOGS_RADIO_GR_SATNOGS_PACKAGE in satnogs-setup to the built artifact/debian package of your architecture (e.g. armhf, amd64). The built artifacts are available in your gr-satnogs-package fork in CI/CD, clicking the latest pipeline, the latest build-job and then in the right column Browse, path build/debian/output/$your_arch/gr-satnogs_$your_arch.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment