diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2014-07-14 18:05:10 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2014-07-14 18:05:10 +0200 |
| commit | 932e1f92404d917a91af28737d6631ec45b56875 (patch) | |
| tree | 229e08423a840fecbe86b61eee2155b54ae6a250 /gnu | |
| parent | 246a8106ffcc2d8d4b66355219f9dced2137544f (diff) | |
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.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/system/vm.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index ab3997bd5d4..db78c566832 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm | |||
| @@ -287,10 +287,12 @@ to USB sticks meant to be read-only." | |||
| 287 | (operating-system-file-systems os))) | 287 | (operating-system-file-systems os))) |
| 288 | 288 | ||
| 289 | (let ((os (operating-system (inherit os) | 289 | (let ((os (operating-system (inherit os) |
| 290 | ;; Since this is meant to be used on real hardware, don't set up | 290 | ;; Since this is meant to be used on real hardware, don't |
| 291 | ;; QEMU networking. | 291 | ;; install QEMU networking or anything like that, but make sure |
| 292 | ;; USB mass storage devices are available. | ||
| 292 | (initrd (cut base-initrd <> | 293 | (initrd (cut base-initrd <> |
| 293 | #:volatile-root? volatile?)) | 294 | #:volatile-root? #t |
| 295 | #:extra-modules '("usb-storage.ko"))) | ||
| 294 | 296 | ||
| 295 | ;; Force our own root file system. | 297 | ;; Force our own root file system. |
| 296 | (file-systems (cons (file-system | 298 | (file-systems (cons (file-system |
