[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 14/17] gnu: linux-libre: Use kmod.
From: |
David Craven |
Subject: |
[PATCH 14/17] gnu: linux-libre: Use kmod. |
Date: |
Fri, 9 Sep 2016 14:34:23 +0200 |
* gnu/packages/linux.scm (make-linux-libre): Use kmod.
---
gnu/packages/linux.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 37bdbf4..62870a4 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -291,7 +291,7 @@ for SYSTEM and optionally VARIANT, or #f if there is no
such configuration."
`(("perl" ,perl)
("bc" ,bc)
("openssl" ,openssl)
- ("module-init-tools" ,module-init-tools)
+ ("kmod" ,kmod)
,@(if configuration-file `(("kconfig" ,configuration-file)) '())))
(arguments
`(#:modules ((guix build gnu-build-system)
@@ -341,7 +341,7 @@ for SYSTEM and optionally VARIANT, or #f if there is no
such configuration."
(lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(moddir (string-append out "/lib/modules"))
- (mit (assoc-ref (or native-inputs inputs)
"module-init-tools")))
+ (kmod (assoc-ref (or native-inputs inputs) "kmod")))
(mkdir-p moddir)
(for-each (lambda (file)
(copy-file file
@@ -349,7 +349,7 @@ for SYSTEM and optionally VARIANT, or #f if there is no
such configuration."
(find-files "."
"^(bzImage|zImage|vmlinuz|System\\.map)$"))
(copy-file ".config" (string-append out "/config"))
(zero? (system* "make"
- (string-append "DEPMOD=" mit "/sbin/depmod")
+ (string-append "DEPMOD=" kmod "/bin/depmod")
(string-append "MODULE_DIR=" moddir)
(string-append "INSTALL_PATH=" out)
(string-append "INSTALL_MOD_PATH=" out)
--
2.9.0
- Re: [PATCH 13/17] gnu: make-linux-libre: Add zImage to output., (continued)
- [PATCH 17/17] gnu: Add linux-libre-beagle-bone-black., David Craven, 2016/09/09
- Re: [PATCH 17/17] gnu: Add linux-libre-beagle-bone-black., Ludovic Courtès, 2016/09/11
- [PATCH 15/17] gnu: make-linux-libre: Add supported-systems parameter., David Craven, 2016/09/09
- Re: [PATCH 15/17] gnu: make-linux-libre: Add supported-systems parameter., Ludovic Courtès, 2016/09/11
- [PATCH 16/17] gnu: Add linux-libre-multi-v7., David Craven, 2016/09/09
- Re: [PATCH 16/17] gnu: Add linux-libre-multi-v7., Vincent Legoll, 2016/09/09
- Re: [PATCH 16/17] gnu: Add linux-libre-multi-v7., Ludovic Courtès, 2016/09/11
- [PATCH 14/17] gnu: linux-libre: Use kmod.,
David Craven <=
- Re: [PATCH 14/17] gnu: linux-libre: Use kmod., Ludovic Courtès, 2016/09/11
Re: Linux kernel, Ludovic Courtès, 2016/09/09