gnu: linux-libre-headers: Update to 5.15.49.

* gnu/packages/linux.scm (linux-libre-headers-5.10.35): Replace with ...
(linux-libre-headers-5.15.49): This new variable.
(linux-libre-headers): Adjust accordingly.
* gnu/packages/commencement.scm (linux-libre-headers-boot0)[arguments]: Add
phase to lower toolchain requirements.
This commit is contained in:
Marius Bakke 2022-06-25 20:59:01 +02:00
parent e15e7b226c
commit 97fb977eb8
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
2 changed files with 17 additions and 6 deletions

View file

@ -6,7 +6,7 @@
;;; Copyright © 2017, 2018, 2019, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2019, 2020, 2021, 2022 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2019-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020, 2022 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@ -2486,7 +2486,18 @@ (define/system-dependent linux-libre-headers-boot0
(arguments
`(#:guile ,%bootstrap-guile
#:implicit-inputs? #f
,@(package-arguments linux-libre-headers)))
,@(substitute-keyword-arguments (package-arguments linux-libre-headers)
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'lower-version-requirements
(lambda _
;; Pacify version checks so it works with the bootstrap
;; toolchain, since we are not building the full kernel.
(substitute* "scripts/min-tool-version.sh"
(("echo 5\\.1\\.0") ;GCC
"echo 4.9.4")
(("echo 2\\.23\\.0") ;binutils
"echo 2.20.1")))))))))
(native-inputs
`(("perl" ,perl-boot0)

View file

@ -639,11 +639,11 @@ (define-public linux-libre-headers-4.9
;; The following package is used in the early bootstrap, and thus must be kept
;; stable and with minimal build requirements.
(define-public linux-libre-headers-5.10.35
(make-linux-libre-headers "5.10.35" "gnu"
"0q2rnchad55d49f3rajrkazz0fcjv1irwrdb1hwjnl01fzm2gjk3"))
(define-public linux-libre-headers-5.15.49
(make-linux-libre-headers "5.15.49" "gnu"
"13zqdcm4664vh7g57sxbfrlpsxm7zrma72mxdfdz7d9yndy2gfv8"))
(define-public linux-libre-headers linux-libre-headers-5.10.35)
(define-public linux-libre-headers linux-libre-headers-5.15.49)
;;;