mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
system: Set kernel name for riscv64-linux.
* gnu/system.scm (system-linux-image-file-name): Add option for riscv64.
This commit is contained in:
parent
027ce78933
commit
34ba6e0616
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
|
;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
|
||||||
;;; Copyright © 2020, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2020, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <jannek@gnu.org>
|
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <jannek@gnu.org>
|
||||||
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2020, 2022 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
||||||
;;; Copyright © 2021 raid5atemyhomework <raid5atemyhomework@protonmail.com>
|
;;; Copyright © 2021 raid5atemyhomework <raid5atemyhomework@protonmail.com>
|
||||||
;;;
|
;;;
|
||||||
|
@ -658,6 +658,7 @@ (define* (system-linux-image-file-name #:optional
|
||||||
((string-prefix? "arm" target) "zImage")
|
((string-prefix? "arm" target) "zImage")
|
||||||
((string-prefix? "mips" target) "vmlinuz")
|
((string-prefix? "mips" target) "vmlinuz")
|
||||||
((string-prefix? "aarch64" target) "Image")
|
((string-prefix? "aarch64" target) "Image")
|
||||||
|
((string-prefix? "riscv64" target) "Image")
|
||||||
(else "bzImage")))
|
(else "bzImage")))
|
||||||
|
|
||||||
(define (operating-system-kernel-file os)
|
(define (operating-system-kernel-file os)
|
||||||
|
|
Loading…
Reference in a new issue