Advertisement
Guest User

Untitled

a guest
May 24th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 4.02 KB | None | 0 0
  1. diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
  2. index b645249649..018f98c2ab 100644
  3. --- a/gnu/packages/linux.scm
  4. +++ b/gnu/packages/linux.scm
  5. @@ -169,18 +169,18 @@ defconfig.  Return the appropriate make target if applicable, otherwise return
  6.           "mirror://gnu/linux-libre/" version "-gnu/linux-libre-"
  7.           version "-gnu.tar.xz")))
  8.  
  9. -(define-public linux-libre-headers
  10. +(define (make-linux-libre-headers version hash)
  11.    (package
  12.      (name "linux-libre-headers")
  13. -    (version "4.14.67")
  14. +    (version version)
  15.      (source (origin
  16.               (method url-fetch)
  17.               (uri (linux-libre-urls version))
  18. -             (sha256
  19. -              (base32
  20. -               "050zvdxjy6sc64q75pr1gxsmh49chwav2pwxz8xlif39bvahnrpg"))))
  21. +             (sha256 (base32 hash))))
  22.      (build-system gnu-build-system)
  23. -    (native-inputs `(("perl" ,perl)))
  24. +    (native-inputs `(("perl" ,perl)
  25. +                     ("flex" ,flex)
  26. +                     ("bison" ,bison)))
  27.      (arguments
  28.       `(#:modules ((guix build gnu-build-system)
  29.                    (guix build utils)
  30. @@ -433,13 +433,17 @@ It has been modified to remove all non-free binary blobs.")
  31.    (list %boot-logo-patch
  32.          %linux-libre-arm-export-__sync_icache_dcache-patch))
  33.  
  34. -(define-public linux-libre
  35. +(define-public linux-libre-5.1
  36.    (make-linux-libre %linux-libre-version
  37.                      %linux-libre-hash
  38.                      '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux")
  39.                      #:patches %linux-libre-5.1-patches
  40.                      #:configuration-file kernel-config))
  41.  
  42. +(define-public linux-libre-headers-5.1
  43. +  (make-linux-libre-headers %linux-libre-version
  44. +                            %linux-libre-hash))
  45. +
  46.  (define %linux-libre-4.19-version "4.19.45")
  47.  (define %linux-libre-4.19-hash "1wiy8vzpzzml4k76nv3ycjx7ky55x7dqx3mgpjqbh73mj2gcr5bx")
  48.  
  49. @@ -454,6 +458,24 @@ It has been modified to remove all non-free binary blobs.")
  50.                      #:patches %linux-libre-4.19-patches
  51.                      #:configuration-file kernel-config))
  52.  
  53. +(define-public linux-libre-headers-4.19
  54. +  (make-linux-libre-headers %linux-libre-4.19-version
  55. +                            %linux-libre-4.19-hash))
  56. +
  57. +(define %linux-libre-4.15-version "4.15.18")
  58. +(define %linux-libre-4.15-hash "0f0s4drx888ydlwjcm9qcxqian4850yiv2vamyw9bbjf83frwxyw")
  59. +
  60. +(define-public linux-libre-4.15
  61. +  (make-linux-libre %linux-libre-4.15-version
  62. +                    %linux-libre-4.15-hash
  63. +                    '("x86_64-linux" "i686-linux" "armhf-linux")
  64. +                    #:configuration-file kernel-config))
  65. +
  66. +(define-public linux-libre-headers-4.15
  67. +  (make-linux-libre-headers %linux-libre-4.15-version
  68. +                            %linux-libre-4.15-hash))
  69. +
  70. +
  71.  (define %linux-libre-4.14-version "4.14.121")
  72.  (define %linux-libre-4.14-hash "1g7gyjmp056pasf9m34dqs8pa15my6hqasdd551jw8mgkbhsfnxg")
  73.  
  74. @@ -463,6 +485,10 @@ It has been modified to remove all non-free binary blobs.")
  75.                      '("x86_64-linux" "i686-linux" "armhf-linux")
  76.                      #:configuration-file kernel-config))
  77.  
  78. +(define-public linux-libre-headers-4.14
  79. +  (make-linux-libre-headers %linux-libre-4.14-version
  80. +                            %linux-libre-4.14-hash))
  81. +
  82.  (define-public linux-libre-4.9
  83.    (make-linux-libre "4.9.178"
  84.                      "1ridlkymf382qnkc6hi07pkghrrxfv2avx55snjnkfcpdccvsmrb"
  85. @@ -481,6 +507,14 @@ It has been modified to remove all non-free binary blobs.")
  86.                         ("CONFIG_DEVPTS_MULTIPLE_INSTANCES" . #t))
  87.                       %default-extra-linux-options)))
  88.  
  89. +(define-public linux-libre-headers-4.14.67
  90. +  (make-linux-libre-headers "4.14.67"
  91. +                            "050zvdxjy6sc64q75pr1gxsmh49chwav2pwxz8xlif39bvahnrpg"))
  92. +
  93. +(define-public linux-libre-headers linux-libre-headers-4.14.67)
  94. +(define-public linux-libre linux-libre-5.1)
  95. +
  96. +
  97.  (define-public linux-libre-arm-generic
  98.    (make-linux-libre %linux-libre-version
  99.                      %linux-libre-hash
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement