[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix grub-install efibootmgr presence test with --removable
From: |
Andrey Borzenkov |
Subject: |
Re: [PATCH] fix grub-install efibootmgr presence test with --removable |
Date: |
Sat, 11 May 2013 11:54:49 +0400 |
В Sat, 11 May 2013 08:49:00 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:
> On 11.05.2013 06:43, Andrey Borzenkov wrote:
>
> > В Fri, 10 May 2013 16:57:38 +0200
> > Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:
> >
> >> On 09.05.2013 12:44, Leif Lindholm wrote:
> >>
> >>> When executed for an EFI target, grub-install checks for the path of
> >>> efibootmgr - however, this utility is not required (or used) when
> >>> installing to a removable media (with --removable).
> >>>
> >>
> >> This patch would simply ignore the problem. I comitted another fix which
> >> is cleaner.
> >>
> >
> > Note that "which command" already prints error message when command was
> > not found, so additional error output is strictly speaking redundant.
> >
>
> It doesn't.
> address@hidden:08:48:40:~$ which ttt
> address@hidden:08:48:41:~$
>
This is probably system dependent
address@hidden:~> which xxx
which: no xxx in
(/home/bor/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games)
I guess in this case it is better to redirect stderr to /dev/null
signature.asc
Description: PGP signature