From 92315d6eaac88ebbf003a43a041e009e580bac5a Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 22 Sep 2023 17:06:33 +0100 Subject: [PATCH] Install git, add to the README We use git in the makefile to create the container revision label. This did not have any affect outside the local containers, since the official ones use the CI_COMMIT_TAG variable from the CI. Fixes: 5ec09f5 ("gitlab-ci: install devtools without its dependencies") Signed-off-by: Emil Velikov --- .gitlab-ci.yml | 2 +- README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6cdee2b..678414d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -62,7 +62,7 @@ get_version: matrix: - GROUP: [base, base-devel] before_script: - - pacman -Syu --noconfirm make fakechroot fakeroot + - pacman -Syu --noconfirm git make fakechroot fakeroot - pacman -Sdd --noconfirm devtools script: - make $PWD/output/Dockerfile.$GROUP diff --git a/README.md b/README.md index adcdcb7..07326df 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,8 @@ image for Arch Linux. Install the following Arch Linux packages: * make -* devtools +* devtools (for the pacman.conf files) +* git (to fetch the commit/revision number) * podman * fakechroot * fakeroot