home: hub: mkinitfs

Download patch

ref: 4e051c84d07fd56474730c8e9fe650caaeb22f67
parent: 98060c41185361a16ea2cad78dca996b85e4df63
author: Alex Sivchev <enn00th@gmail.com>
date: Thu Sep 2 05:30:48 CDT 2021

nlplug-findfs: start mdadm with --run

Using --run with incremental assembly ensures that the system will be able to
boot and won't drop to recovery shell when only the minimal number of devices
are present. [1]

[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/tree/ReadMe.c?h=mdadm-4.1#n600

--- a/nlplug-findfs.c
+++ b/nlplug-findfs.c
@@ -488,6 +488,7 @@
 	char *mdadm_argv[] = {
 		MDADM_PATH,
 		"--incremental",
+		"--run",
 		"--quiet",
 		devnode,
 		NULL