linux-boot: Remove verbose output for module loads.
* gnu/build/linux-boot.scm (boot-system): Leave 'current-module-debugging-port' unchanged. * gnu/build/linux-modules.scm (load-linux-module*): Update comment about 'mmap'.
This commit is contained in:
		
							parent
							
								
									be7be9e8dd
								
							
						
					
					
						commit
						fb74174958
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
;;; GNU Guix --- Functional package management for GNU
 | 
			
		||||
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
 | 
			
		||||
;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
 | 
			
		||||
;;;
 | 
			
		||||
;;; This file is part of GNU Guix.
 | 
			
		||||
;;;
 | 
			
		||||
| 
						 | 
				
			
			@ -381,7 +381,6 @@ to it are lost."
 | 
			
		|||
         (start-repl))
 | 
			
		||||
 | 
			
		||||
       (display "loading kernel modules...\n")
 | 
			
		||||
       (current-module-debugging-port (current-output-port))
 | 
			
		||||
       (for-each (cut load-linux-module* <>
 | 
			
		||||
                      #:lookup-module lookup-module)
 | 
			
		||||
                 (map lookup-module linux-modules))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -144,7 +144,7 @@ true, load its dependencies first (à la 'modprobe'.)  The actual files
 | 
			
		|||
containing modules depended on are obtained by calling LOOKUP-MODULE with the
 | 
			
		||||
module name."
 | 
			
		||||
  (define (slurp module)
 | 
			
		||||
    ;; TODO: Use 'mmap' to reduce memory usage.
 | 
			
		||||
    ;; TODO: Use 'finit_module' to reduce memory usage.
 | 
			
		||||
    (call-with-input-file file get-bytevector-all))
 | 
			
		||||
 | 
			
		||||
  (when recursive?
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue