unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 4e5d41917da48dd8a83cae24168da8b7cc9137bf 930 bytes (raw)
name: packages/patches/hurd-rumpdisk-no-hd.patch 	 # note: path name is non-authoritative(*)

 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/f40ff84260b5a98bea949013415a1c92c127a43e/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;
 
-#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)

debug log:

solving 4e5d41917da48dd8a83cae24168da8b7cc9137bf ...
found 4e5d41917da48dd8a83cae24168da8b7cc9137bf in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).