1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00
Files
guix/gnu/packages/patches/hurd-rumpdisk-no-hd.patch
Yelninei a6f6102e1b gnu: hurd: Update to 0.9.git20250801.
* gnu/packages/commencement.scm (hurd-headers-boot0): Update to
0.9.git20250801.
* gnu/packages/hurd.scm (hurd-headers): Same.
(hurd): Remove hurd-socket-activation.patch.
* gnu/packages/patches/hurd-socket-activation.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Deregister it.
* gnu/packages/patches/hurd-rumpdisk-no-hd.patch: Update patch.

Change-Id: I88f94a940c49a4d938e1e21e13df9815204d5d22
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-03 17:18:37 +01:00

27 lines
942 B
Diff

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)