From: Radu Moisan <radu.moisan@intel.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: Alexandru Damian <alexandru.damian@intel.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2] initrd: add recovery feature
Date: Wed, 14 Nov 2012 21:41:17 +0200 [thread overview]
Message-ID: <50A3F3DD.1060900@intel.com> (raw)
In-Reply-To: <CAP9ODKoavTz3NHir+XCx9GKCZg5qQicqzTxdaQxPr0fk-9Qbfg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
On 11/14/2012 03:30 AM, Otavio Salvador wrote:
>
>
> On Tue, Nov 13, 2012 at 7:12 PM, Radu Moisan <radu.moisan@intel.com
> <mailto: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
> <mailto:radu.moisan@intel.com>>
> Signed-off-by: Alexandru Damian <alexandru.damian@intel.com
> <mailto: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.
This is more reasonable then just removing the timeout.
Radu
[-- Attachment #2: Type: text/html, Size: 2664 bytes --]
prev parent reply other threads:[~2012-11-14 19:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-13 21:12 [PATCH v2] initrd: add recovery feature Radu Moisan
2012-11-13 23:07 ` Saul Wold
2012-11-14 19:39 ` Radu Moisan
2012-11-15 10:19 ` Burton, Ross
2012-11-15 14:42 ` Otavio Salvador
2012-11-15 16:57 ` Radu Moisan
2012-11-14 1:30 ` Otavio Salvador
2012-11-14 19:41 ` Radu Moisan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50A3F3DD.1060900@intel.com \
--to=radu.moisan@intel.com \
--cc=alexandru.damian@intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=otavio@ossystems.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox