mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
system: Rename operating-system-kernel-arguments to operating-system-user-kernel-arguments.
* gnu/system.scm (operating-system-kernel-arguments): Rename to ... (operating-system-user-kernel-arguments): ... this. (<operating-system>): Adapt accordingly. (operating-system-bootcfg): Adapt accordingly. (operating-system-parameters-file): Adapt accordingly. * gnu/system/vm.scm (system-qemu-image/shared-store-script): Adapt accordingly.
This commit is contained in:
parent
10b91ccaaa
commit
af98d25a12
2 changed files with 5 additions and 5 deletions
|
@ -73,7 +73,7 @@ (define-module (gnu system)
|
|||
operating-system-hosts-file
|
||||
operating-system-kernel
|
||||
operating-system-kernel-file
|
||||
operating-system-kernel-arguments
|
||||
operating-system-user-kernel-arguments
|
||||
operating-system-initrd
|
||||
operating-system-users
|
||||
operating-system-groups
|
||||
|
@ -129,7 +129,7 @@ (define-record-type* <operating-system> operating-system
|
|||
operating-system?
|
||||
(kernel operating-system-kernel ; package
|
||||
(default linux-libre))
|
||||
(kernel-arguments operating-system-kernel-arguments
|
||||
(kernel-arguments operating-system-user-kernel-arguments
|
||||
(default '())) ; list of gexps/strings
|
||||
(bootloader operating-system-bootloader) ; <grub-configuration>
|
||||
|
||||
|
@ -756,7 +756,7 @@ (define* (operating-system-bootcfg os #:optional (old-entries '()))
|
|||
#~(string-append "--system=" #$system)
|
||||
#~(string-append "--load=" #$system
|
||||
"/boot")
|
||||
(operating-system-kernel-arguments os)))
|
||||
(operating-system-user-kernel-arguments os)))
|
||||
(initrd initrd)))))
|
||||
(grub-configuration-file (operating-system-bootloader os) entries
|
||||
#:old-entries old-entries)))
|
||||
|
@ -784,7 +784,7 @@ (define (operating-system-parameters-file os)
|
|||
(root-device #$(file-system-device root))
|
||||
(kernel #$(operating-system-kernel-file os))
|
||||
(kernel-arguments
|
||||
#$(operating-system-kernel-arguments os))
|
||||
#$(operating-system-user-kernel-arguments os))
|
||||
(initrd #$initrd)
|
||||
(store
|
||||
(device #$(fs->boot-device store))
|
||||
|
|
|
@ -494,7 +494,7 @@ (define kernel-arguments
|
|||
(string-append "--system=" #$os-drv)
|
||||
(string-append "--load=" #$os-drv "/boot")
|
||||
#$@(if graphic? #~() #~("console=ttyS0"))
|
||||
#+@(operating-system-kernel-arguments os)))
|
||||
#+@(operating-system-user-kernel-arguments os)))
|
||||
|
||||
(define qemu-exec
|
||||
#~(list (string-append #$qemu "/bin/" #$(qemu-command (%current-system)))
|
||||
|
|
Loading…
Reference in a new issue