On Tue, Nov 13, 2012 at 7:12 PM, Radu
Moisan
<radu.moisan@intel.com>
wrote:
Allows you to use as root a partition instead of the
rootfs.img
for recovering an old install, and fails safe when no rootfs
is
found, dropping the user to a shell if something goes wrong.
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Alexandru Damian <alexandru.damian@intel.com>
---
meta/recipes-core/initrdscripts/files/init-live.sh | 44
+++++++++++++++++++-
1 file changed, 42 insertions(+), 2 deletions(-)
diff --git
a/meta/recipes-core/initrdscripts/files/init-live.sh
b/meta/recipes-core/initrdscripts/files/init-live.sh
index 5682fd1..81686b9 100644
--- a/meta/recipes-core/initrdscripts/files/init-live.sh
+++ b/meta/recipes-core/initrdscripts/files/init-live.sh
@@ -68,13 +68,49 @@ fatal() {
early_setup
+# wait for the udevd to settle
+echo "Waiting for udev to settle..."
+udevadm settle --timeout=3
I think if we take a timeout it needs to be about 10s or
20s. I have some slow machines that take way more time then
3s.