All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH] Fix root device detection for lvm2
Date: Thu, 01 Jul 2010 23:25:00 +0200	[thread overview]
Message-ID: <4C2D07AC.6020006@gmail.com> (raw)
In-Reply-To: <20100602190744.GA4058@rangda.stickybit.se>

[-- Attachment #1: Type: text/plain, Size: 783 bytes --]

On 06/02/2010 09:07 PM, sean finney wrote:
> Index: b/util/grub.d/10_linux.in
> ===================================================================
> --- a/util/grub.d/10_linux.in
> +++ b/util/grub.d/10_linux.in
> @@ -43,7 +43,8 @@
>  esac
>  
>  if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
> -    || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" ; then
> +    || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
> +    || [ "`grub-probe -t abstraction --device ${GRUB_DEVICE} | sed -e 's,.*\(lvm\).*,\1,'`" = "lvm"  ] ; then
>    LINUX_ROOT_DEVICE=${GRUB_DEVICE}
>  else
>    LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
>   
Applied with some chages. Thanks

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

  reply	other threads:[~2010-07-01 21:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-02 19:07 [PATCH] Fix root device detection for lvm2 sean finney
2010-07-01 21:25 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2010-07-01 23:32   ` Colin Watson
2010-07-01 23:44     ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-07-02 11:34       ` Colin Watson

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=4C2D07AC.6020006@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.