~ruther/guix-local

ref: 64668f7c15fa639831209f25e313c99a1047de7b guix-local/gnu/packages/patches/hurd-rumpdisk-no-hd.patch -rw-r--r-- 942 bytes
64668f7c — Rutherther etc: release: Add spare space to the release VM image. a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
This avoids rumpdisk crash when booting without "noide".

Upstream status: Taken from Debian Salsa package git

    https://salsa.debian.org/hurd-team/hurd/-/blob/92e68a490628d8659987e3358a28f9020106e0ed/debian/patches/rumpdisk-no-hd

Index: hurd-debian/rumpdisk/block-rump.c
===================================================================
--- hurd-debian.orig/rumpdisk/block-rump.c
+++ hurd-debian/rumpdisk/block-rump.c
@@ -143,7 +143,6 @@ rumpdisk_device_init (void)
       device_t device;
 
 #ifdef _RUMP_SATA
-#if 0
       if (! device_open (device_master, D_READ, "hd0", &device)
        || ! device_open (device_master, D_READ, "hd1", &device)
        || ! device_open (device_master, D_READ, "hd3", &device)
@@ -154,7 +153,6 @@ rumpdisk_device_init (void)
 	  disabled = 1;
 	  return;
 	}
-#endif
 
       if (! device_open (device_master, D_READ, "sd0", &device)
        || ! device_open (device_master, D_READ, "sd1", &device)