[libcamera-ci,RFC,v2,1/5] Install `fpm` in the debian 13 container
diff mbox series

Message ID 20260130160254.1770742-2-barnabas.pocze@ideasonboard.com
State New
Headers show
Series
  • on-device-testing proof of concept
Related show

Commit Message

Barnabás Pőcze Jan. 30, 2026, 4:02 p.m. UTC
`fpm` will be used to easily build debian packages.

Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
---
 .gitlab-ci/setup-container.sh | 6 ++++++
 gitlab-ci.yml                 | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

--
2.52.0

Patch
diff mbox series

diff --git a/.gitlab-ci/setup-container.sh b/.gitlab-ci/setup-container.sh
index 3506271..c9bae0e 100755
--- a/.gitlab-ci/setup-container.sh
+++ b/.gitlab-ci/setup-container.sh
@@ -138,6 +138,8 @@  case $FDO_DISTRIBUTION_VERSION in
 	PKGS_LIBCAMERA_RUNTIME+=( g++-13 )
 	# Sphinx theme for the documentation.
 	PKGS_LIBCAMERA_RUNTIME+=( python3-sphinx-book-theme )
+	# For creating debian packages with `fpm` (https://github.com/jordansissel/fpm).
+	PKGS_LIBCAMERA_RUNTIME+=( ruby )
 	# libclang-rt-dev for the clang ASan runtime.
 	PKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libclang-rt-19-dev )
 	# For the Android camera HAL and the virtual pipeline handler.
@@ -277,6 +279,10 @@  Version: ${version}
 Cflags: -I\${includedir}
 EOF
 	fi
+
+	if [[ $FDO_DISTRIBUTION_VERSION == 'trixie' ]] ; then
+		gem install fpm
+	fi
 }

 cbuild_cleanup_pkgs() {
diff --git a/gitlab-ci.yml b/gitlab-ci.yml
index 3f80cb8..6cc2026 100644
--- a/gitlab-ci.yml
+++ b/gitlab-ci.yml
@@ -70,7 +70,7 @@  include:
 .libcamera-ci.debian:13:
   variables:
     FDO_DISTRIBUTION_VERSION: 'trixie'
-    FDO_DISTRIBUTION_TAG: '2026-01-23.0'
+    FDO_DISTRIBUTION_TAG: '2026-01-29.0'

 .container-debian:
   extends: