Browse Source
system: vm: Use operating-system-kernel-arguments.
* gnu/system/vm.scm (system-qemu-image/shared-store-script):
Use operating-system-kernel-arguments.
version-0.13.0
Danny Milosavljevic
5 years ago
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with
2 additions and
5 deletions
-
gnu/system/vm.scm
|
|
@ -490,11 +490,8 @@ it is mostly useful when FULL-BOOT? is true." |
|
|
|
#:full-boot? full-boot? |
|
|
|
#:disk-image-size disk-image-size))) |
|
|
|
(define kernel-arguments |
|
|
|
#~(list "--root=/dev/vda1" |
|
|
|
(string-append "--system=" #$os-drv) |
|
|
|
(string-append "--load=" #$os-drv "/boot") |
|
|
|
#$@(if graphic? #~() #~("console=ttyS0")) |
|
|
|
#+@(operating-system-user-kernel-arguments os))) |
|
|
|
#~(list #$@(if graphic? #~() #~("console=ttyS0")) |
|
|
|
#+@(operating-system-kernel-arguments os os-drv "/dev/vda1"))) |
|
|
|
|
|
|
|
(define qemu-exec |
|
|
|
#~(list (string-append #$qemu "/bin/" #$(qemu-command (%current-system))) |
|
|
|