From: Peter Wagner Date: Thu, 11 Jul 2013 10:02:06 +0000 (+0000) Subject: ubox fix extroot delay X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=28f9eaee93e5b0ae37aec6db80865de2e01e6419;p=oweals%2Fubox.git ubox fix extroot delay This patches fixes the extroot delay. It creates the devicefiles again when no device was found and updates the device list afterwards. Signed-off-by: Peter Wagner --- diff --git a/block.c b/block.c index 2108a8d..18c9299 100644 --- a/block.c +++ b/block.c @@ -712,6 +712,8 @@ static int mount_extroot(char *cfg) if (!pr && delay_root){ fprintf(stderr, "extroot: is not ready yet, retrying in %ui seconds\n", delay_root); sleep(delay_root); + mkblkdev(); + cache_load(0); pr = find_block_info(m->uuid, m->label, NULL); } if (pr) {