[OE-core] [PATCH v2] initrd: add recovery feature
Radu Moisan
radu.moisan at intel.com
Wed Nov 14 19:41:17 UTC 2012
On 11/14/2012 03:30 AM, Otavio Salvador wrote:
>
>
> On Tue, Nov 13, 2012 at 7:12 PM, Radu Moisan <radu.moisan at intel.com
> <mailto:radu.moisan at 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 at intel.com
> <mailto:radu.moisan at intel.com>>
> Signed-off-by: Alexandru Damian <alexandru.damian at intel.com
> <mailto:alexandru.damian at 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.
This is more reasonable then just removing the timeout.
Radu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20121114/b174db9e/attachment-0002.html>
More information about the Openembedded-core
mailing list