From 28f9eaee93e5b0ae37aec6db80865de2e01e6419 Mon Sep 17 00:00:00 2001 From: Peter Wagner Date: Thu, 11 Jul 2013 10:02:06 +0000 Subject: [PATCH] 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 --- block.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.25.1