home: hub: mkinitfs

Download patch

ref: b7b285ee9e05102f770d41643e5534bade289a58
parent: e07a30142f4ccd0a987ed8cf24fbd8d8f66620f9
author: Timo Teräs <timo.teras@iki.fi>
date: Mon Mar 21 06:31:18 CDT 2016

nlplug-findfs: increase the /sys recursion limit

certain platform and usb devices expose things deep down the tree,
increase the recursion limit

--- a/nlplug-findfs.c
+++ b/nlplug-findfs.c
@@ -805,9 +805,9 @@
 	};
 	char path[PATH_MAX] = "/sys/bus";
 
-	recurse_dir(path, &opts, 8);
+	recurse_dir(path, &opts, 64);
 	strcpy(path, "/sys/devices");
-	recurse_dir(path, &opts, 8);
+	recurse_dir(path, &opts, 64);
 	write(fd, &ok, sizeof(ok));
 	return NULL;
 }