guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

22/22: gnu: bootstrap: linux-libre-headers-bootstrap: Support ARM.


From: guix-commits
Subject: 22/22: gnu: bootstrap: linux-libre-headers-bootstrap: Support ARM.
Date: Sun, 16 Oct 2022 05:26:48 -0400 (EDT)

janneke pushed a commit to branch wip-aarch64-bootstrap
in repository guix.

commit 1a2a9ac9ff88e30357fb24f1992390b32bfc2c11
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Feb 20 23:17:13 2022 +0100

    gnu: bootstrap: linux-libre-headers-bootstrap: Support ARM.
    
    * gnu/packages/bootstrap.scm (%bootstrap-linux-libre-headers): Add tarball 
for
    armhf-linux.
---
 gnu/packages/bootstrap.scm | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index 11cc8fbef9..491e4ca9ee 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -659,12 +659,23 @@ $out/bin/guile --version~%"
      (origin
        (method url-fetch)
        (uri (map (cute string-append <>
-                       "/i686-linux/20190815/"
-                       
"linux-libre-headers-stripped-4.14.67-i686-linux.tar.xz")
+                       (match system
+                         ((or "armhf-linux" "aarch64-linux")
+                          (string-append
+                           "/armhf-linux/20201219/"
+                           
"linux-libre-headers-stripped-5.4.20-armhf-linux.tar.xz"))
+                         ((or "i686-linux" "x86_64-linux")
+                          (string-append
+                           "/i686-linux/20190815/"
+                           
"linux-libre-headers-stripped-4.14.67-i686-linux.tar.xz"))))
                  %bootstrap-base-urls))
        (sha256
         (base32
-         "0sm2z9x4wk45bh6qfs94p0w1d6hsy6dqx9sw38qsqbvxwa1qzk8s"))))
+         (match system
+           ((or "armhf-linux" "aarch64-linux")
+            "0d010sp3n2q6cc3ppcgrxrdlgkgr3vlv3x76wz14gc3xfhnnm2x5")
+           ((or "i686-linux" "x86_64-linux")
+            "0sm2z9x4wk45bh6qfs94p0w1d6hsy6dqx9sw38qsqbvxwa1qzk8s"))))))
    #f                                   ; no program to test
    "Bootstrap linux-libre-headers"))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]