From b53d7f0c930f029d6b17be92dfa408b74615c1a5 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Mon, 5 Dec 2022 08:56:43 +0100 Subject: [PATCH 1/1] installer: Dump the device in use retry count to 96. Fixes: * gnu/installer/parted.scm (with-delay-device-in-use): Bump it. --- gnu/installer/parted.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/installer/parted.scm b/gnu/installer/parted.scm index 82375d29e3..518b40a7ea 100644 --- a/gnu/installer/parted.scm +++ b/gnu/installer/parted.scm @@ -348,7 +348,7 @@ (define (with-delay-device-in-use? file-name) fail. See rereadpt function in wipefs.c of util-linux for an explanation." ;; Kernel always return EINVAL for BLKRRPART on loopdevices. (and (not (string-match "/dev/loop*" file-name)) - (let loop ((try 16)) + (let loop ((try 96)) (usleep 250000) (let ((in-use? (device-in-use? file-name))) (if (and in-use? (> try 0)) -- 2.38.1