Skip to content

Development info

camzdiox edited this page Jul 7, 2023 · 2 revisions

This document is to explain how to build linux packages, on Ubuntu 22.04, with the help of goreleaser + nfpm.

Add goreleaser repository

echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list

Update repos and install the needed packages

apt update apt install dh-make-golang goreleaser ruby ruby-dev build-essential nfpm

In order to generate a linux package, the following steps are required:

  1. get the latest version of geteduroam client from the github repo

cd /tmp git clone https://github.com/geteduroam/linux-app.git cd linux-app

  1. build the packages

goreleaser release --skip-publish -f goreleaser.yml --snapshot --clean

After executing this command, a new "dist" directory will be created, where linux packages can be found.

More details can be found on the following pages:

https://goreleaser.com/install/

https://nfpm.goreleaser.com/install/

Clone this wiki locally