Janis Streib
25.04.22 68a6667cdf03cccff4cfcd1f513d9ae3d9b1b2d0
README.md
@@ -1,5 +1,5 @@
# G4 Linux suite debian package builder
This repository helps to build the g4 linux suite for debian based systems like ubuntu or debian.
# G4 Linux suite Debian package builder
This repository helps to build the g4 Linux suite for Debian based systems like Ubuntu or Debian.
## Dependencies
 - docker
@@ -9,7 +9,21 @@
1. `git submodule update --init`
2. `docker-compose build`
3. `docker-compose up`
4. After the porcess finished you will find `.deb` packages in each of the g4 suite components' `bin_deb` folder.
4. After the process finished you will find `.deb` packages in each of the g4 suite components' `bin_deb` folder.
## Other OS Versions/Distributions
You may need to create new Docker files for your debian based distribution. You can use `Dockerfile.impish` as template.
You may need to create new Docker files for your Debian based distribution. You can use `Dockerfile.impish` as template.
## Supported Architectures
As the `g4track` library is binary only and x86 only, this packages run only on x86 platforms.
### Raspberry Pi
To run G4 tools on a ARM Raspberry Pi anyways, you need to setup [QemuUserEmulation](https://wiki.debian.org/QemuUserEmulation).
Please note that this may come with a performance penalty, as the software is executed through QEMU emulating an x86 platform.
Because of consistent package versions among all architectures, we recommend to use [Ubuntu for Raspberry Pi](https://ubuntu.com/download/raspberry-pi).
1. Build the packages on a x86 platform as described obove.
2. Upload the `.deb` packages to the Raspberry Pi.
3. `sudo apt install qemu binfmt-support qemu-user-static`
4. `sudo dpkg --add-architecture amd64`
5. `sudo apt update`
6. `sudo apt install libc6:amd64 libusb-1.0-0:amd64`
7. `sudo dpkg -i <your g4 debian packages, should include g4track>`