From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UaX23-0005qk-KQ for mharc-grub-devel@gnu.org; Thu, 09 May 2013 16:01:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaX1v-0005nB-6W for grub-devel@gnu.org; Thu, 09 May 2013 16:01:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UaX1t-0008WN-6k for grub-devel@gnu.org; Thu, 09 May 2013 16:01:31 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:45445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaX1t-0008WC-0D for grub-devel@gnu.org; Thu, 09 May 2013 16:01:29 -0400 Received: by mail-lb0-f181.google.com with SMTP id w10so3430275lbi.26 for ; Thu, 09 May 2013 13:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=4BTX1wyW4IMXcBtRCxezPWxX3xfk7dkqc6o5Tb51VQY=; b=wlL15J2j1p6jFFX+kmt570ccQubnjiffQ5+jDpKyBZnPSm1ZEy6jRV+UlqGTg1yhXW lN2enQq059x96kTbIKjsk5dnHdOgJ1RNvSxAPq8oAvQZvTmuP71UMSp6yKRbaYqyGFVW xyWY0QrYZ0klsGjI65TGKbq1ehRjij8wHjn7+Fc9PpWPj32NSnvoVtnhbQuZZmqKyh1a TnYVWJ909oEOhAZndtHPsNOsya+X5GypqDb+hjOkouCQSmPfYV4kWb4mfwgi1CKAfjMI 6YRlkU1KSn80HOdzLJ0Vg7YZGk04KL+zoW47zKadqRUdL9/KHE7N/fzPce+cXFqiDE7t +hJA== X-Received: by 10.152.120.4 with SMTP id ky4mr6207332lab.5.1368129687499; Thu, 09 May 2013 13:01:27 -0700 (PDT) Received: from opensuse.site ([94.29.72.160]) by mx.google.com with ESMTPSA id mp1sm1664199lbb.5.2013.05.09.13.01.26 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 09 May 2013 13:01:26 -0700 (PDT) Date: Fri, 10 May 2013 00:01:25 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: [PATCH] fix grub-install efibootmgr presence test with --removable Message-ID: <20130510000125.46e6b43e@opensuse.site> In-Reply-To: <20130509104434.GG28516@rocoto.smurfnet.nu> References: <20130509104434.GG28516@rocoto.smurfnet.nu> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.14; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.217.181 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 20:01:36 -0000 В Thu, 9 May 2013 10:44:35 +0000 Leif Lindholm пишет: > 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). > > However, since grub-install does "set -e", the absence of efibootmgr > on the system causes the install script to exit with an error code, > without any message, after a successful installation. > Yes, was hit by this as well. Makes sense really. > (Found because I'm doing EFI builds on my chromebook.) > > Trivial patch attached. > > / > Leif