guix-commits
[Top][All Lists]
Advanced

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

01/03: bootstrap: linux-libre-headers-bootstrap: Support ARM.


From: guix-commits
Subject: 01/03: bootstrap: linux-libre-headers-bootstrap: Support ARM.
Date: Sun, 21 Feb 2021 13:28:55 -0500 (EST)

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

commit 275ab2df1ad14209ba7367626dd04afa58b28d79
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Feb 20 23:17:13 2021 +0100

    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 9b1a286..b3cf205 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -527,12 +527,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]