mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
vm: Make sure disk image initrds load 'usb-storage.ko'.
Reported by David Thompson <dthompson2@worcester.edu>. * gnu/system/vm.scm (system-disk-image): Add usb-storage.ko to the initrd.
This commit is contained in:
parent
246a8106ff
commit
932e1f9240
1 changed files with 5 additions and 3 deletions
|
@ -287,10 +287,12 @@ (define file-systems-to-keep
|
|||
(operating-system-file-systems os)))
|
||||
|
||||
(let ((os (operating-system (inherit os)
|
||||
;; Since this is meant to be used on real hardware, don't set up
|
||||
;; QEMU networking.
|
||||
;; Since this is meant to be used on real hardware, don't
|
||||
;; install QEMU networking or anything like that, but make sure
|
||||
;; USB mass storage devices are available.
|
||||
(initrd (cut base-initrd <>
|
||||
#:volatile-root? volatile?))
|
||||
#:volatile-root? #t
|
||||
#:extra-modules '("usb-storage.ko")))
|
||||
|
||||
;; Force our own root file system.
|
||||
(file-systems (cons (file-system
|
||||
|
|
Loading…
Reference in a new issue