All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH] [2.02] 10_linux: Fix grouping of tests for GRUB_DEVICE
Date: Sun, 6 Mar 2016 08:52:01 +0300	[thread overview]
Message-ID: <56DBC581.3000304@gmail.com> (raw)
In-Reply-To: <1457217048-30656-1-git-send-email-floppym@gentoo.org>

06.03.2016 01:30, Mike Gilbert пишет:
> Commit 7290bb562 causes GRUB_DISABLE_LINUX_UUID to be ignored due to
> mixing of || and && operators. Add some parens to help with that.

Applied. Thanks!

> ---
>  util/grub.d/10_linux.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
> index 5a78513..de9044c 100644
> --- a/util/grub.d/10_linux.in
> +++ b/util/grub.d/10_linux.in
> @@ -47,7 +47,7 @@ esac
>  # and mounting btrfs requires user space scanning, so force UUID in this case.
>  if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
>      || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
> -    || test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm; then
> +    || ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then
>    LINUX_ROOT_DEVICE=${GRUB_DEVICE}
>  else
>    LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
> 



      reply	other threads:[~2016-03-06  5:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-05 22:30 [PATCH] [2.02] 10_linux: Fix grouping of tests for GRUB_DEVICE Mike Gilbert
2016-03-06  5:52 ` Andrei Borzenkov [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=56DBC581.3000304@gmail.com \
    --to=arvidjaar@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.