Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Uap3T-0003MN-5f for mharc-grub-devel@gnu.org; Fri, 10 May 2013 11:16:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uap3O-0003LB-TV for grub-devel@gnu.org; Fri, 10 May 2013 11:16:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uap3L-0004so-VD for grub-devel@gnu.org; Fri, 10 May 2013 11:16:14 -0400 Received: from mail-ee0-f42.google.com ([74.125.83.42]:56816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uap3L-0004sj-Ox for grub-devel@gnu.org; Fri, 10 May 2013 11:16:11 -0400 Received: by mail-ee0-f42.google.com with SMTP id c13so2274345eek.1 for ; Fri, 10 May 2013 08:16:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent:x-gm-message-state; bh=TT9/pT/HIyFDhP3pIn1U8YCI3wYswVB6X+tbFQ+6G5U=; b=AfD9Oj5nH/7/m4b58nCOQ0VC/BVWxBMyhvT64fyT2xFIyqx3AOissxUZtRRWhIZBWy ZBI6onnfpkjTSePo9GQXbeMQstbOYjOjUR+kfU/Wnz51gVbOoZQzquEYe/mKjGb2VKDX zyJsOI1A9/rFO3/ad3oHfsg8sDUK7qHea4VHBBpuBtItpsD64jI2G6I4yWL8FX9tr+yB nzo5btabHP0HY5skZ/aLP3YikmNmGL16xTZR2QVszYxJZqsM7IBjPYfkLNrHJef8BL4E fVW+x/RyK9ZX50BrCtIHUpIQTvwqb8t6lcjzxfNaUjBIJsL2ITGPQNBnwmMrxsSv4ql5 WISg== X-Received: by 10.14.179.133 with SMTP id h5mr42507050eem.34.1368198970385; Fri, 10 May 2013 08:16:10 -0700 (PDT) Received: from rocoto.smurfnet.nu ([2001:4b98:dc0:41:216:3eff:fea7:75f3]) by mx.google.com with ESMTPSA id bj12sm4119650eeb.8.2013.05.10.08.16.08 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 10 May 2013 08:16:09 -0700 (PDT) Date: Fri, 10 May 2013 15:16:42 +0000 From: Leif Lindholm To: The development of GNU GRUB Subject: Re: [PATCH] fix grub-install efibootmgr presence test with --removable Message-ID: <20130510151642.GK28516@rocoto.smurfnet.nu> References: <20130509104434.GG28516@rocoto.smurfnet.nu> <518D0AE2.4010606@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <518D0AE2.4010606@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Gm-Message-State: ALoCoQmq2RBU3AFmpfTpCXLFfdG2EvBnEYydNkB880TuiAkSwhrwEzmrlJQJimE7GU2q7WKkLrFU X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.83.42 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: Fri, 10 May 2013 15:16:17 -0000 Fri, May 10, 2013 at 04:57:38PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko 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. It wouldn't ignore the problem, since the test following explicitly checked whether $efibootmgr is nonzero length. But I agree your fix is cleaner. / Leif