all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 723d4bcac4eb2af734e2844dc7b5dfcf09787d7f 685 bytes (raw)
name: gnu/packages/patches/gnumach-support-noide.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
 
Upstream status: Taken from Debian/upsream.

    https://salsa.debian.org/hurd-team/gnumach/-/blob/master/debian/patches/90_noide.patch

This supports using `noide' on the gnumach command line, disabling
gnumach IDE support and thus forcing use of rumdisk.

---
 linux/dev/glue/block.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

--- a/linux/dev/glue/block.c
+++ b/linux/dev/glue/block.c
@@ -207,7 +207,10 @@ int
 blk_dev_init ()
 {
 #ifdef CONFIG_BLK_DEV_IDE
-  ide_init ();
+  extern char *kernel_cmdline;
+  if (strncmp(kernel_cmdline, "noide", 5) &&
+      !strstr(kernel_cmdline, " noide"))
+    ide_init ();
 #endif
 #ifdef CONFIG_BLK_DEV_FD
   floppy_init ();

debug log:

solving 723d4bcac4 ...
found 723d4bcac4 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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.