guix-commits
[Top][All Lists]
Advanced

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

18/21: gnu: bootstrap: linux-libre-headers-bootstrap: Support ARM.


From: guix-commits
Subject: 18/21: gnu: bootstrap: linux-libre-headers-bootstrap: Support ARM.
Date: Wed, 19 Oct 2022 01:40:17 -0400 (EDT)

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

commit a524b98c67531f37895894fbd4afa86d8755eb23
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 6f5b21b8f0..ec4f89e61a 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -661,12 +661,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]