[OE-core] [PATCH] initrd: add recovery feature

Otavio Salvador otavio at ossystems.com.br
Tue Nov 13 16:42:35 UTC 2012


On Mon, Nov 12, 2012 at 5:52 PM, Radu Moisan <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>
> Signed-off-by: Alexandru Damian <alexandru.damian at intel.com>
> +++ 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..."
> +sleep 3
>

Use udevadm with settle. So it use the minimal amount of time for it.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20121113/5a152e6c/attachment-0002.html>


More information about the Openembedded-core mailing list