aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/gnumach-support-noide.patch
blob: 723d4bcac4eb2af734e2844dc7b5dfcf09787d7f (about) (plain)
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 ();
/span>gnu: Add maven-parent-pom-34....* gnu/packages/maven-parent-pom.scm (maven-parent-pom-34): New variable. Julien Lepiller 2022-02-05gnu: Add plexus-parent-pom-8....* gnu/packages/maven-parent-pom.scm (plexus-parent-pom-8): New variable. Julien Lepiller 2022-02-05gnu: Add apache-commons-parent-pom-52....* gnu/packages/maven-parent-pom.scm (apache-commons-parent-pom-52): New variable. (make-apache-commons-parent-pom): Add optional tag-prefix input. Julien Lepiller 2022-02-05gnu: Add apache-parent-pom-23....* gnu/packages/maven-parent-pom.scm (apache-parent-pom-23): New variable. Julien Lepiller 2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès 2021-12-04gnu: maven-components-parent-pom-22: Remove references to %build-inputs....* gnu/packages/maven-parent-pom.scm (maven-components-parent-pom-22) [arguments]: Use a gexp to remove references to %build-inputs. Julien Lepiller 2021-12-04gnu: java-sonatype-oss-parent-pom-9: Remove references to %build-inputs....* gnu/packages/maven-parent-pom.scm (java-sonatype-oss-parent-pom-9) [arguments]: Use a gexp to remove references to %build-inputs. Julien Lepiller