Skip to content

Repository files navigation

Citronics APT Repository

APT package repository for Citronics Lime boards (Fairphone 2/FP2 and Fairphone 3/FP3) running Debian or Ubuntu.

Adding the repository

Recommended (GitHub Pages):

echo "deb [trusted=yes] https://citronics.github.io/deb-packages/ stable main" | sudo tee /etc/apt/sources.list.d/citronics.list
sudo apt update

Legacy (raw.githubusercontent.com — deprecated, will be retired):

echo "deb [trusted=yes] https://raw.githubusercontent.com/Citronics/deb-packages/main stable main" | sudo tee /etc/apt/sources.list.d/citronics.list
sudo apt update

Available packages

Package Arch Status Description Source repo
citronics-lime armhf ⚠️ legacy Kept so existing FP2 installs using the old package name don't break — depends on citronics-lime-fp2. Do not use for new installs. this repo
citronics-lime-fp2 armhf ✅ current FP2 meta-package (carrier-lime, board-fp2) this repo
citronics-lime-fp3 arm64 ✅ current FP3 meta-package (carrier-lime, board-fp3) this repo
linux-image-*-citronics-lime-fp3 arm64 ✅ current FP3 kernel image citronics-kernel
linux-headers-*-citronics-lime-fp3 arm64 ✅ current FP3 kernel headers citronics-kernel
linux-firmware-lime-fp2 all ✅ current FP2 firmware citronics-firmware
linux-firmware-lime-fp3 all ✅ current FP3 firmware citronics-firmware
linux-firmware-lime all ⚠️ legacy Kept so existing FP2 installs that depend on this name don't break. Superseded by linux-firmware-lime-fp2. Do not use for new installs. linux-firmware-lime
citronics-initramfs all ✅ current Custom initramfs citronics-initramfs
unudhcpd armhf, arm64 ✅ current USB DHCP helper unudhcpd-deb

Meta-packages follow the naming pattern citronics-{carrier}-{board} (e.g., citronics-lime-fp2, citronics-lime-fp3). To add a new carrier or board combination, create a new meta-package under meta-packages/citronics-{carrier}-{board}/ in this repository. The build-meta.sh script automatically discovers all meta-packages via a dynamic loop — no script changes needed when adding carriers.

To install for your device:

# Fairphone 2 (FP2)
sudo apt install citronics-lime-fp2

# Fairphone 3 (FP3)
sudo apt install citronics-lime-fp3

# Legacy (installs FP2)
sudo apt install citronics-lime

How the repository works

Each source repo has a release.sh script that builds .deb packages and publishes them as GitHub Releases using the gh CLI. Versions are derived from git tags.

This repository has a GitHub Actions workflow (update-repo.yml) that downloads all .deb assets from the source repos (citronics-kernel, citronics-firmware, linux-firmware-lime, initramfs, and unudhcpd-deb), generates APT metadata with apt-ftparchive, and publishes the result to GitHub Pages via the gh-pages branch.

Updating the repository after a new release

  1. In the source repo, tag and release:

    git tag v<version>
    git push origin v<version>
    ./release.sh
    
  2. Then trigger the APT repo update:

    gh workflow run update-repo.yml --repo Citronics/deb-packages
    

    Or trigger it manually from the Actions tab.

License

By using any of the packages in this repo, you accept the licenses of all the individual packages. Check each source repository for details.

About

Repository for Citronics' deb packages

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages