From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WzrFT-0004Pb-4G for mharc-grub-devel@gnu.org; Wed, 25 Jun 2014 13:44:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzrFL-0004PG-Nj for grub-devel@gnu.org; Wed, 25 Jun 2014 13:44:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzrFF-0006UH-Lv for grub-devel@gnu.org; Wed, 25 Jun 2014 13:44:35 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.228]:39606 helo=cdptpa-oedge-vip.email.rr.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzrFF-0006U2-HK for grub-devel@gnu.org; Wed, 25 Jun 2014 13:44:29 -0400 Received: from [67.78.168.186] ([67.78.168.186:63294] helo=[10.1.1.200]) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 5F/69-06702-C7A0BA35; Wed, 25 Jun 2014 17:44:28 +0000 Message-ID: <53AB0A7C.2090800@ubuntu.com> Date: Wed, 25 Jun 2014 13:44:28 -0400 From: Phillip Susi User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Andrey Borzenkov , The development of GNU GRUB Subject: Re: grub-install hidden options weirdness References: <53AAD927.1000806@ubuntu.com> <20140625213335.3e683422@opensuse.site> In-Reply-To: <20140625213335.3e683422@opensuse.site> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-detected-operating-system: by eggs.gnu.org: BaiduSpider X-Received-From: 107.14.166.228 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: Wed, 25 Jun 2014 17:44:41 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/25/2014 1:33 PM, Andrey Borzenkov wrote: > This could be considered as endorsement to continue to use it ... > No, saying "dont' use this because it is depreciated" is exactly the opposite endorsing its continued use. >> 2) It seems that --root-directory has been overloaded to specify >> the efi system directory. This seems like it was the wrong thing >> to do and again, is totally undocumented. > > > We already have --efi-directory. Why would you want to endorse > this archaic usage? I don't: I'm pointing out that this usage seems like it was an undocumented mistake and it should be removed. >> 3) It appears that --grub-setup used to allow you to specify an >> alternate program to run instead of grub-setup. Now it seems to >> check if its argument is "setup" and if so, has the same affect >> as - --no-bootsector, and otherwise has no effect. This seems >> completely wrong. > > > This covers two common use cases known to me a) using it from > within build directory with --grub=setup=./grub-setup and b) using > it to disable actual installation with --grub-setup=/bin/true. > Current code is compatible with them. No, it is not. The current code ignores all values of --grub-setup other than --grub-setup=setup. >> 4) The similar arguments --grub-mkrelpath, --grub-probe, - >> --grub-editenv, and --font are accepted and completely ignored. >> If the option no longer works, it should be removed rather than >> silently ignored. At least that way you don't have people using >> it and wondering why it isn't working. > > > Again - common use case is using just built grub without installing > it. Do you have example of other non-trivial use cases? Again, they are now completely ignored and have zero effect. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTqwp8AAoJEI5FoCIzSKrwhYsH/00j0500OF7ItHiwtFlLrQVz qyKw+fbjEr3YpesLza9x9ov2T8Peh6Z1sQVFc6RqZwl5KtfF7Tf4lWJ2ktmpzW7q qQMe/5njOd0Z0p68WOYPjz5kQU6Bsn6KqGgkSadDwISo+pLfeRazmGPmGKZTJ60B PCDK4ksT8DU3rbn5446mqpAJuWOGTn+R5ijdkCxYVJG6aKild7vc1aEXOW7gkzFF 8R5xREB+RE//LY5eEtms2++xXej107hkS1Jv/bIaNBGuqrFQGjfjOPxmo0Ag9tP8 AM6pGZyxniGJgWg8S7kL6mGi13jK8j/JhQejpEp5DXEJf2osHUFP0lK0qkogjFM= =9o/P -----END PGP SIGNATURE-----