maint: Require "emacs-no-x" instead of "emacs" on armhf-linux.
authorLudovic Courtès <ludo@gnu.org>
Tue, 27 Apr 2021 20:22:15 +0000 (22:22 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 27 Apr 2021 20:22:15 +0000 (22:22 +0200)
* etc/release-manifest.scm (%base-packages/armhf): New variable.
(%base-manifest): Use it.

etc/release-manifest.scm

index ffc3b16..4375c9b 100644 (file)
@@ -49,6 +49,14 @@ TARGET."
        '("bootstrap-tarballs" "gcc-toolchain" "nss-certs"
          "openssh" "emacs" "vim" "python" "guile" "guix")))
 
+(define %base-packages/armhf
+  ;; XXX: Relax requirements for armhf-linux for lack of enough build power.
+  (map (lambda (package)
+         (if (string=? (package-name package) "emacs")
+             (specification->package "emacs-no-x")
+             package))
+       %base-packages))
+
 (define %base-packages/hurd
   ;; XXX: For now we are less demanding of "i586-gnu".
   (map specification->package
@@ -102,6 +110,10 @@ TARGET."
                  (map (cut package->manifest-entry* <> system)
                       (cond ((string=? system "i586-gnu")
                              %base-packages/hurd)
+                            ((string=? system "armhf-linux")
+                             ;; FIXME: Drop special case when ci.guix.gnu.org
+                             ;; has more ARMv7 build power.
+                             %base-packages/armhf)
                             ((string=? system "powerpc64le-linux")
                              ;; FIXME: Drop 'bootstrap-tarballs' until
                              ;; <https://bugs.gnu.org/48055> is fixed.