[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41839] [PATCH 2/2] ci: Build Guix System images.
From: |
Ludovic Courtès |
Subject: |
[bug#41839] [PATCH 2/2] ci: Build Guix System images. |
Date: |
Tue, 23 Jun 2020 23:48:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Mathieu Othacehe <m.othacehe@gmail.com> skribis:
> Build a list of Guix System images. For now, this list only contains the Hurd
> barebones Guix System image.
>
> * gnu/ci.scm (%guixsd-supported-systems): Remove "armhf-linux",
> (%u-boot-systems): remove unused variable,
> (%guix-system-images): new variable
> (qemu-jobs): rename to "image-jobs" and build the Guix Systems listed in the
> new "%guix-system-images" variable,
> (system-test-jobs): adapt accordingly,
> (hydra-jobs): ditto.
Cool.
> + (if (member system %guix-system-supported-systems)
> + `(,(->job 'usb-image
> + (build-image
> + (image
> + (inherit efi-disk-image)
> + (size (* 1500 MiB))
> + (operating-system installation-os))))
> + ,(->job 'iso9660-image
> + (build-image
> + (image
> + (inherit iso9660-image)
> + (operating-system installation-os))))
> + ,@(map (lambda (image)
> + (->job (image-name image) (build-image image)))
> + %guix-system-images))
> '()))
I think the effect is that we’ll also cross-build GNU/Hurd images from
i686-linux, right? It would be nice to avoid that and only cross-build
from x86_64.
Otherwise LGTM, thank you!
Ludo’.