From cf2eb655d9f1a2b8c0e7ccc46ee05cdf371d2bba Mon Sep 17 00:00:00 2001 From: Diederik de Haas Date: Mon, 14 Nov 2022 17:52:51 +0100 Subject: [PATCH] Simplify and fix 'build yamls' job To build the yaml files, we only need python3 and make. All the other/old packages that got installed are needed for building actual images, so get rid of them. This should also significantly speed up the job. While checking the 'artifacts' I noticed that git operations didn't produce the output as expected, both in top comment as at the end where build information is written to /etc/raspi-image-id. That was caused by git not working as it wasn't installed. --- debian/salsa-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml index 0c2b324..43bf300 100644 --- a/debian/salsa-ci.yml +++ b/debian/salsa-ci.yml @@ -34,7 +34,7 @@ build yamls: dependencies: [] script: - apt-get update && apt-get upgrade -y - - eatmydata apt-get install -y vmdb2 dosfstools qemu-utils qemu-user-static debootstrap binfmt-support time kpartx bmap-tools python3 fakemachine make + - apt-get install -y python3 make git - make yaml - mkdir build - cp raspi*.yaml build/