mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-12-23 23:34:52 +01:00
nongnu: corrupt-linux: Allow custom configs.
This allows access to the "configs" keyword argument from the 'corrupt-linux' procedure. This simplifies creation of kernels with custom modules. * nongnu/packages/linux.scm (corrupt-linux): Add 'configs' argument. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
110f914f81
commit
b8f0231f35
1 changed files with 3 additions and 2 deletions
|
@ -47,7 +47,7 @@
|
||||||
"/linux/kernel/v" (version-major version) ".x"
|
"/linux/kernel/v" (version-major version) ".x"
|
||||||
"/linux-" version ".tar.xz"))
|
"/linux-" version ".tar.xz"))
|
||||||
|
|
||||||
(define* (corrupt-linux freedo #:key (name "linux"))
|
(define* (corrupt-linux freedo #:key (name "linux") (configs '()))
|
||||||
|
|
||||||
;; TODO: This very directly depends on guix internals.
|
;; TODO: This very directly depends on guix internals.
|
||||||
;; Throw it all out when we manage kernel hashes.
|
;; Throw it all out when we manage kernel hashes.
|
||||||
|
@ -78,7 +78,8 @@
|
||||||
#:source (origin
|
#:source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri url)
|
(uri url)
|
||||||
(hash hash))))
|
(hash hash))
|
||||||
|
#:configs configs))
|
||||||
(version version)
|
(version version)
|
||||||
(home-page "https://www.kernel.org/")
|
(home-page "https://www.kernel.org/")
|
||||||
(synopsis "Linux kernel with nonfree binary blobs included")
|
(synopsis "Linux kernel with nonfree binary blobs included")
|
||||||
|
|
Loading…
Reference in a new issue