mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: Add support for aarch64's compiled kernel.
* gnu/packages/linux.scm (linux-libre)[arguments]: Add to the regex to find and install the aarch64-linux kernel. * gnu/system.scm (system-linux-image-file-name): Add entry for aarch64.
This commit is contained in:
parent
826adfdb37
commit
fd900d68a5
2 changed files with 2 additions and 1 deletions
|
@ -340,7 +340,7 @@ (define* (make-linux-libre version hash supported-systems
|
|||
(kmod (assoc-ref (or native-inputs inputs) "kmod")))
|
||||
;; Install kernel image, kernel configuration and link map.
|
||||
(for-each (lambda (file) (install-file file out))
|
||||
(find-files "." "^(\\.config|bzImage|zImage|vmlinuz|System\\.map)$"))
|
||||
(find-files "." "^(\\.config|bzImage|zImage|Image|vmlinuz|System\\.map)$"))
|
||||
;; Install device tree files
|
||||
(for-each (lambda (file) (install-file file dtbdir))
|
||||
(find-files "." "\\.dtb$"))
|
||||
|
|
|
@ -392,6 +392,7 @@ (define* (system-linux-image-file-name #:optional (system (%current-system)))
|
|||
(cond
|
||||
((string-prefix? "arm" (%current-system)) "zImage")
|
||||
((string-prefix? "mips" (%current-system)) "vmlinuz")
|
||||
((string-prefix? "aarch64" (%current-system)) "Image")
|
||||
(else "bzImage")))
|
||||
|
||||
(define (operating-system-kernel-file os)
|
||||
|
|
Loading…
Reference in a new issue